|
|
@ -105,7 +105,7 @@ class Order extends Controller |
|
|
|
public function expressSearch(string $expressNo): Json |
|
|
|
public function expressSearch(string $expressNo): Json |
|
|
|
{ |
|
|
|
{ |
|
|
|
if(empty($expressNo)) { |
|
|
|
if(empty($expressNo)) { |
|
|
|
$this->renderError('物流单号不能为空'); |
|
|
|
return $this->renderError('物流单号不能为空'); |
|
|
|
} |
|
|
|
} |
|
|
|
$transferRecordService = new TransferRecord(); |
|
|
|
$transferRecordService = new TransferRecord(); |
|
|
|
$data = $transferRecordService->getExpressByExpressNo($expressNo); |
|
|
|
$data = $transferRecordService->getExpressByExpressNo($expressNo); |
|
|
|