|
@@ -65,7 +65,7 @@ class Order extends Base
|
|
$this->error($validate->getError());
|
|
$this->error($validate->getError());
|
|
}
|
|
}
|
|
// 设置默认值
|
|
// 设置默认值
|
|
- $userId = $this->auth->id;
|
|
|
|
|
|
+ $userId = 0;
|
|
$param['page'] = $param['page'] ?? 1;
|
|
$param['page'] = $param['page'] ?? 1;
|
|
$param['page_size'] = $param['page_size'] ?? 10;
|
|
$param['page_size'] = $param['page_size'] ?? 10;
|
|
$status = $param['status'] ?? 0; // 默认为0(全部订单)
|
|
$status = $param['status'] ?? 0; // 默认为0(全部订单)
|