Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Hooke
/
jls-weapp
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
hookehuyr
2026-05-09 18:03:02 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
816424627d7053187da7c93809a133d2490b79bc
81642462
1 parent
bcebba41
fix: 移除硬编码的client_id以支持动态配置
使用环境变量或配置来设置client_id,避免在代码中硬编码。 这使得应用更易于在不同环境中部署。
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletions
src/utils/authRedirect.js
src/utils/authRedirect.js
View file @
8164246
...
...
@@ -122,7 +122,6 @@ export const refreshSession = async (options) => {
const
request_data
=
{
code
:
login_result
.
code
,
client_id
:
'358209'
,
}
// 换取后端会话(服务端通过 Set-Cookie 返回会话信息)
...
...
Please
register
or
login
to post a comment