|
|
@@ -123,14 +123,14 @@ class LoginController extends BaseApiController
|
|
|
/**
|
|
|
* @return \think\response\Json
|
|
|
*/
|
|
|
- public function getMnpPhone()
|
|
|
+ public function getMnpSessionKey()
|
|
|
{
|
|
|
$params = (new WechatLoginValidate())->post()->goCheck('wechatAuth');
|
|
|
$res = LoginLogic::mnpPhoneCode($params);
|
|
|
if (false === $res) {
|
|
|
return $this->fail(LoginLogic::getError());
|
|
|
}
|
|
|
- return $this->success('', (array)$res);
|
|
|
+ return $this->success('', $res);
|
|
|
}
|
|
|
|
|
|
|