This commit is contained in:
苏尹岚
2021-02-07 14:17:09 +08:00
parent 5fd18dea64
commit 306c0eefff
2 changed files with 3 additions and 3 deletions

View File

@@ -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,