mirror of
https://github.com/yangjian102621/geekai.git
synced 2026-02-04 05:26:03 +08:00
修正模型外键的数据类型为 uint
This commit is contained in:
@@ -113,8 +113,8 @@ func (h *ChatAppHandler) List(c *gin.Context) {
|
||||
role.Id = v.Id
|
||||
role.CreatedAt = v.CreatedAt.Unix()
|
||||
role.UpdatedAt = v.UpdatedAt.Unix()
|
||||
role.ModelName = modelNameMap[role.ModelId]
|
||||
role.TypeName = typeNameMap[role.Tid]
|
||||
role.ModelName = modelNameMap[int(role.ModelId)]
|
||||
role.TypeName = typeNameMap[int(role.Tid)]
|
||||
roles = append(roles, role)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user