Skip to content

Commit 34372cf

Browse files
committed
chore: 升级核心库版本号为0.2.0b1
1 parent 4dee947 commit 34372cf

5 files changed

Lines changed: 10 additions & 7 deletions

File tree

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ __pycache__
66
*.pytest_cache/
77
*.db
88
*.pyc
9-
*.cpython-36.pyc
9+
*.cpython-36.pyc
10+
app/assets/*

Pipfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Flask = "==1.0.2"
1212
Flask-SQLAlchemy = "==2.3.2"
1313
Flask-WTF = "==0.14.2"
1414
Flask-Cors = "==2.1.0"
15-
Lin-CMS = "==0.1.1b4"
15+
Lin-CMS = "==0.2.0b1"
1616

1717
[dev-packages]
1818
pytest = "*"

README.md

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,9 +35,9 @@ Lin-CMS 是林间有风团队经过大量项目实践所提炼出的一套**内
3535

3636
## 最新版本
3737

38-
核心库:0.1.1b3
38+
核心库:0.2.0b1
3939

40-
示例工程:0.1.0-beta.2
40+
示例工程:0.2.0-beta.1
4141

4242

4343
### 文档地址
@@ -177,4 +177,6 @@ pipenv shell
177177

178178
## 下个版本开发计划
179179

180-
- [ ] 系统访问日志、错误日志
180+
- [x] 系统访问日志、错误日志
181+
- [ ] 完善文档
182+
- [ ] 重构核心库结构

app/api/cms/user.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,7 @@ def set_avatar():
143143
form = AvatarUpdateForm().validate_for_api()
144144
user = get_current_user()
145145
with db.auto_commit():
146-
user.avatar = form.avatar.data
146+
user._avatar = form.avatar.data
147147
return Success(msg='更新头像成功')
148148

149149

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Flask-WTF==0.14.2
1010
idna==2.6
1111
itsdangerous==1.1.0
1212
Jinja2==2.10
13-
Lin-CMS==0.1.1b4
13+
Lin-CMS==0.2.0b1
1414
MarkupSafe==1.1.1
1515
pipfile==0.0.2
1616
PyJWT==1.7.1

0 commit comments

Comments
 (0)