diff --git a/app/controller/api/store/order/StoreProcessing.php b/app/controller/api/store/order/StoreProcessing.php index 752a5f9a..8ade8c72 100755 --- a/app/controller/api/store/order/StoreProcessing.php +++ b/app/controller/api/store/order/StoreProcessing.php @@ -55,6 +55,9 @@ class StoreProcessing extends BaseController $arr[$key]['total_price'] = $arr[$key]['product_price']; $arr[$key]['pay_price'] = $arr[$key]['product_price']; $arr[$key]['product_id'] = $value['product_source_id']; + $arr[$key]['uid'] = $merchant_two['uid']; + $arr[$key]['product_source_id'] = 0; + $arr[$key]['product_mer_id'] = 0; unset($arr[$key]['order_product_id']); Db::name('store_product')->where('product_id',$value['product_source_id'])->dec('stock'); }