dengbiao 7 miesięcy temu
rodzic
commit
879ef02634
1 zmienionych plików z 2 dodań i 2 usunięć
  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 Wyświetl plik

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


Ładowanie…
Anuluj
Zapisz