Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
Project
Project
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
方斌
51business
Commits
6ec8fbba
Commit
6ec8fbba
authored
Sep 24, 2019
by
李尚科
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
course router fix
parent
47a0a007
Pipeline
#14072
passed with stage
in 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
course.js
app/router/course.js
+5
-5
No files found.
app/router/course.js
View file @
6ec8fbba
...
@@ -19,11 +19,11 @@ module.exports = app => {
...
@@ -19,11 +19,11 @@ module.exports = app => {
router
.
post
(
'third'
,
'/user/auth'
,
'course.user.auth'
);
//微信授权登录
router
.
post
(
'third'
,
'/user/auth'
,
'course.user.auth'
);
//微信授权登录
router
.
post
(
'third'
,
'/user/register_user'
,
miniAuth
,
'course.user.registerUserInfo'
);
//授权后注册用户
router
.
post
(
'third'
,
'/user/register_user'
,
miniAuth
,
'course.user.registerUserInfo'
);
//授权后注册用户
router
.
get
(
'third'
,
'/user/baby'
,
'course.user.getBabyInfo'
);
//获取baby信息
router
.
get
(
'third'
,
'/user/baby'
,
miniAuth
,
'course.user.getBabyInfo'
);
//获取baby信息
router
.
post
(
'third'
,
'/user/baby'
,
'course.user.saveBabyInfo'
);
//保存baby信息
router
.
post
(
'third'
,
'/user/baby'
,
miniAuth
,
'course.user.saveBabyInfo'
);
//保存baby信息
router
.
delete
(
'third'
,
'/user/baby'
,
'course.user.delBabyInfo'
);
//删除baby信息
router
.
delete
(
'third'
,
'/user/baby'
,
miniAuth
,
'course.user.delBabyInfo'
);
//删除baby信息
router
.
get
(
'third'
,
'/user/collection/institution'
,
'course.user.getCollectInstitutions'
);
//收藏的机构列表
router
.
get
(
'third'
,
'/user/collection/institution'
,
miniAuth
,
'course.user.getCollectInstitutions'
);
//收藏的机构列表
router
.
post
(
'third'
,
'/user/collection/institution'
,
'course.user.collectInstitution'
);
//收藏机构
router
.
post
(
'third'
,
'/user/collection/institution'
,
miniAuth
,
'course.user.collectInstitution'
);
//收藏机构
};
};
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