Commit Graph

1305 Commits

Author SHA1 Message Date
f37d39af31 update pay ui 2025-12-11 22:36:02 +08:00
23cbc13546 update pay ui 2025-12-11 21:34:20 +08:00
8b67e9b3cc update pay ui 2025-12-11 21:28:57 +08:00
66a8cc1c79 update pay ui 2025-12-11 21:15:09 +08:00
8991e96421 update pay ui 2025-12-11 21:11:43 +08:00
e66e5f63de update pay ui 2025-12-11 17:23:53 +08:00
65c10c0e53 update pay ui 2025-12-11 17:00:05 +08:00
ed9e795079 update pay ui 2025-12-11 16:41:13 +08:00
300ce4e2dd update pay ui 2025-12-11 15:01:54 +08:00
3c1721ec38 update pay ui 2025-12-11 14:58:13 +08:00
eb2d115241 update pay ui 2025-12-11 14:48:00 +08:00
bb20d4c7fa update pay ui 2025-12-11 14:40:54 +08:00
f0d54e1b97 Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-11 14:23:34 +08:00
b589e39c57 update pay ui 2025-12-11 14:23:25 +08:00
zdl
b5503187dc Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui
* 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react:
  update pay ui
  update pay ui
  update pay ui
  update pay ui
  update pay ui
2025-12-11 14:17:26 +08:00
zdl
6d4fe6065d fix: 移除 Home 页面容器 zIndex,修复客服按钮被遮挡问题
- HomePage.tsx: Container 移除 zIndex={30}
- 客服按钮 zIndex=10,之前被 30 的层级覆盖无法点击
- 移除后不影响页面内部布局

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 14:14:47 +08:00
zdl
b732bfa10a fix: 微信登录统一使用 unionid 匹配,增加调试信息
- 统一 H5 和 PC 模式都只用 unionid 匹配用户
- 没有 unionid 时返回错误,不再用 openid 兜底创建新用户
- 增加调试参数:debug_openid、debug_unionid、debug_keys_in_userinfo 等
- 修复重定向路径:/auth/signin → /home(原路径不存在)

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 14:14:25 +08:00
cb64548058 update pay ui 2025-12-11 14:10:59 +08:00
164b048e75 update pay ui 2025-12-11 13:53:23 +08:00
e1e12540d2 update pay ui 2025-12-11 13:39:45 +08:00
0df6df45cb update pay ui 2025-12-11 13:16:03 +08:00
33cdd4d743 Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-11 11:56:29 +08:00
f9fc810ccd update pay ui 2025-12-11 11:56:24 +08:00
zdl
55258dc67d fix: 修正微信公众号 AppSecret 配置
将 WECHAT_MP_APPSECRET 更新为正确的值,修复 H5 网页授权登录

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 11:42:49 +08:00
59e55a5501 update pay ui 2025-12-11 11:31:14 +08:00
628cc47ef7 update pay ui 2025-12-11 11:18:12 +08:00
zdl
bd07b569e8 fix: 微信H5登录Session改用Redis存储,解决多进程不共享问题
问题:Gunicorn 4 workers 多进程部署时,wechat_qr_sessions 内存字典
不共享,导致 H5 微信授权回调被不同 worker 处理时找不到 session,
用户点击允许后登录状态无法更新。

解决方案:
- 新增 Redis 客户端配置和 session 操作函数(set/get/update/delete/exists)
- 将 wechat_qr_sessions 内存字典改为 Redis 存储
- Session 自动过期(TTL 5分钟),无需手动清理
- 添加 Redis 不可用时的错误处理

修改的接口:
- /api/auth/wechat/qrcode - PC 扫码登录
- /api/auth/wechat/h5-auth - H5 授权登录
- /api/account/wechat/qrcode - 账号绑定
- /api/auth/wechat/check - 登录状态检查
- /api/account/wechat/check - 绑定状态检查
- /api/auth/wechat/callback - 微信回调
- /api/auth/login/wechat - 微信登录确认

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-11 11:12:05 +08:00
811a0eab23 update pay ui 2025-12-11 10:07:17 +08:00
3c1c9e2ff0 update pay ui 2025-12-11 08:46:09 +08:00
32b24d45ad update pay ui 2025-12-11 08:33:56 +08:00
1913e8cd34 update pay ui 2025-12-11 08:06:23 +08:00
0991813ad5 update pay ui 2025-12-11 07:54:01 +08:00
7affc5ed0e update pay ui 2025-12-11 07:48:19 +08:00
8d56714da8 update pay ui 2025-12-11 07:39:34 +08:00
af34100f28 Merge branch 'feature_bugfix/251201_py_h5_ui' of https://git.valuefrontier.cn/vf/vf_react into feature_bugfix/251201_py_h5_ui 2025-12-11 07:32:36 +08:00
4433bc411d update pay ui 2025-12-11 07:32:30 +08:00
zdl
6d5236f070 feat: 调整公众号配置 2025-12-10 21:15:38 +08:00
6221b17a0f update pay ui 2025-12-10 17:55:12 +08:00
04b7e527c2 update pay ui 2025-12-10 17:45:32 +08:00
a330c344e7 update pay ui 2025-12-10 17:18:58 +08:00
7f1219b714 update pay ui 2025-12-10 16:50:13 +08:00
da079bfb2c update pay ui 2025-12-10 16:26:36 +08:00
f9e40a48b1 update pay ui 2025-12-10 16:05:53 +08:00
zdl
615e3a783d Merge branch 'feature_bugfix/251201_vf_h5_ui' into feature_bugfix/251201_py_h5_ui
* feature_bugfix/251201_vf_h5_ui:
  feat: Company 页面搜索框支持拼音缩写搜索
2025-12-10 15:47:42 +08:00
zdl
c283a0ac44 feat: Company 页面搜索框支持拼音缩写搜索
- 新增 useStockSearch Hook,提取通用股票搜索能力
  - 支持代码、名称、拼音缩写模糊搜索
  - 内置 300ms 防抖,避免频繁 API 调用
  - 使用 useRef 存储回调,防止防抖函数重建
- Company/index.js 使用新 Hook 替换本地搜索
  - 搜索结果显示拼音缩写 (如 GZMT)
  - 搜索框宽度调整为 280px
- Mock handler 添加拼音缩写支持
  - 新增 PINYIN_MAP 字符映射表
  - 搜索逻辑支持拼音匹配和排序

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-12-10 15:45:30 +08:00
61b657c5db update pay ui 2025-12-10 15:37:22 +08:00
f8ef8588fe update pay ui 2025-12-10 15:24:29 +08:00
7ee7a4fefe update pay ui 2025-12-10 14:49:37 +08:00
75a20c2a94 update pay ui 2025-12-10 14:40:35 +08:00
zdl
3fdf94386b Merge branch 'feature_bugfix/251201_vf_h5_ui' into feature_bugfix/251201_py_h5_ui
* feature_bugfix/251201_vf_h5_ui:
  feat: Company 页面搜索框添加股票模糊搜索功能
  fix: 个股中心bug修复
2025-12-10 14:26:36 +08:00