Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hujun
tl_estate
Commits
82d7442e
Commit
82d7442e
authored
Dec 07, 2017
by
hujun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
route
parent
4884055c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
MessageUntils.php
application/api/untils/MessageUntils.php
+1
-2
route.php
application/route.php
+2
-1
No files found.
application/api/untils/MessageUntils.php
View file @
82d7442e
...
...
@@ -24,7 +24,7 @@ class MessageUntils {
* @param string $tempId
* @return SimpleXMLElement[]
*/
public
function
sendCCPSMS
(
$to
,
$datas
,
$tempId
=
'
79972
'
)
{
public
function
sendCCPSMS
(
$to
,
$datas
,
$tempId
=
'
214759
'
)
{
import
(
'CCPRestSDK'
,
EXTEND_PATH
,
'.php'
);
$accountSid
=
'8a48b55153eae51101540e763d3b3888'
;
$accountToken
=
'26b220de299d4a56a6f54dd5792a30e4'
;
...
...
@@ -33,7 +33,6 @@ class MessageUntils {
$serverPort
=
'8883'
;
$softVersion
=
'2013-12-26'
;
// 初始化REST SDK
//global $accountSid, $accountToken, $appId, $serverIP, $serverPort, $softVersion;
$rest
=
new
\REST
(
$serverIP
,
$serverPort
,
$softVersion
);
...
...
application/route.php
View file @
82d7442e
...
...
@@ -44,5 +44,6 @@ Route::group('index',[
'member'
=>
[
'index/member.index/member'
,[
'method'
=>
'get'
]]
]);
Route
::
group
(
'api'
,[
'login'
=>
[
'api/member/login'
,[
'method'
=>
'post'
]]
'login'
=>
[
'api/member/login'
,[
'method'
=>
'post'
]],
'sendSms/:phone'
=>
[
'api/member/sendSms'
,[
'method'
=>
'get'
]]
]);
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment