feat(UserSignLogic): 根据订单来源调整礼品券冻结逻辑

This commit is contained in:
mkm 2024-07-02 15:15:42 +08:00
parent 3e72886b7a
commit f1e93d4aeb

View File

@ -44,8 +44,8 @@ class UserSignLogic extends BaseLogic
if ($order['source'] == 0) {
//冻结礼品券
if ($order['pay_price'] >= 500) {
$write = self::write($order, $total_vip, 0, 0, 4);
self::write_log($write, $total_vip, 1, 0, 1);
$write = self::write($order, $total_vip, 1, 0, 4);
self::write_log($write, $total_vip, 1, 1, 1);
}
} else {
//不冻结礼品券