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

new function #87

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

new function #87

wants to merge 1 commit into from

Conversation

Ancious-bai
Copy link

前端管理部分功能实现

@Ancious-bai Ancious-bai marked this pull request as draft November 4, 2024 12:45
@Ancious-bai Ancious-bai marked this pull request as ready for review November 4, 2024 12:45
@Ancious-bai Ancious-bai marked this pull request as draft November 4, 2024 12:45
@Ancious-bai Ancious-bai marked this pull request as ready for review November 4, 2024 12:46
@Ancious-bai Ancious-bai marked this pull request as draft November 4, 2024 12:46
@Ancious-bai Ancious-bai marked this pull request as ready for review November 4, 2024 12:47
Copy link
Owner

@Durancer Durancer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

你好,很高兴收到你的贡献!
我大概看了你的改动,有几点问题建议
1、其实帖子管理这块已经做了,可能issue没有及时更新
2、管理站是有专门再起一个项目的,不是在这个前端项目直接修改的
3、看你使用了jpa,在本项目最后是规范一个持久层框架
4、很多代码其实是已有的,建议可以先熟悉熟悉项目,再对指定issue进行开发。
5、可以先联系我(qq群主),避免与其他贡献者做重功能

我会再周末补充贡献接入文档,补充贡献相关流程

"vite-plugin-compression": "^0.5.1",
"vite-plugin-svg-icons": "^2.0.1",
"vue-tsc": "^1.2.0"
}
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

这个地方是搞错了吗
包文件变成了vue文件

@Entity
public class Post {
@Id
@GeneratedValue(strategy = GenerationType.IDENTITY)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

项目是使用mybatis-plus的,同一个项目不太建议用不同的持久层框架
可以直接在mp进行数据库操作


import java.util.List;

@RestController
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

类上应补充doc注释

@GeneratedValue(strategy = GenerationType.IDENTITY)
private Long id;
private String title;
private String content;
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

字段应提供注释

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

Successfully merging this pull request may close these issues.

2 participants