This commit is contained in:
苏尹岚
2021-02-07 11:42:32 +08:00
parent 7280e99863
commit c7a751933b
2 changed files with 15 additions and 16 deletions

View File

@@ -3911,6 +3911,9 @@ func CreateVendorStore(ctx *jxcontext.Context, storeID, vendorID int, payload ma
}
}
}
if payload["storeVendorName"] == nil {
return fmt.Errorf("请输入平台名!")
}
handler := partner.GetPurchasePlatformFromVendorID(vendorID)
vendorStoreID, err := handler.CreateStore2(db, storeID, ctx.GetUserName(), payload, storeDetail)
if err != nil {