Skip to content

Commit

Permalink
feat: 消息通知 & 版本日志 TencentBlueKing#1666
Browse files Browse the repository at this point in the history
# Reviewed, transaction id: 6742
  • Loading branch information
yuri0528 committed Apr 25, 2024
1 parent ce4c280 commit 1d754cc
Show file tree
Hide file tree
Showing 8 changed files with 567 additions and 882 deletions.
4 changes: 4 additions & 0 deletions src/pages/.bk.production.env
Original file line number Diff line number Diff line change
Expand Up @@ -13,3 +13,7 @@ BK_CSRF_COOKIE_NAME = '{{ CSRF_COOKIE_NAME }}'
BK_COMPONENT_API_URL = '{{ BK_COMPONENT_API_URL }}'

BK_DOMAIN = '{{ BK_DOMAIN }}'

BK_USER_DOC_URL = '{{ BK_USER_DOC_URL }}'

BK_USER_FEEDBACK_URL = '{{ BK_USER_FEEDBACK_URL }}'
2 changes: 2 additions & 0 deletions src/pages/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@
window.CSRF_COOKIE_NAME = '<%= process.env.BK_CSRF_COOKIE_NAME %>';
window.BK_COMPONENT_API_URL = '<%= process.env.BK_COMPONENT_API_URL %>';
window.BK_DOMAIN = '<%= process.env.BK_DOMAIN %>';
window.BK_USER_DOC_URL = '<%= process.env.BK_USER_DOC_URL %>';
window.BK_USER_FEEDBACK_URL = '<%= process.env.BK_USER_FEEDBACK_URL %>';
</script>
</body>
</html>
2 changes: 2 additions & 0 deletions src/pages/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@
"dependencies": {
"@blueking/bkui-form": "^1.0.0-beta.3",
"@blueking/login-modal": "^1.0.1",
"@blueking/notice-component": "^2.0.4",
"@blueking/release-note": "^0.0.1-beta.7",
"@wangeditor/editor": "^5.1.23",
"@wangeditor/editor-for-vue": "^5.1.12",
"acorn": "8.10.0",
Expand Down
3 changes: 3 additions & 0 deletions src/pages/src/http/api.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
import http from './fetch';

export const currentUser = () => http.get('/api/v1/web/basic/current-user/');

// 版本日志列表
export const getVersionLogs = () => http.get('/api/v1/web/version-logs/');
Loading

0 comments on commit 1d754cc

Please sign in to comment.