mirror of
https://gitee.com/apiadmin/ApiAdmin.git
synced 2025-04-06 03:58:00 +08:00
added 完善小程序的支持
This commit is contained in:
parent
e5fd0086ec
commit
c652f7ddbc
@ -61,7 +61,7 @@ class ApiController extends BaseController {
|
||||
$this->param = $getArr;
|
||||
break;
|
||||
}
|
||||
if ($this->header['USER-AGENT'] == 'wx') {
|
||||
if ($this->header['AGENT'] == 'wx') {
|
||||
$data = file_get_contents("php://input");
|
||||
$data = json_decode($data, true);
|
||||
$this->param = $data;
|
||||
|
Loading…
x
Reference in New Issue
Block a user