From 8be78e625f9c463fd08f091a7bc2feb9323c5c4b Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 14 Nov 2024 19:12:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/models/subsidy_store_money.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/subsidy_store_money.go b/src/models/subsidy_store_money.go index 1a22a72..9a7f778 100644 --- a/src/models/subsidy_store_money.go +++ b/src/models/subsidy_store_money.go @@ -5,7 +5,7 @@ import ( ) type SubsidyStoreMoney struct { - Id int `json:"id" xorm:"not null pk default 0 INT(11)"` + Id int `json:"id" xorm:"not null pk autoincr INT(11)"` StoreId int `json:"store_id" xorm:"INT(11)"` MerchantId int `json:"merchant_id" xorm:"default 0 INT(11)"` Amount string `json:"amount" xorm:"default 0.00 DECIMAL(20,2)"`