feat : coupon
This commit is contained in:
@@ -49,10 +49,12 @@ class OrderListService extends BaseService
|
||||
|
||||
/**
|
||||
* @return array
|
||||
* @throws ContainerExceptionInterface
|
||||
* @throws NotFoundExceptionInterface
|
||||
*/
|
||||
public function handle(): array
|
||||
{
|
||||
$limit = $this->request->input('limit', 20);
|
||||
$limit = (int)$this->request->input('limit', 20);
|
||||
|
||||
$orderList = $this->orderModel
|
||||
->where('user_id', $this->userId)
|
||||
|
||||
@@ -170,6 +170,7 @@ class PlaceOrderService extends BaseOrderService
|
||||
'is_comment' => OrderCode::GOOD_COMMENT_NULL,
|
||||
'copies' => $copiesNum,
|
||||
'type' => $one['type'],
|
||||
'status' => OrderCode::WAIT_PAY,
|
||||
'create_time' => date('Y-m-d H:i:s'),
|
||||
'update_time' => date('Y-m-d H:i:s'),
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user