GetStoreListByLocation排除只能预订单店

This commit is contained in:
苏尹岚
2020-02-25 16:37:41 +08:00
parent b79d2b446b
commit 5a3e680fc9
5 changed files with 54 additions and 1 deletions

View File

@@ -485,3 +485,17 @@ func (c *User2Controller) DeleteUserInfo() {
return retVal, "", err
})
}
// @Title 得到用户自己的门店列表(商城用)
// @Description 得到用户自己的门店列表(商城用)
// @Param token header string false "认证token"
// @Param mobile query string true "电话"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMyJxStoreList [get]
func (c *User2Controller) GetMyJxStoreList() {
c.callGetMyJxStoreList(func(params *tUser2GetMyJxStoreListParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetMyJxStoreList(params.Ctx, params.Mobile)
return retVal, "", err
})
}