docs: 调整文档
author刘洪青 <hongqing.liu@supwisdom.com>
Tue, 2 Nov 2021 08:34:37 +0000 (16:34 +0800)
committer刘洪青 <hongqing.liu@supwisdom.com>
Tue, 2 Nov 2021 08:34:37 +0000 (16:34 +0800)
deploy-manifests/charts/1.2.0003.认证授权-云平台数据初始化(API路由、应用、菜单、角色权限).md

index b340e7c..499e9d1 100644 (file)
@@ -183,13 +183,14 @@ commit;
 
 #### 方式一,手动导入
 
+**将 origin 修改为正确的 学校域名**
+
 进入 云平台 - 基础管理 - 菜单管理,导入
 
 所属应用 选择 用户授权
 
 菜单列表(JSON)如下,(复制后粘贴)
 
-**将 origin 修改为正确的 学校域名**
 
 * 认证管理
 
@@ -406,10 +407,14 @@ commit;
 
 #### 方式二,bash脚本
 
+**将 origin 修改为正确的 学校域名**
+
+进入 admin-center-sa 下的 pod, 执行命令行
+
 * 认证管理
 
 ```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
 -d \
 '
 {
@@ -489,7 +494,7 @@ curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.clu
 * 用户管理
 
 ```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
 -d \
 '
 {
@@ -559,7 +564,7 @@ curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.clu
 * 授权管理
 
 ```bash
-curl -i -s -X POST "http://admin-platform-admin-center-sa.admin-platform.svc.cluster.local:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
+curl -i -s -X POST "http://localhost:8080/v1/admin/menus/importMenu" -H 'Content-Type: application/json' \
 -d \
 '
 {