Merge branch 'master' of e.coding.net:rosydev/baseapi
This commit is contained in:
@@ -49,7 +49,7 @@ func (a *API) GetStoreDetail(param *shop_getStoreDetail_request.ShopGetStoreDeta
|
|||||||
if response.Code != RequestSuccessCode {
|
if response.Code != RequestSuccessCode {
|
||||||
return nil, errors.New(response.SubMsg)
|
return nil, errors.New(response.SubMsg)
|
||||||
}
|
}
|
||||||
return response.Data, err
|
return response.Data, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
//BatchCreateStore 批量创建门店
|
//BatchCreateStore 批量创建门店
|
||||||
@@ -65,7 +65,8 @@ func (a *API) BatchCreateStore(param *shop_batchCreateStore_request.ShopBatchCre
|
|||||||
if response.Code != RequestSuccessCode {
|
if response.Code != RequestSuccessCode {
|
||||||
return nil, errors.New(response.SubMsg)
|
return nil, errors.New(response.SubMsg)
|
||||||
}
|
}
|
||||||
return response.Data, err
|
globals.SugarLogger.Debug("BatchCreateStore:response.Data============%v", response.Data)
|
||||||
|
return response.Data, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
// EditStore 编辑门店
|
// EditStore 编辑门店
|
||||||
|
|||||||
Reference in New Issue
Block a user