Commit f8fd171c20e1a0740a7e93d282ffdc4949412248

Authored by 陆恒
1 parent 08ad39c8
Exists in master

提交

Showing 1 changed file with 1 additions and 1 deletions   Show diff stats
src/mysql/dbmysql.go
... ... @@ -85,7 +85,7 @@ func TestClearData(uid int) (int,error) {
85 85  
86 86 func DoAddGold(uuid,gold,love int) error {
87 87 for i:=0;i<10;i++ {
88   - tablename := "b_base_data_0" + strconv.Itoa(i)
  88 + tablename := "b_user_ext_0" + strconv.Itoa(i)
89 89 cmd := "update " + tablename + " set coin = " + strconv.Itoa(gold) + " where user_id= " + strconv.Itoa(uuid)
90 90 err := ExcuteCmd(cmd)
91 91 if err != nil {
... ...