This commit is contained in:
richboo111
2022-10-24 18:35:03 +08:00
parent ed60a1b1c8
commit 4b204be285

View File

@@ -118,10 +118,12 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
DayMap: m,
},
}
globals.SugarLogger.Debug("list===================", list.Name, list.OpenTime)
lists = append(lists, list)
ShopBatchCreateStoreParam = &shop_batchCreateStore_request.ShopBatchCreateStoreParam{
StoreList: lists,
}
globals.SugarLogger.Debug("lists,ShopBatchCreateStoreParam", list, ShopBatchCreateStoreParam)
if resp, err := a.BatchCreateStore(ShopBatchCreateStoreParam); err != nil {
globals.SugarLogger.Debug("BatchCreateStore wrong on :%v", ShopBatchCreateStoreParam, err)
return "", err