修改校验
This commit is contained in:
parent
5df4f2d569
commit
4e6c195d43
@ -69,10 +69,10 @@ class UserController extends BaseAdminController
|
||||
//采购款明细、余额明细、礼品券明细、返还金明细
|
||||
public function fundList()
|
||||
{
|
||||
(new UserValidate())->post()->goCheck('fund');
|
||||
$page_no = (int)$this->request->post('page_no', 1);
|
||||
$page_size = (int)$this->request->post('page_size', 15);
|
||||
$params = $this->request->post();
|
||||
(new UserValidate())->get()->goCheck('fund');
|
||||
$page_no = (int)$this->request->get('page_no', 1);
|
||||
$page_size = (int)$this->request->get('page_size', 15);
|
||||
$params = $this->request->get();
|
||||
$params['page_no'] = $page_no > 0 ? $page_no : 1;
|
||||
$params['page_size'] = $page_size > 0 ? $page_size : 15;
|
||||
$res = UserLogic::dealDetails($params);
|
||||
|
Loading…
x
Reference in New Issue
Block a user