Skip to content

Commit

Permalink
feat: 适配后端人员地址注入变量更新--story=115998324
Browse files Browse the repository at this point in the history
  • Loading branch information
q15971095971 committed Sep 30, 2024
1 parent 7be694f commit 06251ee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bcs-services/bcs-bscp/ui/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
var GRPC_ADDR = '{{ .GRPC_ADDR }}';
var HTTP_ADDR = '{{ .HTTP_ADDR }}';
var BK_NODE_HOST = '{{ .BK_NODE_HOST }}';
var User_Man_Host = '{{ .User_Man_Host }}';
var USER_MAN_HOST = '{{ .USER_MAN_HOST }}';
window.BSCP_CONFIG = JSON.parse('{{ .BK_BSCP_CONFIG }}');
</script>
</head>
Expand Down
2 changes: 1 addition & 1 deletion bcs-services/bcs-bscp/ui/src/api/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -120,5 +120,5 @@ export const loginOut = () =>
* @returns
*/
export const approverListApi = () =>
`${(window as any).User_Man_Host}/api/c/compapi/v2/usermanage/fs_list_users/?app_code=bk-magicbox&page_size=1000&page=1`;
`${(window as any).USER_MAN_HOST}/api/c/compapi/v2/usermanage/fs_list_users/?app_code=bk-magicbox&page_size=1000&page=1`;
// /api/c/compapi/v2/usermanage/fs_list_users/?app_code=bk-magicbox&page_size=1000&page=1"

0 comments on commit 06251ee

Please sign in to comment.