提交
This commit is contained in:
@@ -49,7 +49,7 @@ final class CustomerCenter extends Base
|
||||
}
|
||||
|
||||
$payStatus = strtolower(trim((string)$this->request->param('pay_status', 'pay')));
|
||||
if (!in_array($payStatus, ['pay', 'nopay', 'all'], true)) {
|
||||
if (!in_array($payStatus, ['pay', 'nopay'], true)) {
|
||||
return $this->fail('支付状态参数错误');
|
||||
}
|
||||
|
||||
|
||||
@@ -27,7 +27,6 @@ final class CustomerCenterService
|
||||
'pay_status' => $payStatus,
|
||||
'page' => max(1, $page),
|
||||
'page_size' => max(1, min(50, $pageSize)),
|
||||
'business_types' => 'evus,esta',
|
||||
]);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user