This commit is contained in:
richboo111
2022-10-08 11:04:22 +08:00
parent 2b9cc1a970
commit b718a01363

View File

@@ -92,9 +92,10 @@ func (P *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
}
if resp, err := getAPI(storeDetail.VendorOrgCode, storeID, storeDetail.VendorStoreID).BatchCreateStore(ShopBatchCreateStoreParam); err != nil {
globals.SugarLogger.Debug("检测resp1==========", resp)
return "", err
} else {
globals.SugarLogger.Debug("检测resp==========", resp)
globals.SugarLogger.Debug("检测resp2==========", resp)
for k, v := range resp.ResultList {
if k != len(resp.ResultList) {
storeIDs += utils.Int64ToStr(v.Store.StoreId) + ","