This commit is contained in:
suyl
2021-07-15 13:44:41 +08:00
parent b3901e6a7c
commit 25fea4d861
3 changed files with 16 additions and 9 deletions

View File

@@ -88,13 +88,14 @@ func (c *User2Controller) GetUsers() {
// @Title 得到用户自己的门店列表
// @Description 得到用户自己的门店列表
// @Param token header string true "认证token"
// @Param token header string true "认证token"
// @Param version query string false "当app登录时需要传版本号"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /GetMyStoreList [get]
func (c *User2Controller) GetMyStoreList() {
c.callGetMyStoreList(func(params *tUser2GetMyStoreListParams) (retVal interface{}, errCode string, err error) {
retVal, errCode, err = cms.GetMyStoreListNew(params.Ctx)
retVal, errCode, err = cms.GetMyStoreListNew(params.Ctx, params.Version)
return retVal, errCode, err
})
}