Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
L
ldp-docs
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
doc
ldp-docs
Commits
61e68c1a
Commit
61e68c1a
authored
Nov 18, 2021
by
郭人方
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
docs:修改前端应用标识说明文档
parent
f6b63ddf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
49 additions
and
0 deletions
+49
-0
LDP框架filter添加前端标识说明.md
开发文档/LDP框架filter添加前端标识说明.md
+49
-0
frontAppId.png
开发文档/images/frontAppId/frontAppId.png
+0
-0
No files found.
开发文档/LDP框架filter添加前端标识说明.md
View file @
61e68c1a
...
@@ -5,6 +5,55 @@
...
@@ -5,6 +5,55 @@
添加脚本:V1.1.7__alter_ldp_uaa_app_client.sql
添加脚本:V1.1.7__alter_ldp_uaa_app_client.sql
## front_app_id说明:
首先会根据yaml文件配置获取应用信息,如果取值为空则读取MSC配置的应用信息。
应用ID可以根据以下两个配置获取:
1、service-geteway yaml 配置:
```
yaml
uaa
:
id
:
uaa-service
login
:
/viewlogin
logout
:
/logout
route-apps
:
-
id
:
mcs-ui
realmcode
:
mcs
clientid
:
1552294656515
-
id
:
app-ui
realmcode
:
app
clientid
:
1552294656514
-
id
:
oa-service
realmcode
:
biz-app
clientid
:
c068ff2331364d6ebb5b903da52d1ce3
-
id
:
example-app1
realmcode
:
example
clientid
:
tt9q5f5x65c6g3f5
-
id
:
example-app2
realmcode
:
example
clientid
:
g803cc9d0gwy31k4
-
id
:
demo-app
realmcode
:
app
clientid
:
3oyw6rktzm4v20os
-
id
:
bpm-app
realmcode
:
app
clientid
:
mcpsos0mqwqzd60t
```
2、mcs页面操作:
应用认证管理->应用列表->新增或修改,如图:
)
## 前端使用:
文件:.env.development 修改:VUE_APP_ID 就是对应的应用ID(front_app_id)
添加依赖包:
添加依赖包:
```
xml
```
xml
...
...
开发文档/images/frontAppId/frontAppId.png
0 → 100644
View file @
61e68c1a
132 KB
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment