修正模型外键的数据类型为 uint

This commit is contained in:
GeekMaster
2025-05-05 17:27:55 +08:00
parent 7bc55f3ed1
commit 5e59b3a708
9 changed files with 30 additions and 31 deletions

View File

@@ -7,7 +7,7 @@ import (
type SdJob struct {
Id uint `json:"id"`
Type string `json:"type"`
UserId int `json:"user_id"`
UserId uint `json:"user_id"`
TaskId string `json:"task_id"`
ImgURL string `json:"img_url"`
Params types.SdTaskParams `json:"params"`