merge: 合并OMC分支
This commit is contained in:
@@ -9,7 +9,6 @@ import (
|
||||
tokenUtils "nms_cxy/src/framework/utils/token"
|
||||
"nms_cxy/src/framework/vo"
|
||||
"nms_cxy/src/framework/vo/result"
|
||||
libAccount "nms_cxy/src/lib_features/account"
|
||||
commonModel "nms_cxy/src/modules/common/model"
|
||||
commonService "nms_cxy/src/modules/common/service"
|
||||
systemService "nms_cxy/src/modules/system/service"
|
||||
@@ -84,9 +83,6 @@ func (s *AccountController) Login(c *gin.Context) {
|
||||
)
|
||||
}
|
||||
|
||||
// 设置登录会话-兼容旧登录方式
|
||||
libAccount.SessionToken(loginBody.Username, ipaddr)
|
||||
|
||||
c.JSON(200, result.OkData(map[string]any{
|
||||
tokenConstants.RESPONSE_FIELD: tokenStr,
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user