pull/1/head
ztt 11 months ago
parent fbffb4cd35
commit 0bde939684
  1. 3
      app/api/controller/Order.php

@ -104,6 +104,9 @@ class Order extends Controller
*/
public function expressSearch(string $expressNo): Json
{
if(empty($expressNo)) {
$this->renderError('物流单号不能为空');
}
$transferRecordService = new TransferRecord();
$data = $transferRecordService->getExpressByExpressNo($expressNo);
$express['items'] = $data['traces'];

Loading…
Cancel
Save