回退了更多阶段的修改

This commit is contained in:
2026-06-17 04:13:14 +08:00
parent 004012b59f
commit 61ddf81fb0
4 changed files with 95 additions and 308 deletions

View File

@@ -148,8 +148,8 @@ class DianpuShouzhiMeiriTongji(QModel):
class YonghuDianpuBangding(QModel):
id = models.AutoField(primary_key=True, verbose_name='绑定自增ID')
yonghu = models.ForeignKey(
'gvsdsdk.User',
to_field='YonghuID',
'users.UserMain', # 🔥 完整路径
to_field='yonghuid',
on_delete=models.CASCADE,
db_index=True,
verbose_name='用户ID'