Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
D
data-center-auto
Overview
Overview
Details
Activity
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
bltdc
data-center-auto
Commits
7f8c69e6
Commit
7f8c69e6
authored
Jun 04, 2020
by
泽锋 李
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
记录token 至cookie 里面
parent
e3b519dc
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
+3
-0
UserFilterAttribute.cs
AutoTurnOver/Models/UserFilterAttribute.cs
+3
-0
No files found.
AutoTurnOver/Models/UserFilterAttribute.cs
View file @
7f8c69e6
...
...
@@ -54,6 +54,9 @@ namespace AutoTurnOver.Models
}
if
(
token
!=
null
)
{
context
.
Response
.
Cookies
.
Delete
(
"BailunToken"
);
context
.
Response
.
Cookies
.
Append
(
"BailunToken"
,
token
,
new
CookieOptions
{
Domain
=
"bailuntec.com"
});
var
getTokenValid
=
ConfigHelper
.
GetValue
(
"Saas_GetTokenValid"
).
ToString
();
var
getUser
=
ConfigHelper
.
GetValue
(
"Saas_GetUser"
).
ToString
();
var
getMenus
=
ConfigHelper
.
GetValue
(
"Saas_GetMenus"
).
ToString
();
...
...
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