| xqd
@@ -301,10 +301,10 @@ class AuthController extends Controller
|
|
|
$msg = '【喵喵】您的验证码是:(' . $verify_code.')。5分钟内有效请及时验证';
|
|
|
|
|
|
if(env("APP_DEBUG")){
|
|
|
- $result = $this->sendSms($msg, $phone);
|
|
|
+ return $this->api(['verify_code' => $verify_code]);
|
|
|
}else{
|
|
|
//product
|
|
|
- return $this->api(['verify_code' => $verify_code]);
|
|
|
+ $result = $this->sendSms($msg, $phone);
|
|
|
}
|
|
|
// $result = $this->sendSms($msg, $phone);
|
|
|
/*if (!$result)
|