Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
X
xiaomai-website-ssr-template
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liguokang
xiaomai-website-ssr-template
Commits
9b50e3d5
Commit
9b50e3d5
authored
Jul 14, 2021
by
liguokang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:
⚡
parent
b4d4e909
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
0 deletions
+17
-0
api/hello.js
+17
-0
No files found.
api/hello.js
0 → 100644
View file @
9b50e3d5
/*
* @Author: liguokang
* @Date: 2021-07-14 21:28:01
* @LastEditors: liguokang
* @LastEditTime: 2021-07-14 21:28:39
* @Description:
* @Copyrigh: ©2021 杭州杰竞科技有限公司 版权所有
*/
// Next.js API route support: https://nextjs.org/docs/api-routes/introduction
import
request
from
'@/utils/request'
;
import
{
getHeaders
}
from
'@/utils/headers'
;
// 约课相关接口
export
default
(
req
,
res
)
=>
{
res
.
status
(
200
).
json
({
name
:
'John Doe'
})
}
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