|
|
@ -69,9 +69,6 @@ func InitialRouter() *gin.Engine { |
|
|
bookimgRouterApi := apirouter.RouterGroupEntry.BookImg |
|
|
bookimgRouterApi := apirouter.RouterGroupEntry.BookImg |
|
|
bookimgRouterApi.RouterGroup(VerifyIdentity) |
|
|
bookimgRouterApi.RouterGroup(VerifyIdentity) |
|
|
|
|
|
|
|
|
//系统授权
|
|
|
|
|
|
systemAuthorizingApi := apirouter.RouterGroupEntry.Empowerouter |
|
|
|
|
|
systemAuthorizingApi.RouterGroup(VerifyIdentity) //系统授权
|
|
|
|
|
|
} |
|
|
} |
|
|
//验证身份接口 无需鉴权Url(主要web端使用)
|
|
|
//验证身份接口 无需鉴权Url(主要web端使用)
|
|
|
VerifyIdentityWeb := router.Group("") |
|
|
VerifyIdentityWeb := router.Group("") |
|
|
@ -87,6 +84,10 @@ func InitialRouter() *gin.Engine { |
|
|
//系统权限设置
|
|
|
//系统权限设置
|
|
|
systemPowerPcApi := apirouter.RouterGroupEntry.SystemPowerRouter |
|
|
systemPowerPcApi := apirouter.RouterGroupEntry.SystemPowerRouter |
|
|
systemPowerPcApi.RouterGroupPc(VerifyIdentityWeb) //web端
|
|
|
systemPowerPcApi.RouterGroupPc(VerifyIdentityWeb) //web端
|
|
|
|
|
|
|
|
|
|
|
|
//系统授权
|
|
|
|
|
|
systemAuthorizingApi := apirouter.RouterGroupEntry.Empowerouter |
|
|
|
|
|
systemAuthorizingApi.RouterGroup(VerifyIdentityWeb) //系统授权
|
|
|
} |
|
|
} |
|
|
//Token身份验证
|
|
|
//Token身份验证
|
|
|
VerifyIdentityToken := router.Group("") |
|
|
VerifyIdentityToken := router.Group("") |
|
|
|