正在显示
1 个修改的文件
包含
4 行增加
和
4 行删除
@@ -47,10 +47,10 @@ class CommonController extends HomeBaseController | @@ -47,10 +47,10 @@ class CommonController extends HomeBaseController | ||
47 | ]; | 47 | ]; |
48 | $code_model = new CodeModel(); | 48 | $code_model = new CodeModel(); |
49 | $code_model->addCode($code_insert); | 49 | $code_model->addCode($code_insert); |
50 | -// $result = explode(',',$this->sendSMS($mobile,$code)); | ||
51 | -// if($result[0] != 1) { | ||
52 | -// $this->error($result[0]); | ||
53 | -// } | 50 | + $result = explode(',',$this->sendSMS($mobile,$code)); |
51 | + if($result[0] != 1) { | ||
52 | + $this->error($result[0]); | ||
53 | + } | ||
54 | $this->success('发送成功'); | 54 | $this->success('发送成功'); |
55 | } | 55 | } |
56 | } | 56 | } |
-
请 注册 或 登录 后发表评论