Browse Source

update

tmp
dengbiao 8 months ago
parent
commit
879ef02634
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      app/customer/hdl/hdl_self_support_for_school_order.go

+ 2
- 2
app/customer/hdl/hdl_self_support_for_school_order.go View File

@@ -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))


Loading…
Cancel
Save