+ TmpGetMyStoreList

This commit is contained in:
gazebo
2019-07-29 13:44:22 +08:00
parent 40d96f3342
commit ee613bfa75
5 changed files with 80 additions and 3 deletions

View File

@@ -50,6 +50,19 @@ func (c *UserController) TmpGetSelfInfo() {
})
}
// @Title 得到用户自己的门店列表
// @Description 得到用户自己的门店列表
// @Param token header string true "认证token"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /TmpGetMyStoreList [get]
func (c *UserController) TmpGetMyStoreList() {
c.callTmpGetSelfInfo(func(params *tUserTmpGetSelfInfoParams) (retVal interface{}, errCode string, err error) {
retVal, err = cms.GetMyStoreList(params.Ctx)
return retVal, "", err
})
}
// @Title 取消手机门店绑定
// @Description 此操作会将此手机关联的所有门店信息清除(取消组长,取消自己为他组组员),如果此人为组长,取消后组员也相应会取消门店绑定(但组员的成员关系还在)
// @Param token header string true "认证token"