add count easypay

This commit is contained in:
2026-01-09 14:04:33 +08:00
parent f079980608
commit 2ca14de27e
14 changed files with 211 additions and 62 deletions

View File

@@ -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("易支付服务已禁用")