dengbiao il y a 7 mois
Parent
révision
879ef02634
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  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 Voir le fichier

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


Chargement…
Annuler
Enregistrer