From 743f36ef9dadd6a7f32bb40bc1778c8f9c1ed130 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 28 Nov 2024 11:02:09 +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_space.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/model/advertising_space.go b/src/model/advertising_space.go index a16a566..4e4997d 100644 --- a/src/model/advertising_space.go +++ b/src/model/advertising_space.go @@ -1,7 +1,7 @@ package model type AdvertisingSpace struct { - Id int `json:"id" xorm:"not null pk INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` Name string `json:"name" xorm:"VARCHAR(255)"` Kind int `json:"kind" xorm:"not null default 1 comment('广告类型(1:开屏广告 2:插屏广告 3:激励视频 4:信息流广告)') TINYINT(1)"` Info string `json:"info" xorm:"TEXT"`