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

[Feature]: 课程综合得分 #87

Open
mouuii opened this issue Sep 19, 2023 · 2 comments
Open

[Feature]: 课程综合得分 #87

mouuii opened this issue Sep 19, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@mouuii
Copy link
Contributor

mouuii commented Sep 19, 2023

cit965 Web端版本

0

cit965 Server端版本

0

功能描述以及必要性描述

怎么给课程算综合分数???

建议和方案

No response

@mouuii mouuii added the enhancement New feature or request label Sep 19, 2023
@lbzss
Copy link
Contributor

lbzss commented Sep 20, 2023

新增评论打分表用于给课程打分0-5分,与用户id和课程关联,用户打分后按均值向上取整更新课程表中的对应字段

@lbzss
Copy link
Contributor

lbzss commented Sep 21, 2023

一个用户对一个课程只能存在一次打分记录,且需要购买后才有打分资格,打分的同时是否需要附上评论?

评论打分表

Field_Name Field_Type Comment
id int32 记录id
course_id int32 课程id
user_id int32 用户id
score int32 分数
comment text 评论内容

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants