From fd05b017a5080f978f73ecc18f4a57dc5821639e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BF=83=E9=9A=A8=E7=B7=A3=E5=8B=95?= Date: Sun, 21 Sep 2025 00:12:16 +0800 Subject: [PATCH] Optimize the sorting method of [Inbound List ID] --- database/model/model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/model/model.go b/database/model/model.go index ff37d6ed..f54db7b3 100644 --- a/database/model/model.go +++ b/database/model/model.go @@ -27,7 +27,7 @@ type User struct { } type Inbound struct { - Id int `json:"id" form:"id" gorm:"primaryKey;autoIncrement"` + Id int `json:"id" form:"id" gorm:"primaryKey"` UserId int `json:"-"` Up int64 `json:"up" form:"up"` Down int64 `json:"down" form:"down"`