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)"`