feat(UserSignLogic): 根据订单来源调整礼品券冻结逻辑
This commit is contained in:
parent
3e72886b7a
commit
f1e93d4aeb
@ -44,8 +44,8 @@ class UserSignLogic extends BaseLogic
|
|||||||
if ($order['source'] == 0) {
|
if ($order['source'] == 0) {
|
||||||
//冻结礼品券
|
//冻结礼品券
|
||||||
if ($order['pay_price'] >= 500) {
|
if ($order['pay_price'] >= 500) {
|
||||||
$write = self::write($order, $total_vip, 0, 0, 4);
|
$write = self::write($order, $total_vip, 1, 0, 4);
|
||||||
self::write_log($write, $total_vip, 1, 0, 1);
|
self::write_log($write, $total_vip, 1, 1, 1);
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
//不冻结礼品券
|
//不冻结礼品券
|
||||||
|
Loading…
x
Reference in New Issue
Block a user