Browse Source

修改登录回调为get2

master
wanghongjun 1 year ago
parent
commit
90ac4d15e6
  1. 2
      app/controller/wechat/Login.php

2
app/controller/wechat/Login.php

@ -67,7 +67,7 @@ class Login extends Base
}
public function wx(): Response {
validate($this->valid)->scene('wxLogin')->check(Request::post());
validate($this->valid)->scene('wxLogin')->check(Request::get());
$state = $this->request->param('state', '');
$code = $this->request->param('code', '');

Loading…
Cancel
Save