Browse Source

更新

master
huangjiajun 1 month ago
parent
commit
06b1ea6a46
2 changed files with 2 additions and 1 deletions
  1. +1
    -0
      app/md/md_data_center_original_data.go
  2. +1
    -1
      app/svc/svc_data_center_generate_data.go

+ 1
- 0
app/md/md_data_center_original_data.go View File

@@ -10,6 +10,7 @@ var AdState = []SelectData{
var AdPlatform = []SelectData{
{Name: "微信小程序", Value: "wx_applet"},
}
var AdPlatformMap = map[string]string{"wx_applet": "微信小程序"}

type DataCenterOriginalDataReq struct {
Limit string `json:"limit"`


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

@@ -102,7 +102,7 @@ func DataCenterIncomeDataListOutput(c *gin.Context, req md.DataCenterGenerateDat
}
tmpApplet := GetAppletInfo(c, v.AppId)
if tmpApplet["platform"] != "" {
tmp.Platform = tmpApplet["platform"]
tmp.Platform = md.AdPlatformMap[tmpApplet["platform"]]
}
if tmpApplet["name"] != "" {
tmp.Name = tmpApplet["name"]


Loading…
Cancel
Save