소스 검색

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
 }