feat: 新增派单详情接口
This commit is contained in:
parent
293b737246
commit
e986fc8dbd
|
|
@ -176,7 +176,7 @@ class OrderDispatchService extends BaseService
|
||||||
}])
|
}])
|
||||||
->where('id', $orderDispatchId)
|
->where('id', $orderDispatchId)
|
||||||
->where('worker_id', $workerId)
|
->where('worker_id', $workerId)
|
||||||
->field(['id', 'order_id', 'status', 'remark', 'create_time'])
|
->field(['id', 'order_id', 'status', 'remark', 'create_time', 'total', 'online_total', 'is_receipt'])
|
||||||
->find();
|
->find();
|
||||||
if (!$res) {
|
if (!$res) {
|
||||||
$this->apiError('订单不存在');
|
$this->apiError('订单不存在');
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user