This commit is contained in:
苏尹岚
2021-02-18 15:45:06 +08:00
parent 85f9ac8dd4
commit e5bd36ded0
3 changed files with 104 additions and 8 deletions

View File

@@ -3903,10 +3903,6 @@ func CreateVendorStore(ctx *jxcontext.Context, storeID, vendorID int, payload ma
db = dao.GetDB()
storeDetail *dao.StoreDetail
)
if vendorID != model.VendorIDEBAI {
return fmt.Errorf("当前只允许创建饿百门店!")
}
if storeDetail, err = dao.GetStoreDetail(db, storeID, vendorID, ""); err != nil {
return fmt.Errorf("获取门店信息失败,请联系技术部!")
}