From 3dee8e27516dc830fe507fadc83f0381f00bb737 Mon Sep 17 00:00:00 2001 From: Halooooooo <673574728@qq.com> Date: Sat, 5 Aug 2023 21:24:00 +0800 Subject: [PATCH] supplement doc info supplement doc info --- README.md | 8 ++++---- config/client.js | 2 +- config/server.js | 6 +++--- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index ef682e2..46cbb39 100644 --- a/README.md +++ b/README.md @@ -59,7 +59,7 @@ export const RD_FileURL = 'file-server服务的地址'; #### config/client **主要用于存储cookie** - +需要与 fe-admin-open工程中server.js 的domain配置具有相同主域名 ```js const FE_Host = { development: '', @@ -71,7 +71,7 @@ export const RD_FileURL = 'file-server服务的地址'; #### config/server **http接口** - +后端 manager 服务地址 exp http://{manager-host}:{manager:port} ```js const RD_BaseURL = { development: '开发环境地址', @@ -81,7 +81,7 @@ export const RD_FileURL = 'file-server服务的地址'; ``` **websocket接口** - +后端 RunnerGo-management-websocket-open 服务地址 exp ws://{websocket-host}:{manager:port} ```js const RD_websocketUrl = { development: '开发环境地址', @@ -91,7 +91,7 @@ export const RD_FileURL = 'file-server服务的地址'; ``` **后台权限系统地址(主要用于工作台和后台的跳转)** - +后端 permission 服务地址 exp http://{permission-host}:{permission:port} ```js const RD_AdminURL = { development: '后台开发环境地址', diff --git a/config/client.js b/config/client.js index 1c79953..246b9b4 100644 --- a/config/client.js +++ b/config/client.js @@ -1,5 +1,5 @@ -// 当前运行环境fe主域,主要用于cookie +// 当前运行环境fe主域,主要用于cookie 与 fe-open-admin 工程中domain 配置一致 const FE_Host = { development: '', test: '测试环境主域', diff --git a/config/server.js b/config/server.js index 4d3951a..3eaa118 100644 --- a/config/server.js +++ b/config/server.js @@ -1,4 +1,4 @@ -// 后端http接口地址 +// 后端http接口地址 后端 manager 服务地址 exp http://{manager-host}:{manager:port} export const RD_BaseURL = { development: '开发环境地址', test: '测试环境地址', @@ -6,14 +6,14 @@ export const RD_BaseURL = { }; -// 后端websocke地址 +// 后端websocke地址 后端 RunnerGo-management-websocket-open 服务地址 exp ws://{websocket-host}:{manager:port} export const RD_websocketUrl = { development: '开发环境地址', test: '测试环境地址', production: '线上环境地址' }; -// 后台权限系统地址 +// 后台权限系统地址 后端 permission 服务地址 exp http://{permission-host}:{permission:port} export const RD_AdminURL = { development: '后台开发环境地址', test: '后台测试环境地址',