Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c9db60a commit 9b3fa2fCopy full SHA for 9b3fa2f
app/Api/Controller/IndexController.php
@@ -34,7 +34,7 @@ public function config()
34
*/
35
public function policy()
36
{
37
- $type = $this->request->get('type/s', '');
+ $type = $this->request->get('type', '');
38
$result = IndexLogic::getPolicyByType($type);
39
return $this->data($result);
40
}
app/Api/Controller/LoginController.php
@@ -125,7 +125,7 @@ public function oaAuthBind()
125
126
public function getScanCode()
127
128
- $redirectUri = $this->request->get('url/s');
+ $redirectUri = $this->request->get('url');
129
$result = LoginLogic::getScanCode($redirectUri);
130
if (false === $result) {
131
return $this->fail(LoginLogic::getError() ?? '未知错误');
0 commit comments