...
|
...
|
@@ -584,7 +584,7 @@ class Common |
|
|
$status = config('verify.status');
|
|
|
//更新订单号成功
|
|
|
$orderModel = new Order();
|
|
|
$orderModel->where(['pay_order_sn'=>$out_trade_no,'status'=>$status[0]])->update(['status'=>$status[2],'pay_time'=>time()]);//待发货
|
|
|
$orderModel->where(['pay_order_sn'=>$out_trade_no,'status'=>$status[0]])->update(['status'=>$status[2],'paytime'=>time()]);//待发货
|
|
|
//销量增加1
|
|
|
$res = self::findSoftWhereData('order',['pay_order_sn'=>$out_trade_no,'status'=>$status[2]],'id,uid,coupon_id');
|
|
|
if($res){
|
...
|
...
|
|