master
huanghai 5 years ago
parent 82bfedbe18
commit 1ac3aef4a8

@ -328,15 +328,13 @@ func authorizePost(context *gin.Context) {
}) })
return return
} }
//if CommonUtil.ConvertStringToInt(identityId) > 1 {
if CommonUtil.ConvertStringToInt(identityId) > 1 { // context.JSON(http.StatusOK, Model.Res{
context.JSON(http.StatusOK, Model.Res{ // Code: http.StatusNotImplemented,
Code: http.StatusNotImplemented, // Msg: "非管理员用户暂不能登录,敬请期待!!",
Msg: "非管理员用户暂不能登录,敬请期待!!", // })
}) // return
return //}
}
} else { } else {
context.JSON(http.StatusOK, Model.Res{ context.JSON(http.StatusOK, Model.Res{
Code: http.StatusNotImplemented, Code: http.StatusNotImplemented,

Loading…
Cancel
Save