|
@@ -51,6 +51,7 @@ func DataCenterIncomeDataListForOpen(c *gin.Context, req md.DataCenterGenerateDa |
|
|
if tmpSlot["name"] != "" { |
|
|
if tmpSlot["name"] != "" { |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
} |
|
|
} |
|
|
|
|
|
tmp.AdvId = v.SlotId |
|
|
data = append(data, tmp) |
|
|
data = append(data, tmp) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -102,6 +103,7 @@ func DataCenterIncomeDataList(c *gin.Context, req md.DataCenterGenerateDataReq) |
|
|
if tmpSlot["name"] != "" { |
|
|
if tmpSlot["name"] != "" { |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
} |
|
|
} |
|
|
|
|
|
tmp.AdvId = v.SlotId |
|
|
data = append(data, tmp) |
|
|
data = append(data, tmp) |
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
@@ -167,6 +169,7 @@ func DataCenterIncomeDataListOutput(c *gin.Context, req md.DataCenterGenerateDat |
|
|
if tmpSlot["name"] != "" { |
|
|
if tmpSlot["name"] != "" { |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
tmp.AdvName = tmpSlot["name"] |
|
|
} |
|
|
} |
|
|
|
|
|
tmp.AdvId = v.SlotId |
|
|
i := utils.IntToStr(k + 2) |
|
|
i := utils.IntToStr(k + 2) |
|
|
data["A"+i] = tmp.Name |
|
|
data["A"+i] = tmp.Name |
|
|
data["B"+i] = tmp.Date |
|
|
data["B"+i] = tmp.Date |
|
|