abiao лет назад: 5
Родитель
Сommit
6c0971fd3f
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      go/gopath/src/fohow.com/apps/models/economic_model/cent_economic.go

+ 1 - 1
go/gopath/src/fohow.com/apps/models/economic_model/cent_economic.go

@@ -52,7 +52,7 @@ type CentEconomic struct {
 
 
 func (self *CentEconomic) GetTable(WxUserId int64) string {
 func (self *CentEconomic) GetTable(WxUserId int64) string {
 	split := WxUserId % 10 // TODO: 这里先粗暴的分 10 张表
 	split := WxUserId % 10 // TODO: 这里先粗暴的分 10 张表
-	return fmt.Sprintf("cent%d_balance", split)
+	return fmt.Sprintf("cent%d_balances", split)
 }
 }
 
 
 func (self *CentEconomic) Create(wxUId, c int64, s, rId, remark string, o orm.Ormer) (item *CentEconomic) {
 func (self *CentEconomic) Create(wxUId, c int64, s, rId, remark string, o orm.Ormer) (item *CentEconomic) {