GetStores精简模式下清除图片相关的信息
This commit is contained in:
@@ -333,6 +333,11 @@ func setStoreMapInfo(ctx *jxcontext.Context, db *dao.DaoDB, storesInfo *StoresIn
|
||||
for _, v := range storesInfo.Stores {
|
||||
if briefLevel > 0 {
|
||||
v.DeliveryRange = ""
|
||||
v.IDCardFront = ""
|
||||
v.IDCardBack = ""
|
||||
v.IDCardHand = ""
|
||||
v.Licence = ""
|
||||
v.Licence2Image = ""
|
||||
}
|
||||
for _, v2 := range storeMapMap[v.ID] {
|
||||
v.StoreMaps = append(v.StoreMaps, utils.Struct2FlatMap(v2))
|
||||
|
||||
Reference in New Issue
Block a user