|
|
@@ -573,12 +573,12 @@ class AuthController extends PublicController
|
|
|
//app登陆 ssh 20211219
|
|
|
public function actionAppLogin()
|
|
|
{
|
|
|
- $get = Yii::$app->request->get();
|
|
|
- $mobile = isset($get['mobile']) ? $get['mobile'] : 0;
|
|
|
+ $post = Yii::$app->request->post();
|
|
|
+ $mobile = isset($post['mobile']) ? $post['mobile'] : 0;
|
|
|
if (stringUtil::isMobile($mobile) == false) {
|
|
|
util::fail('请填写正确手机号');
|
|
|
}
|
|
|
- $password = isset($get['password']) && !empty($get['password']) ? $get['password'] : '';
|
|
|
+ $password = isset($post['password']) && !empty($post['password']) ? $post['password'] : '';
|
|
|
if (empty($password)) {
|
|
|
util::fail('请输入密码');
|
|
|
}
|