Merge branch 'main' of git.opencomputing.cn:yumoqing/kboss

This commit is contained in:
hrx 2026-05-23 15:28:00 +08:00
commit 5d51e1b516
2 changed files with 5 additions and 0 deletions

View File

@ -79,6 +79,9 @@ async def getbz_order(ns={}):
# ns['total_discount_amount'] = total_discount_amount
# ns['total_count'] = total_count[0]['total_count'] if total_count else 0
# 排除大模型订单
sql += " AND og.is_big_model = 0"
count_sql += " AND og.is_big_model = 0"
# 根据订单号搜索
if ns.get('id'):

View File

@ -362,6 +362,7 @@ async def process_user_billing(ns={}):
'originalprice': round(originalprice, 12),
'ordertype': 'prepay',
'servicename': productname,
'is_big_model': 1
}
await sor.C('bz_order', bz_ns)
@ -380,6 +381,7 @@ async def process_user_billing(ns={}):
'resourceids': '',
'resourcestarttime': now_str,
'resourceendtime': None,
'is_big_model': 1
}
await sor.C('order_goods', goods_ns)