GetStores精简模式下清除图片相关的信息

This commit is contained in:
gazebo
2019-11-07 08:52:00 +08:00
parent aa4a24f1b6
commit 0ca50bec4c

View File

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