fix: 移除硬编码的client_id以支持动态配置
使用环境变量或配置来设置client_id,避免在代码中硬编码。 这使得应用更易于在不同环境中部署。
Showing
1 changed file
with
0 additions
and
1 deletions
| ... | @@ -122,7 +122,6 @@ export const refreshSession = async (options) => { | ... | @@ -122,7 +122,6 @@ export const refreshSession = async (options) => { |
| 122 | 122 | ||
| 123 | const request_data = { | 123 | const request_data = { |
| 124 | code: login_result.code, | 124 | code: login_result.code, |
| 125 | - client_id: '358209', | ||
| 126 | } | 125 | } |
| 127 | 126 | ||
| 128 | // 换取后端会话(服务端通过 Set-Cookie 返回会话信息) | 127 | // 换取后端会话(服务端通过 Set-Cookie 返回会话信息) | ... | ... |
-
Please register or login to post a comment