master
huanghai 5 years ago
parent 82bfedbe18
commit 1ac3aef4a8

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

Loading…
Cancel
Save