usermanager
This commit is contained in:
@@ -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
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user