Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查看平台所有项目名称及封面 #304

Open
Darkone0 opened this issue Mar 17, 2020 · 2 comments
Open

查看平台所有项目名称及封面 #304

Darkone0 opened this issue Mar 17, 2020 · 2 comments
Labels
2.0 webserver webserver task

Comments

@Darkone0
Copy link
Contributor

API: GET: /v1/projects/all

{"projects" : [{
	“projectID” : int ,
	“projectName” : string ,
	“projectCoverUrl” : string,
	“memberList” : [{
		userID : int,
		userName : string,
		headShotUrl : string,
		},
		...
	]},
	...
]}
@Darkone0 Darkone0 added webserver webserver task 2.0 labels Mar 17, 2020
@Sonorous77
Copy link
Contributor

let me fix.

@Sonorous77
Copy link
Contributor

  1. 在controller中定义GetAllProjectsInfo函数,判断已登陆用户id是否合法,并注册对应路由
  2. 在models中定义GetAllProjectsInfo函数,获取平台所有项目信息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.0 webserver webserver task
Projects
None yet
Development

No branches or pull requests

2 participants