|
|
@@ -20,17 +20,6 @@ class OrderController extends webApp
|
|
|
*/
|
|
|
public function index()
|
|
|
{
|
|
|
- $userInfo = MemberService::make()->getInfo($this->userId);
|
|
|
- $confirmStatus = isset($userInfo['confirm_status']) ? $userInfo['confirm_status'] : 0;
|
|
|
- $pickerStatus = isset($userInfo['picker_status']) ? $userInfo['picker_status'] : 0;
|
|
|
- if ($confirmStatus != 1) {
|
|
|
- return message(2043, false, [], 405);
|
|
|
- }
|
|
|
-
|
|
|
- if ($pickerStatus != 1) {
|
|
|
- return message(2063, false, [], 406);
|
|
|
- }
|
|
|
-
|
|
|
$params = request()->post();
|
|
|
$pageSize = request()->post('pageSize', 15);
|
|
|
$params['user_id'] = $this->userId;
|