Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
haishi
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
haishi
Commits
ed1ff922
Commit
ed1ff922
authored
Mar 06, 2020
by
liuhailong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://mindant.cn:9999/ice/haishi
parents
2e7acd50
81ce0c01
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
1 additions
and
4 deletions
+1
-4
application/Appapi/Controller/AuthController.class.php
+0
-1
application/Common/Common/function.php
+1
-3
No files found.
application/Appapi/Controller/AuthController.class.php
View file @
ed1ff922
...
@@ -7,7 +7,6 @@ use Common\Controller\HomebaseController;
...
@@ -7,7 +7,6 @@ use Common\Controller\HomebaseController;
class
AuthController
extends
HomebaseController
{
class
AuthController
extends
HomebaseController
{
public
function
index
(){
public
function
index
(){
var_dump
(
sendTip
());
$uid
=
I
(
"uid"
);
$uid
=
I
(
"uid"
);
$token
=
I
(
"token"
);
$token
=
I
(
"token"
);
if
(
!
$uid
||
!
$token
||
checkToken
(
$uid
,
$token
)
==
700
){
if
(
!
$uid
||
!
$token
||
checkToken
(
$uid
,
$token
)
==
700
){
...
...
application/Common/Common/function.php
View file @
ed1ff922
...
@@ -2481,14 +2481,12 @@ function sp_delete_physics_img($imglist){
...
@@ -2481,14 +2481,12 @@ function sp_delete_physics_img($imglist){
require_once
API_ROOT
.
'/../sdk/ChuanglanSmsApi.php'
;
require_once
API_ROOT
.
'/../sdk/ChuanglanSmsApi.php'
;
$clapi
=
new
ChuanglanSmsApi
();
$clapi
=
new
ChuanglanSmsApi
();
// $msg = '【海狮live】有新的主播申请认证,请您尽快登录后台进行审核!';
// $msg = '【海狮live】有新的主播申请认证,请您尽快登录后台进行审核!';
$msg
=
'【海狮live】您的验证码为
test
,请您尽快填写!'
;
$msg
=
'【海狮live】您的验证码为
审核通知
,请您尽快填写!'
;
$result
=
$clapi
->
sendSMS
(
$m
,
$msg
);
$result
=
$clapi
->
sendSMS
(
$m
,
$msg
);
// $result = $clapi->sendVariableSMS($msg, $params);
// $result = $clapi->sendVariableSMS($msg, $params);
if
(
!
is_null
(
json_decode
(
$result
))){
if
(
!
is_null
(
json_decode
(
$result
))){
$output
=
json_decode
(
$result
,
true
);
$output
=
json_decode
(
$result
,
true
);
var_dump
(
$output
);
die
;
if
(
isset
(
$output
[
'code'
])
&&
$output
[
'code'
]
==
'0'
){
if
(
isset
(
$output
[
'code'
])
&&
$output
[
'code'
]
==
'0'
){
return
$rs
;
return
$rs
;
}
else
{
}
else
{
...
...
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