|
@@ -307,7 +307,12 @@ class AuthController extends Controller
|
|
\Log::error("Send sms failed.");
|
|
\Log::error("Send sms failed.");
|
|
}
|
|
}
|
|
|
|
|
|
-
|
|
|
|
|
|
+ if(env("APP_DEBUG")){
|
|
|
|
+ return $this->error(0);
|
|
|
|
+ }else{
|
|
|
|
+ //product
|
|
|
|
+ return $this->api(['verify_code' => $verify_code]);
|
|
|
|
+ }
|
|
// return $this->api(['verify_code' => $verify_code]);
|
|
// return $this->api(['verify_code' => $verify_code]);
|
|
}
|
|
}
|
|
|
|
|