feat: 添加期刊二维码管理功能,调整UserJournal的UserId为可空类型

1.  新增数据库脚本修改User表UserId字段为可空
2.  新增期刊二维码CRUD接口与控制器
3.  重构绑定期刊逻辑,优化重复绑定校验
4.  删除冗余的JwtHelper重载方法
This commit is contained in:
glz
2026-07-01 17:05:38 +08:00
parent 07614b5fe6
commit b95c5029f1
6 changed files with 438 additions and 29 deletions

View File

@ -20,7 +20,7 @@ namespace QYZH.InteractiveMagazine.Models.Entity
/// Nullable:False
/// </summary>
[SugarColumn(ColumnName = "UserId")]
public long UserId { get; set; }
public long? UserId { get; set; }
/// <summary>
/// Desc:期刊模板Id对应Journal表的期刊定义