Commit 374eddf1 authored by hujun's avatar hujun

route

parent 423d305c
...@@ -24,7 +24,7 @@ class MessageUntils { ...@@ -24,7 +24,7 @@ class MessageUntils {
* @param string $tempId * @param string $tempId
* @return SimpleXMLElement[] * @return SimpleXMLElement[]
*/ */
public function sendCCPSMS($to, $datas, $tempId = '79972') { public function sendCCPSMS($to, $datas, $tempId = '214759') {
import('CCPRestSDK', EXTEND_PATH, '.php'); import('CCPRestSDK', EXTEND_PATH, '.php');
$accountSid = '8a48b55153eae51101540e763d3b3888'; $accountSid = '8a48b55153eae51101540e763d3b3888';
$accountToken = '26b220de299d4a56a6f54dd5792a30e4'; $accountToken = '26b220de299d4a56a6f54dd5792a30e4';
...@@ -33,7 +33,6 @@ class MessageUntils { ...@@ -33,7 +33,6 @@ class MessageUntils {
$serverPort = '8883'; $serverPort = '8883';
$softVersion = '2013-12-26'; $softVersion = '2013-12-26';
// 初始化REST SDK // 初始化REST SDK
//global $accountSid, $accountToken, $appId, $serverIP, $serverPort, $softVersion; //global $accountSid, $accountToken, $appId, $serverIP, $serverPort, $softVersion;
$rest = new \REST($serverIP, $serverPort, $softVersion); $rest = new \REST($serverIP, $serverPort, $softVersion);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment