mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
Update ShopOrder.php
This commit is contained in:
parent
3bae5b27d0
commit
53dfa80a68
@ -123,7 +123,7 @@ class ShopOrder extends Controller
|
|||||||
$map = ['order_no' => $vo['order_no']];
|
$map = ['order_no' => $vo['order_no']];
|
||||||
$order = $this->app->db->name('ShopOrder')->where($map)->find();
|
$order = $this->app->db->name('ShopOrder')->where($map)->find();
|
||||||
if (empty($order)) $this->error('订单查询异常,请稍候再试!');
|
if (empty($order)) $this->error('订单查询异常,请稍候再试!');
|
||||||
// 配送快递公司信息填写
|
// 配送快递公司填写
|
||||||
$map = ['code_1|code_2|code_3' => $vo['company_code']];
|
$map = ['code_1|code_2|code_3' => $vo['company_code']];
|
||||||
$company = $this->app->db->name('ShopTruckCompany')->where($map)->find();
|
$company = $this->app->db->name('ShopTruckCompany')->where($map)->find();
|
||||||
if (empty($company)) $this->error('配送快递公司异常,请重新选择快递公司!');
|
if (empty($company)) $this->error('配送快递公司异常,请重新选择快递公司!');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user