1
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user