Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jiaoyou_doc
Project
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
jixudong
jiaoyou_doc
Commits
1d216b82
Commit
1d216b82
authored
Jan 13, 2021
by
李进峰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
80c496c2
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
作品配置.md
dyna_data/作品配置.md
+10
-10
No files found.
dyna_data/作品
用户
配置.md
→
dyna_data/作品配置.md
View file @
1d216b82
##### 插入用户作品关联
##### 插入用户作品信息
##### 插入用户作品关联
##### 插入用户作品信息
URL: {基本地址}/work
/user
URL: {基本地址}/work
METHOD: POST
METHOD: POST
...
@@ -15,7 +15,7 @@ RequestBody:
...
@@ -15,7 +15,7 @@ RequestBody:
```
```
{
{
"workName":"野蛮女友",
"workName":"野蛮女友",
"
username":"test
"
"
members":"test,qiwu
"
}
}
```
```
...
@@ -31,7 +31,7 @@ SUCCESS:
...
@@ -31,7 +31,7 @@ SUCCESS:
##### 更新用户作品关联
##### 更新用户作品关联
URL: {基本地址}/work
/user
URL: {基本地址}/work
METHOD: PUT
METHOD: PUT
...
@@ -47,7 +47,7 @@ RequestBody:
...
@@ -47,7 +47,7 @@ RequestBody:
{
{
"id": 1, // 更新时候要带着id
"id": 1, // 更新时候要带着id
"workName": "遇见伽利略", // 作品名
"workName": "遇见伽利略", // 作品名
"
username
": "test" // 用户名
"
members
": "test" // 用户名
}
}
```
```
...
@@ -63,7 +63,7 @@ SUCCESS:
...
@@ -63,7 +63,7 @@ SUCCESS:
##### 删除用户作品关联
##### 删除用户作品关联
URL: {基本地址}/work
/user
?id={拼接作品关联的ID}
URL: {基本地址}/work?id={拼接作品关联的ID}
METHOD: DELETE
METHOD: DELETE
...
@@ -86,7 +86,7 @@ SUCCESS:
...
@@ -86,7 +86,7 @@ SUCCESS:
##### 获取所有用户作品关联关系
##### 获取所有用户作品关联关系
URL: {基本地址}/work/
user/
all
URL: {基本地址}/work/all
METHOD: POST
METHOD: POST
...
@@ -108,14 +108,14 @@ SUCCESS:
...
@@ -108,14 +108,14 @@ SUCCESS:
{
{
"id": 1,
"id": 1,
"workName": "小狗小白", // 作品名
"workName": "小狗小白", // 作品名
"
username
": "test", // 绑定的用户名
"
members
": "test", // 绑定的用户名
"createTime": 1610106341000, // 创建时间
"createTime": 1610106341000, // 创建时间
"updateTime": 1610106341000 // 更新时间
"updateTime": 1610106341000 // 更新时间
},
},
{
{
"id": 2,
"id": 2,
"workName": "野蛮女友", // 作品名
"workName": "野蛮女友", // 作品名
"
username
": "test", // 绑定的用户名
"
members
": "test", // 绑定的用户名
"createTime": 1610106366000, // 创建时间
"createTime": 1610106366000, // 创建时间
"updateTime": 1610106366000 // 更新时间
"updateTime": 1610106366000 // 更新时间
}
}
...
...
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