aa
This commit is contained in:
@@ -3919,7 +3919,7 @@ func CreateVendorStore(ctx *jxcontext.Context, storeID, vendorID int, payload ma
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
if vendorStoreID != "" {
|
||||
if vendorStoreID != "" && vendorStoreID != "0" {
|
||||
//AddStoreVendorMap 太复杂了并不满足,还是手动加吧
|
||||
storeMap := &model.StoreMap{
|
||||
VendorStoreID: vendorStoreID,
|
||||
|
||||
@@ -679,10 +679,10 @@ func (p *PurchaseHandler) CreateStore2(db *dao.DaoDB, storeID int, userName stri
|
||||
}
|
||||
param["business_time"] = timeLis
|
||||
param["business_form_id"] = ebaiInfo.BusinessFormID
|
||||
if baiduShopID, err2 := api.EbaiAPI.ShopCreate(param); err == nil {
|
||||
if baiduShopID, err2 := api.EbaiAPI.ShopCreate(param); err2 == nil {
|
||||
//上传资质
|
||||
|
||||
return utils.Int64ToStr(baiduShopID), err
|
||||
return utils.Int64ToStr(baiduShopID), nil
|
||||
} else {
|
||||
err = err2
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user