Skip to content

Commit de40b82

Browse files
author
lan-air
committed
资源本地化,管理面板,口令转二维码
1 parent 14653ab commit de40b82

File tree

21 files changed

+161
-27
lines changed

21 files changed

+161
-27
lines changed

.gitignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
media/
22
logs/
33
.idea
4-
static/
4+
/static/upload
55
__pycache__/
66
*.py[cod]
77
*$py.class

database.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,4 +20,6 @@ class Codes(Base):
2020
type = Column(String(20))
2121
text = Column(String(500))
2222
used = Column(Boolean, default=False)
23+
count = Column(Integer, default=-1)
2324
use_time = Column(DateTime, default=datetime.datetime.now, onupdate=datetime.datetime.now)
25+
exp_time = Column(DateTime, nullable=True)

images/img.png

66.8 KB
Loading

images/img_1.png

51.9 KB
Loading

images/img_2.png

60.7 KB
Loading

images/img_3.png

44.1 KB
Loading

images/img_4.png

34.1 KB
Loading

images/img_5.png

51.5 KB
Loading

images/取件.png

-60.8 KB
Binary file not shown.

images/取件箱.png

-52.1 KB
Binary file not shown.

0 commit comments

Comments
 (0)