Merge pull request '修改溯源系统请求供销系统农户信息的请求方式' (#142) from zhangwei into dev
Reviewed-on: #142
This commit is contained in:
commit
d51e8bc895
@ -137,7 +137,7 @@ class InformationController extends BaseApiController
|
|||||||
public function farmerInfo(): Json
|
public function farmerInfo(): Json
|
||||||
{
|
{
|
||||||
//获取参数
|
//获取参数
|
||||||
$params = $this->request->get(['user_id']);
|
$params = $this->request->post(['user_id']);
|
||||||
if(empty($params['user_id'])){
|
if(empty($params['user_id'])){
|
||||||
return $this->fail('参数错误');
|
return $this->fail('参数错误');
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user