From f8fd171c20e1a0740a7e93d282ffdc4949412248 Mon Sep 17 00:00:00 2001 From: 陆恒 Date: Tue, 2 Jun 2020 11:53:10 +0800 Subject: [PATCH] 提亀 --- src/mysql/dbmysql.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mysql/dbmysql.go b/src/mysql/dbmysql.go index 4745d97..3f871ea 100644 --- a/src/mysql/dbmysql.go +++ b/src/mysql/dbmysql.go @@ -85,7 +85,7 @@ func TestClearData(uid int) (int,error) { func DoAddGold(uuid,gold,love int) error { for i:=0;i<10;i++ { - tablename := "b_base_data_0" + strconv.Itoa(i) + tablename := "b_user_ext_0" + strconv.Itoa(i) cmd := "update " + tablename + " set coin = " + strconv.Itoa(gold) + " where user_id= " + strconv.Itoa(uuid) err := ExcuteCmd(cmd) if err != nil { -- libgit2 0.21.0