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