usermanager

This commit is contained in:
苏尹岚
2020-11-11 10:57:58 +08:00
parent c2dae8e2bb
commit a2b6c89935
2 changed files with 46 additions and 0 deletions

View File

@@ -311,3 +311,31 @@ func (c *User2Controller) UpdateUser() {
return retVal, "", err
})
}
// @Title 增加用户管理城市
// @Description 增加用户管理城市
// @Param token header string true "认证token"
// @Param userID formData string true "userID"
// @Param cityCode formData int true "cityCode"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /AddUserCityManager [post]
func (c *User2Controller) AddUserCityManager() {
c.callAddUserCityManager(func(params *tUser2AddUserCityManagerParams) (retVal interface{}, errCode string, err error) {
return retVal, "", err
})
}
// @Title 删除用户管理城市
// @Description 删除用户管理城市
// @Param token header string true "认证token"
// @Param userID formData string true "userID"
// @Param cityCode formData int true "cityCode"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /DeleteUserCityManager [post]
func (c *User2Controller) DeleteUserCityManager() {
c.callDeleteUserCityManager(func(params *tUser2DeleteUserCityManagerParams) (retVal interface{}, errCode string, err error) {
return retVal, "", err
})
}