|
|
|
@ -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,
|
|
|
|
|