# 内容管理系统 **Repository Path**: daigua4545/content-management-system ## Basic Information - **Project Name**: 内容管理系统 - **Description**: 就是一个草稿箱 可以把项目先提交到这里,经过对接测试后再推到闽大那个库去 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 3 - **Created**: 2022-07-12 - **Last Updated**: 2022-07-21 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README 就是一个草稿箱 可以把项目先提交在这里,通过对接测试后再提交到主仓库里面 ## 服务器:shixinya.top 数据库密码:1589953126_j 后端端口:5000 数据库名称:cms ## 服务器密码:1589953126.j , 可自己去数据库查找数据 ### 上传文件的时候先在自己仓库同步一下,然后推到自己仓库在推到我那个仓库 ### 推文件的时候记得写备注,详细一点,写好自己干了啥 ### 注释很重要!!! 注释很重要!!! 注释很重要!!! ## 数据库表 ``` 用户表(User) Id Guid(关联作者Id和用户Id) 昵称 UserName string 密码 PassWord long 邮箱 Email string 是否是管理员 IsAdministor bool dafult(false) 用户头像Id Guid --添加了用户头像的id 博文表(Blog) 文章id BlogId Guid 标题 BlogTitle string 内容 BlogContent text -->这里我改成了预览内容 类型 CateId int 发布日期 BlogTime dateTime 作者 AuthorId Guid 作者头像 AuthorAvatar -->我加了一个作者头像的字段 博文全部内容表 ----------------------->这里我新增了一张表 文章id BlogId Guid 内容 BlogContent text ( 这样我们加载首页时不需要返回文章所有内容,只需返回 预览内容即可,当我们点击观看文章时才返回所有该片文章 的完整内容,这样有利于我们的加载速度 ) 关注用户表(Attention_Author) id id 用户id UserId Guid 作者id AuthorId Guid 收藏列表(Blog_Collect) id id 收藏用户 UserId Guid 文章编号 BlogId Guid(就是博文Id) 注册表(Register) id id 邮箱 Email string 验证码 Auth_code string 类型表(Categroy) id id 类型名称 CateName string 用户头像表(Avatar)【参照老胡的存放图片信息的表】 id id int 头像文件原名称 OriginName string 头像文件现在的名称 CurrentName string 路径 RelativePath string 头像文件大小 FileSize long 头像文件类型 FileType string 评论表 id id int 评论内容 CommentText string 用户编号 UserId Guid 文章编号 BlogId Guid 公共属性(BaseEntity) id id guid 创建时间 CreateAt DateTime (最后)更新时间 UpdateAt DateTime 创建人的Id CreateBy Guid (最后)更新人的Id UpdateBy Guid 是否启用(默认是) IsActive bool 是否删除 (默认false) IsDelete bool 展示顺序 DisplayOrder int 备注 Remark string ``` ![图片](./%E5%9B%BE%E7%89%87/1.png)