| xqd
@@ -33,7 +33,9 @@ class AuthController extends Controller
|
|
|
public function info(Request $request){
|
|
|
if($request->type==1){
|
|
|
return $this->api('用户隐私');
|
|
|
- }else{
|
|
|
+ }else if($request->type==2){
|
|
|
+ return $this->api('用户隐私');
|
|
|
+ }else if($request->type==3){
|
|
|
return $this->api('关于我们');
|
|
|
}
|
|
|
}
|
| xqd
@@ -339,7 +341,7 @@ class AuthController extends Controller
|
|
|
$msg = '【喵喵】您的验证码是:(' . $verify_code.')。5分钟内有效请及时验证';
|
|
|
|
|
|
if(env("APP_DEBUG")){
|
|
|
- return $this->api(['verify_code' => $verify_code]);
|
|
|
+// return $this->api(['verify_code' => $verify_code]);
|
|
|
}else{
|
|
|
$result = $this->sendSms($msg, $phone);
|
|
|
}
|