|
|
@@ -54,8 +54,8 @@ func SelfSupportForSchoolOrderList(c *gin.Context) { |
|
|
|
merchantWithDeviceListMapping[v.DeviceSn] = merchantListMapping[v.MerchantId] |
|
|
|
} |
|
|
|
|
|
|
|
for _, v := range list { |
|
|
|
v.MerchantName = merchantWithDeviceListMapping[v.DeviceSn].Name |
|
|
|
for i, v := range list { |
|
|
|
list[i].MerchantName = merchantWithDeviceListMapping[v.DeviceSn].Name |
|
|
|
} |
|
|
|
|
|
|
|
utils.FilePutContents("SelfSupportForSchoolOrderList", utils.SerializeStr(list)) |
|
|
|