From 3ffcf3c5f3450b218ae7c767d687309b1b531c9c Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 31 Aug 2022 11:13:40 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=8C=BA=E5=9D=97=E6=98=9F=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- db/model/block_star_chain.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/db/model/block_star_chain.go b/db/model/block_star_chain.go index e8d2fe1..9311746 100644 --- a/db/model/block_star_chain.go +++ b/db/model/block_star_chain.go @@ -7,9 +7,9 @@ import ( type BlockStarChain struct { Id int `json:"id" xorm:"not null pk autoincr comment('主键id') INT(11)"` IsUse int `json:"is_use" xorm:"not null default 0 comment('是否开启(否:0;是:1)') TINYINT(1)"` - Coin1 int `json:"coin_1" xorm:"not null default 0 comment('coinId_1(类似于区块币)') INT(11)"` - Coin2 int `json:"coin_2" xorm:"not null default 0 comment('coinId_2(类似于静态贡献值)') INT(11)"` - Coin3 int `json:"coin_3" xorm:"not null default 0 comment('coinId_3(类似于动态贡献值)') INT(11)"` + Coin1 int `json:"coin1" xorm:"not null default 0 comment('coinId_1(类似于区块币)') INT(11)"` + Coin2 int `json:"coin2" xorm:"not null default 0 comment('coinId_2(类似于静态贡献值)') INT(11)"` + Coin3 int `json:"coin3" xorm:"not null default 0 comment('coinId_3(类似于动态贡献值)') INT(11)"` InitialEverydayPublishCoin string `json:"initial_everyday_publish_coin" xorm:"not null default 0.0000000000 comment('初始每日区块币发行数量') DECIMAL(28,10)"` NowEverydayPublishCoin string `json:"now_everyday_publish_coin" xorm:"not null default 0.0000000000 comment('当前每日区块币发行数量') DECIMAL(28,10)"` TodayPublishCoin string `json:"today_publish_coin" xorm:"not null default 0.0000000000 comment('今日区块币发行数量(若为0,则按当前每日区块币发行数量)') DECIMAL(28,10)"`