From c27ed1ab52262e4a6429b674971f054c25ed82bc Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 5 Dec 2024 16:05:07 +0800 Subject: [PATCH] =?UTF-8?q?=E5=B9=BF=E5=91=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/model/advertising_limit.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/advertising_limit.go b/src/model/advertising_limit.go index 1f946e6..46906ae 100644 --- a/src/model/advertising_limit.go +++ b/src/model/advertising_limit.go @@ -1,7 +1,7 @@ package model type AdvertisingLimit struct { - Id int `json:"id" xorm:"not null pk INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` Minute int `json:"minute" xorm:"default 0 INT(11)"` ImeiNum int `json:"imei_num" xorm:"default 0 INT(11)"` Tip string `json:"tip" xorm:"VARCHAR(255)"`