From aaca6b47edd1b6e6b2159c31fe262ba565e38357 Mon Sep 17 00:00:00 2001 From: zzlgreat Date: Mon, 15 Dec 2025 13:44:44 +0800 Subject: [PATCH] update pay ui --- MP_verify_17Fo4JhapMw6vtNa.txt | 1 + app_vx.py | 13 +------------ nginx-110.42.32.207.conf | 17 ++++++++++++++++- 3 files changed, 18 insertions(+), 13 deletions(-) create mode 100644 MP_verify_17Fo4JhapMw6vtNa.txt diff --git a/MP_verify_17Fo4JhapMw6vtNa.txt b/MP_verify_17Fo4JhapMw6vtNa.txt new file mode 100644 index 00000000..6792be56 --- /dev/null +++ b/MP_verify_17Fo4JhapMw6vtNa.txt @@ -0,0 +1 @@ +17Fo4JhapMw6vtNa diff --git a/app_vx.py b/app_vx.py index b5078fab..3580a135 100644 --- a/app_vx.py +++ b/app_vx.py @@ -5920,7 +5920,6 @@ def api_calendar_events(): fact, \ related_stocks, \ concepts, \ - inferred_tag, \ second_modified_text, \ `second_modified_text.1` as second_modified_text_1, \ best_matches @@ -5947,11 +5946,6 @@ def api_calendar_events(): query += f" AND star IN ({placeholders})" for i, imp in enumerate(importance_list): params[f'imp_{i}'] = imp - if category != 'all': - # category参数用于筛选inferred_tag字段(如"大周期"、"大消费"等) - query += " AND inferred_tag = :category" - params['category'] = category - # 新增搜索条件 if search_query: # 使用LIKE进行模糊搜索,同时搜索title和related_stocks字段 @@ -5992,9 +5986,6 @@ def api_calendar_events(): elif len(importance_list) > 1: placeholders = ', '.join([f':imp_{i}' for i in range(len(importance_list))]) count_query += f" AND star IN ({placeholders})" - if category != 'all': - count_query += " AND inferred_tag = :category" - # 新增搜索条件到计数查询 if search_query: count_query += """ AND ( @@ -6157,11 +6148,9 @@ def api_calendar_events(): 'category': { 'event_type': event.type, 'importance': event.star, - 'star_rating': star_rating, - 'inferred_tag': event.inferred_tag # 添加inferred_tag到返回数据 + 'star_rating': star_rating }, 'star_rating': star_rating, - 'inferred_tag': event.inferred_tag, # 直接返回行业标签 'related_concepts': related_concepts, 'related_stocks': related_stocks_list, 'related_avg_chg': round(related_avg_chg, 2), diff --git a/nginx-110.42.32.207.conf b/nginx-110.42.32.207.conf index 69325eed..abf898b9 100644 --- a/nginx-110.42.32.207.conf +++ b/nginx-110.42.32.207.conf @@ -136,7 +136,7 @@ server { # 上交所行情(本地服务) location /ws/sse { - proxy_pass http://127.0.0.1:8765; + proxy_pass http://101.43.133.214:8765; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection $connection_upgrade; @@ -658,6 +658,21 @@ server { add_header Content-Type text/plain; } + # ============================================ + # 微信域名验证 + # ============================================ + # 微信公众号网页授权域名验证 + location = /MP_verify_17Fo4JhapMw6vtNa.txt { + return 200 '17Fo4JhapMw6vtNa'; + add_header Content-Type text/plain; + } + + # 微信开放平台域名校验 + location = /gvQnxIQ5Rs.txt { + return 200 'd526e9e857dbd2621e5100811972e8c5'; + add_header Content-Type text/plain; + } + # ============================================ # 默认返回 404 # ============================================