Преглед на файлове

Merge branch 'cygx_check_table' of http://8.136.199.33:3000/hongze/hongze_cygx into debug

xingzai преди 1 година
родител
ревизия
590097e176
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      models/wx_user.go

+ 1 - 1
models/wx_user.go

@@ -54,7 +54,7 @@ type WxUser struct {
 
 // 添加用户信息
 func AddWxUser(item *WxUser) (lastId int64, err error) {
-	o := orm.NewOrm()
+	o := orm.NewOrmUsingDB("weekly_report")
 	lastId, err = o.Insert(item)
 	return
 }