Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
a150ca4c80
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      app/svc/svc_data_center_generate_data.go
  2. +1
    -1
      go.mod

+ 1
- 1
app/svc/svc_data_center_generate_data.go View File

@@ -19,7 +19,7 @@ func DataCenterIncomeDataList(c *gin.Context, req md.DataCenterGenerateDataReq)
NewGenerateWxAdDataDb := implement.NewGenerateWxAdDataDb(engine) NewGenerateWxAdDataDb := implement.NewGenerateWxAdDataDb(engine)
appId := GetAppletId(c, req.Name, req.Platform) appId := GetAppletId(c, req.Name, req.Platform)
slotId := GetSlotId(c, req.State) slotId := GetSlotId(c, req.State)
MediumList, total, _ := NewGenerateWxAdDataDb.FindGenerateWxAdDataList(c.GetString("mid"), appId, slotId, req.StartTime, req.EndTime, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
MediumList, total, _ := NewGenerateWxAdDataDb.FindGenerateWxAdDataListMedium(c.GetString("mid"), appId, slotId, req.StartTime, req.EndTime, utils.StrToInt(req.Page), utils.StrToInt(req.Limit))
data := make([]md.DataCenterIncomeDataData, 0) data := make([]md.DataCenterIncomeDataData, 0)
if len(MediumList) > 0 { if len(MediumList) > 0 {
for _, v := range MediumList { for _, v := range MediumList {


+ 1
- 1
go.mod View File

@@ -36,7 +36,7 @@ require (
require ( require (
code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5 code.fnuoos.com/go_rely_warehouse/zyos_go_mq.git v0.0.5
code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20240830072333-a1980ffb256e code.fnuoos.com/go_rely_warehouse/zyos_go_third_party_api.git v1.1.21-0.20240830072333-a1980ffb256e
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20240930064359-f120af0d8ade
code.fnuoos.com/zhimeng/model.git v0.0.3-0.20241009031730-6c5d31eb7458
github.com/jinzhu/copier v0.4.0 github.com/jinzhu/copier v0.4.0
) )




Loading…
Cancel
Save