mirror of
https://gitee.com/zoujingli/ThinkAdmin.git
synced 2025-04-06 03:58:04 +08:00
修改发送状态
This commit is contained in:
parent
48d31261ba
commit
9b6bdb61bb
@ -133,10 +133,10 @@ class Send extends Controller
|
||||
$vo['status'] = 2;
|
||||
$vo['company_name'] = $company['name'];
|
||||
$vo['send_datetime'] = $vo['send_datetime'] ?? date('Y-m-d H:i:s');
|
||||
if ($order['status'] === 3) {
|
||||
$map = ['order_no' => $vo['order_no']];
|
||||
if ($order['status'] === 4) {
|
||||
// 更新订单发货状态
|
||||
ShopOrder::mk()->where($map)->update(['status' => 4]);
|
||||
$map = ['order_no' => $vo['order_no']];
|
||||
ShopOrder::mk()->where($map)->update(['status' => 5]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user