From dec244d44895bbe4df7cc433e416cc38941ef794 Mon Sep 17 00:00:00 2001 From: huangjiajun <582604932@qq.com> Date: Thu, 14 Dec 2023 10:11:43 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/db/db_order.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/db/db_order.go b/app/db/db_order.go index db08e27..4f11f47 100644 --- a/app/db/db_order.go +++ b/app/db/db_order.go @@ -498,7 +498,7 @@ func VirtualCoinOrderRelateDeleteByOid(sess *xorm.Session, oid int64, pvd string return 1, nil } func TikTokTeamOrderRelateDeleteByOid(sess *xorm.Session, oid int64, pvd string) (int64, error) { - _, err := Db.Where("oid=? and pvd=?", oid, pvd).Delete(model.TikTokTeamOrderRelate{}) + _, err := sess.Where("oid=? and pvd=?", oid, pvd).Delete(model.TikTokTeamOrderRelate{}) if err != nil { return 0, err }