# 功能点Demo
**Repository Path**: WTBU_CS/2025Graduation_Project_Demo
## Basic Information
- **Project Name**: 功能点Demo
- **Description**: 功能点Demo,网页嵌入ai大模型对话浮窗
- **Primary Language**: Java
- **License**: MulanPSL-2.0
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2025-01-24
- **Last Updated**: 2025-03-25
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
# 毕设项目功能点Demo
- graduation_proj_backend 后端文件夹
- graduation_proj_frontend 前端文件夹
## 功能点
### 操作数据库Demo
### Mybatis基本增删改查demo
### 注册登录(通用)
- [ ] 图片验证码
- [ ] 手机验证码
- [x] 邮箱验证码
关键代码:graduation_proj_backend/src/main/java/edu/wtbu/cs/bishe/service/impl/EmailServiceImpl.java
引入邮箱依赖:
```xml
org.springframework.boot
spring-boot-starter-mail
```
项目application.properties 配置邮件服务器 用户密码
```
# 邮箱配置 配置邮箱的服务器 协议 填写自己的邮箱密码
spring.mail.host=smtp.qiye.aliyun.com
spring.mail.port=465
spring.mail.username=chende@wtbu.edu.cn
spring.mail.password=********
spring.mail.properties.mail.smtp.auth=true
spring.mail.protocol=smtps
spring.mail.properties.mail.smtp.from=chende@wtbu.edu.cn
spring.mail.properties.mail.smtp.ssl.trust=*
# SSL加密配置
spring.mail.properties.mail.smtp.ssl.enable=true
spring.mail.properties.mail.smtp.connectiontimeout=5000
spring.mail.properties.mail.smtp.timeout=5000
spring.mail.properties.mail.smtp.writetimeout=5000
```
- [ ] 人脸验证
- [ ] 指纹验证
### 第三方登录
跳转到微信登录、跳转到github登录
### 富文本编辑器(个人博客)
### 视频播放(在线课程学习)
### 支付Demo*
- [x] 支付宝沙箱
沙箱买家信息(用于登录、支付):买家账号hluxcn1423@sandbox.com/登录密码111111/支付密码111111
```xml
com.alipay.sdk
alipay-sdk-java
4.35.0.ALL
```
具体支付后端代码:graduation_proj_backend/src/main/java/edu/wtbu/cs/bishe/controller/AlipayController.java
前端只是一个链接请求到后端:graduation_proj_backend/src/main/resources/static/index.html
示例demo项目支付界面:

跳转到支付宝沙箱支付登录界面:

付款界面:

支付成功返回界面:
