From 2c7023a36ddd84b2f16f3335d6ca7c507ab60bca Mon Sep 17 00:00:00 2001 From: ping <1017253325@qq.com> Date: Wed, 5 Aug 2026 17:09:21 +0800 Subject: [PATCH 1/2] update --- b/baiducloud/get_baidu_orderlist.dspy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/b/baiducloud/get_baidu_orderlist.dspy b/b/baiducloud/get_baidu_orderlist.dspy index 0f246f7..8df1f84 100644 --- a/b/baiducloud/get_baidu_orderlist.dspy +++ b/b/baiducloud/get_baidu_orderlist.dspy @@ -449,7 +449,7 @@ async def get_baidu_orderlist(ns={}): # 获取余额 user_balance = await getCustomerBalance(sor, orgid[0]['id']) # 判断余额是否大于50 - if user_balance < 5000000: + if user_balance < 500: await sor.rollback() paydata = {'queryAccountId': baidu_users[0]['baidu_id'], 'orderIds': [ns.get('order_id')]} ns_format = '&'.join(['%s=%s' % (k, v) for k, v in ns.items()]) From 8c6bd7307b7d8a6076f410376bf0e3fa47ff750e Mon Sep 17 00:00:00 2001 From: ping <1017253325@qq.com> Date: Thu, 6 Aug 2026 11:13:43 +0800 Subject: [PATCH 2/2] updatge --- b/news/front_news_search.dspy | 5 +---- b/news/news_article_search.dspy | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/b/news/front_news_search.dspy b/b/news/front_news_search.dspy index c24eb05..88dd061 100644 --- a/b/news/front_news_search.dspy +++ b/b/news/front_news_search.dspy @@ -34,10 +34,7 @@ async def front_news_search(ns={}): publish_time_zh, publish_time_en, read_count from enterprise_news_article where %s - order by greatest( - ifnull(publish_time_zh, '1000-01-01'), - ifnull(publish_time_en, '1000-01-01') - ) desc, update_time desc + order by publish_time_zh desc, update_time desc limit %s offset %s; """ % (where_clause, page_size, offset) result = await sor.sqlExe(search_sql, {}) diff --git a/b/news/news_article_search.dspy b/b/news/news_article_search.dspy index bfbc28a..d967363 100644 --- a/b/news/news_article_search.dspy +++ b/b/news/news_article_search.dspy @@ -88,7 +88,7 @@ async def news_article_search(ns={}): 'status': True, 'msg': 'search news article success', 'data': result, - 'article_type_summary_zh': article_type_summary_zh, + 'article_type_summary': article_type_summary_zh, 'article_type_summary_en': article_type_summary_en, 'pagination': { 'total': total_count,