...
|
...
|
@@ -47,10 +47,10 @@ class CommonController extends HomeBaseController |
|
|
];
|
|
|
$code_model = new CodeModel();
|
|
|
$code_model->addCode($code_insert);
|
|
|
// $result = explode(',',$this->sendSMS($mobile,$code));
|
|
|
// if($result[0] != 1) {
|
|
|
// $this->error($result[0]);
|
|
|
// }
|
|
|
$result = explode(',',$this->sendSMS($mobile,$code));
|
|
|
if($result[0] != 1) {
|
|
|
$this->error($result[0]);
|
|
|
}
|
|
|
$this->success('发送成功');
|
|
|
}
|
|
|
}
|
...
|
...
|
|