Commit e18aacda by 冷斌

fix bug

parent aaf34c6a
......@@ -7,7 +7,6 @@ use Common\Controller\HomebaseController;
class AuthController extends HomebaseController {
public function index(){
var_dump(sendTip());
$uid=I("uid");
$token=I("token");
if( !$uid || !$token || checkToken($uid,$token)==700 ){
......
......@@ -2481,14 +2481,12 @@ function sp_delete_physics_img($imglist){
require_once API_ROOT.'/../sdk/ChuanglanSmsApi.php';
$clapi = new ChuanglanSmsApi();
// $msg = '【海狮live】有新的主播申请认证,请您尽快登录后台进行审核!';
$msg = '【海狮live】您的验证码为test,请您尽快填写!';
$msg = '【海狮live】您的验证码为审核通知,请您尽快填写!';
$result = $clapi->sendSMS($m, $msg);
// $result = $clapi->sendVariableSMS($msg, $params);
if(!is_null(json_decode($result))){
$output=json_decode($result,true);
var_dump($output);
die;
if(isset($output['code']) && $output['code']=='0'){
return $rs;
}else{
......
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