# travel **Repository Path**: zmr125/travel ## Basic Information - **Project Name**: travel - **Description**: 文章旅游 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-10-21 - **Last Updated**: 2024-11-13 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 项目介绍 ### 描述项目 ### 需求分析 ### 功能模块 - 用户模块(1) 1. 注册 2. 登录 3. 注销 4. 获取用户头像 5. 获取用户资料 6. 设置用户头像 7. 设置用户资料 8. 找回密码 - 轮播图模块(2) 1. 获取轮播列表 2. 添加/发布轮播图(中端) 3. 删除轮播图图 (中端) 4. 编辑轮播图(中端) - 导航模块(3) 1. 获取导航列表 2. 添加/发布导航(中端) 3. 删除导航(中端) 4. 编辑导航(中端) - 文章模块(攻略)(4) 1. 发布纯文字 2. 发布图文 3. 发布纯图片 4. 获取文章 5. 删除文章 - 评论模块(5) 1. 发表评论 2. 删除评论 3. 回复评论 - 收藏模块(6) 1. 添加收藏 2. 取消收藏 - 城市模块(7) 1. 城市列表 2. 定位 - 管理员模块(8) 1. 管理员登录/注册/注销 2. 用户列表 3. 搜索/查询用户 4. 删除用户 - 邮箱验证(9) 1. 发送邮箱验证码 2. 匹配邮箱验证码 ### 数据库 - 数据库 travel_db - 数据表(字段) 1. 用户表(c_user) id 用户ID(数字 自动生成的) user_id 用户ID(字符串) user_acc 账号 user_pwd 密码 user_nick_name 昵称 user_create_time 注册时间 user_picUrl 头像(可选) user_sex 性别(可选) user_age 年龄(可选) user_address 地址(可选) 2. 管理员表(c_admin) id 管理员ID(数字) admin_id 管理员ID(字符串) admin_acc 账号 admin_pwd 密码 admin_nick_name 昵称 admin_create_time 注册时间 admin_picUrl 头像(可选) 3. 导航表(c_nav) id 导航ID nav_name 导航名称 nav_create_time 创建时间 4. 轮播图表(c_banner) id 轮播图ID banner_pirUrl 图片地址 banner_href 链接地址 banner_title 轮播图标题 5. 文章表(c_article) id 文章id article_id 文字id(字符串) article_title 文章标题 article_author 发布者 article_create_time 发布时间 article_content 文章内容(纯文字/图文/图片) article_type 文章类型 0 1 2 article_address 景点地址 article_tags 标签(徒步/骑行/自驾游) nav_name 导航 6. 收藏表(c_like) id 收藏id article_title 收藏标题 article_id 文章id user_id 用户id 7. 评论表(c_comment) id 评论id comment_content 评论内容 to_user_id 给谁评论 from_user_id 谁写的评论 reply_content 回复内容 article_id 文章id 8. 验证码表(c_comment) id 验证码id email 邮箱 user_acc 账号 code_val 验证码