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