Commit 61e68c1a authored by 郭人方's avatar 郭人方

docs:修改前端应用标识说明文档

parent f6b63ddf
...@@ -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页面操作:
应用认证管理->应用列表->新增或修改,如图:
![image-20210318153920800](./images/frontAppId/frontAppId.png))
## 前端使用:
文件:.env.development 修改:VUE_APP_ID 就是对应的应用ID(front_app_id)
添加依赖包: 添加依赖包:
```xml ```xml
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment