更新订单统计
This commit is contained in:
parent
a445b388b0
commit
ddc9c67448
@ -874,7 +874,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
switch ($status) {
|
||||
case 1:
|
||||
$param['StoreOrder.paid'] = 0;
|
||||
break; // 未支付
|
||||
break; // 未支付
|
||||
case 2:
|
||||
$param['StoreOrder.paid'] = 1;
|
||||
$param['StoreOrder.status'] = 0;
|
||||
@ -899,7 +899,7 @@ class StoreOrderRepository extends BaseRepository
|
||||
break; // 已支付
|
||||
default:
|
||||
unset($param['StoreOrder.is_del']);
|
||||
break; //全部
|
||||
break; // 全部
|
||||
}
|
||||
return $param;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user