|
@@ -498,7 +498,7 @@ func VirtualCoinOrderRelateDeleteByOid(sess *xorm.Session, oid int64, pvd string |
|
|
return 1, nil |
|
|
return 1, nil |
|
|
} |
|
|
} |
|
|
func TikTokTeamOrderRelateDeleteByOid(sess *xorm.Session, oid int64, pvd string) (int64, error) { |
|
|
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 { |
|
|
if err != nil { |
|
|
return 0, err |
|
|
return 0, err |
|
|
} |
|
|
} |
|
|