- 美团配送使用页面API修改门店信息

This commit is contained in:
gazebo
2019-07-24 16:23:47 +08:00
parent b513ee9c74
commit aa05678e5d
4 changed files with 27 additions and 4 deletions

View File

@@ -85,3 +85,10 @@ func (c *DeliveryHandler) GetStore(ctx *jxcontext.Context, storeID int, vendorSt
func (c *DeliveryHandler) IsErrStoreNotExist(err error) bool {
return mtpsapi.IsErrShopNotExist(err)
}
func (c *DeliveryHandler) UpdateStore(ctx *jxcontext.Context, storeDetail *dao.StoreDetail2) (err error) {
if globals.EnableStoreWrite {
err = api.MtpsAPI.PagePoiUpdate(storeDetail.VendorStoreID, storeDetail.PayeeName, storeDetail.Tel1, "fakeemail@163.com")
}
return err
}