doc: 变更记录

This commit is contained in:
wangjie 2025-08-02 11:43:46 +08:00
parent 20316abc31
commit 60cb7b8d50

View File

@ -75,4 +75,10 @@ type User struct {
Role int `gorm:"column:role;default:1;type:int;comment:1表示普通用户,2表示管理员"`
}
```
```
## 版本变更记录(从v1.0.5开始记录)
### v1.0.5 2025-08-02
#### 变更
- 修改GORM封装方法中的AND使其代替原本的Ors函数防止SQL注入