|
@@ -169,7 +169,7 @@ type HistoryChat struct {
|
|
|
|
|
|
// 修改
|
|
|
func (obj *AiChatTopic) Update(updateParams, whereParam map[string]interface{}) (err error) {
|
|
|
- to := orm.NewOrm()
|
|
|
+ to := orm.NewOrmUsingDB("ai")
|
|
|
ptrStructOrTableName := "ai_chat_topic"
|
|
|
|
|
|
qs := to.QueryTable(ptrStructOrTableName)
|