Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
H
huatu_API
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liudong1993
huatu_API
Commits
97066140
Commit
97066140
authored
Aug 27, 2025
by
liudong1993
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
54989bbc
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
1 deletion
+11
-1
RBUserCache.cs
REBORN.CacheManager/User/RBUserCache.cs
+2
-1
UserInfo.cs
REBORN.Common/API/UserInfo.cs
+4
-0
BranchService.cs
REBORN.Services.PlatformService/BranchService.cs
+4
-0
LoginService.cs
REBORN.Services.UserService/LoginService.cs
+1
-0
No files found.
REBORN.CacheManager/User/RBUserCache.cs
View file @
97066140
...
...
@@ -159,7 +159,8 @@ namespace REBORN.CacheManager.User
B2BDomain
=
b2bDomain
,
Domain
=
domain
,
IsExactness
=
true
,
//ValidateHepler.IsPwd(EmPassword),
SimpleEasy
=
gmodel
.
SimpleEasy
,
SimpleEasy
=
gmodel
.
SimpleEasy
,
IsGroupShow
=
model
.
IsGroupShow
};
try
{
...
...
REBORN.Common/API/UserInfo.cs
View file @
97066140
...
...
@@ -251,5 +251,9 @@ namespace REBORN.Common
/// 0-不是,1-是(简易版报名流程)
/// </summary>
public
int
SimpleEasy
{
get
;
set
;
}
/// <summary>
/// 账号集团共享
/// </summary>
public
int
IsGroupShow
{
get
;
set
;
}
}
}
REBORN.Services.PlatformService/BranchService.cs
View file @
97066140
...
...
@@ -58,6 +58,10 @@ namespace REBORN.Services.PlatformService
{
demodel
.
RB_Group_Id
=
2
;
}
if
(
userInfo
.
SimpleEasy
==
1
&&
userInfo
.
IsGroupShow
!=
1
)
{
demodel
.
BranchIdStr
=
userInfo
.
RB_Branch_id
.
ToString
();
}
var
list
=
branchmodule
.
GetList
(
demodel
);
if
(!
string
.
IsNullOrWhiteSpace
(
request
.
uid
)
&&
request
.
requestFrom
==
Common
.
Enum
.
ApiRequestFromEnum
.
ERP
)
{
...
...
REBORN.Services.UserService/LoginService.cs
View file @
97066140
...
...
@@ -273,6 +273,7 @@ namespace REBORN.Services.UserService
IsExactness
=
IsExactness
,
IsEditTripTemplate
=
IsEditTripTemplate
,
SimpleEasy
=
gmodel
.
SimpleEasy
,
IsGroupShow
=
model
.
IsGroupShow
};
redisHelper
.
StringSet
<
UserInfo
>(
UserModuleCacheKeyConfig
.
USER_Login_Info
+
model
.
EmployeeId
,
obj
,
Config
.
JwtExpirTime
);
redisHelper
.
Set
(
UserModuleCacheKeyConfig
.
USER_SysMenu_StrInfo
+
model
.
EmployeeId
,
userSysMenuStr
,
Config
.
JwtExpirTime
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment