This commit is contained in:
27942
2025-10-20 15:26:23 +08:00
parent f9a0b8f487
commit 0e7b3669f9
4 changed files with 98 additions and 3 deletions

Binary file not shown.

View File

@@ -27,6 +27,18 @@ class Weex1(Model):
table_name = 'weex_1'
class Weex1Hour(Model):
id = IntegerField(primary_key=True)
open = FloatField(null=True)
high = FloatField(null=True)
low = FloatField(null=True)
close = FloatField(null=True)
class Meta:
database = db
table_name = 'weex_1_hour'
# 连接到数据库
db.connect()