huangjiajun 1 mese fa
parent
commit
06b1ea6a46
2 ha cambiato i file con 2 aggiunte e 1 eliminazioni
  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 Vedi 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 Vedi 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"]


Caricamento…
Annulla
Salva