Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
Dui123
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
王天宇
Dui123
Commits
193c69f9
Commit
193c69f9
authored
Nov 01, 2021
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改页面3
parent
80a73f84
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
8 deletions
+8
-8
users.js
server/routes/users.js
+8
-8
No files found.
server/routes/users.js
View file @
193c69f9
...
...
@@ -13,14 +13,14 @@ const ErrorCode = {
getMysql
.
then
(
Mysql
=>
{
/* GET users listing. */
router
.
get
(
'/getUser'
,
async
(
req
,
res
)
=>
{
res
.
send
({
success
:
true
,
data
:
{
name
:
'王天宇'
,
id
:
1
,
follow
:
[]
}
})
//
res.send({
//
success: true,
//
data: {
//
name: '王天宇',
//
id: 1,
//
follow: []
//
}
//
})
const
{
sso_ticket
}
=
req
.
cookies
...
...
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