fix:修复因切换身份的bug
This commit is contained in:
@ -7,6 +7,7 @@ import (
|
||||
"SciencesServer/app/basic/api"
|
||||
"SciencesServer/app/session"
|
||||
"SciencesServer/config"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
|
||||
@ -480,6 +481,9 @@ func registerEnterpriseAPI(app *gin.Engine) {
|
||||
{
|
||||
_api := new(api3.User)
|
||||
userV1.GET("/info", _api.Info)
|
||||
userV1.POST("/identity", _api.IdentityBasic)
|
||||
userV1.POST("/identity/detail", _api.IdentityDetail)
|
||||
userV1.POST("/identity/switch", _api.IdentitySwitch)
|
||||
userV1.POST("/back", _api.Back)
|
||||
userV1.POST("/back/bind", _api.BackBind)
|
||||
userV1.POST("/back/unbind", _api.BackUnbind)
|
||||
|
Reference in New Issue
Block a user