add count easypay
This commit is contained in:
@@ -186,7 +186,7 @@ func NewServiceContext(c config.Config) *ServiceContext {
|
||||
// 根据配置决定是否初始化易支付服务
|
||||
var easyPayService *service.EasyPayService
|
||||
if c.EasyPay.Enabled {
|
||||
easyPayService = service.NewEasyPayService(c)
|
||||
easyPayService = service.NewEasyPayService(c, orderModel)
|
||||
logx.Info("易支付服务已启用")
|
||||
} else {
|
||||
logx.Info("易支付服务已禁用")
|
||||
|
||||
Reference in New Issue
Block a user