fix(app): 修复购买产品优惠时的支付类型名称显示问题
- 移除了对 ProductOffer::push($offer) 的注释,恢复了该功能 - 优化了 PurchaseProductOfferLogic 中的逻辑,确保正确显示支付类型名称
This commit is contained in:
parent
b2a3df87c4
commit
785a3a8615
@ -221,7 +221,7 @@ class PurchaseProductOfferLogic extends BaseLogic
|
|||||||
}else{
|
}else{
|
||||||
$offer['pay_type_name']='没设置';
|
$offer['pay_type_name']='没设置';
|
||||||
}
|
}
|
||||||
// ProductOffer::push($offer);
|
ProductOffer::push($offer);
|
||||||
return true;
|
return true;
|
||||||
} catch (\Throwable $e) {
|
} catch (\Throwable $e) {
|
||||||
Db::rollback();
|
Db::rollback();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user