- fix bug in GetUsers

This commit is contained in:
gazebo
2019-08-06 17:01:51 +08:00
parent a0c74cf02a
commit 447237f252
4 changed files with 5 additions and 5 deletions

View File

@@ -240,10 +240,10 @@ func (c *Auth2Controller) AddAuthBind() {
// @Title 删除认证方式
// @Description 删除认证方式
// @Param token header string true "认证token"
// @Param authType formData string true "登录类型参见Login的描述"
// @Param authType query string true "登录类型参见Login的描述"
// @Success 200 {object} controllers.CallResult
// @Failure 200 {object} controllers.CallResult
// @router /RemoveAuthBind [post]
// @router /RemoveAuthBind [delete]
func (c *Auth2Controller) RemoveAuthBind() {
c.callRemoveAuthBind(func(params *tAuth2RemoveAuthBindParams) (retVal interface{}, errCode string, err error) {
authInfo, err2 := params.Ctx.GetV2AuthInfo()