|
@@ -15,6 +15,8 @@ class Orders extends Model
|
|
|
'tax'=>'json',
|
|
|
];
|
|
|
|
|
|
+ const PAY_EXP=30;
|
|
|
+
|
|
|
const PT_QYWY=1;
|
|
|
const PT_WX=2;
|
|
|
const PT_ZFB=3;
|
|
@@ -129,7 +131,7 @@ class Orders extends Model
|
|
|
#优惠总金额
|
|
|
$orders['amount_discount']=bcAddAll($orders['amount_coupon']??0,$orders['amount_coupon_kill']);
|
|
|
#过期时间
|
|
|
- $orders['continue_expire_time']=time()+60*30;
|
|
|
+ $orders['continue_expire_time']=time()+60*self::PAY_EXP;
|
|
|
});
|
|
|
}
|
|
|
}
|