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
3df356ab
Commit
3df356ab
authored
Jan 10, 2022
by
wty
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增接口获取埋点数据
parent
f4818142
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
0 deletions
+15
-0
md.js
server/routes/md.js
+15
-0
No files found.
server/routes/md.js
View file @
3df356ab
...
...
@@ -22,6 +22,21 @@ router.get('/addMd', async (req, res) => {
console
.
error
(
e
)
res
.
send
({
success
:
false
,
err
:
e
})
}
})
router
.
get
(
'/queryAllMd'
,
async
(
req
,
res
)
=>
{
const
SQL
=
'SELECT * FROM md'
try
{
const
mdInfo
=
await
query
(
SQL
,[])
res
.
send
({
success
:
true
,
data
:
mdInfo
})
}
catch
(
e
){
console
.
error
(
e
)
res
.
send
({
success
:
false
,
err
:
e
})
}
})
...
...
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