Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

supplement doc info #7

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export const RD_FileURL = 'file-server服务的地址';
#### config/client

**主要用于存储cookie**

需要与 fe-admin-open工程中server.js 的domain配置具有相同主域名
```js
const FE_Host = {
development: '',
Expand All @@ -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: '开发环境地址',
Expand All @@ -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: '开发环境地址',
Expand All @@ -91,7 +91,7 @@ export const RD_FileURL = 'file-server服务的地址';
```

**后台权限系统地址(主要用于工作台和后台的跳转)**

后端 permission 服务地址 exp http://{permission-host}:{permission:port}
```js
const RD_AdminURL = {
development: '后台开发环境地址',
Expand Down
2 changes: 1 addition & 1 deletion config/client.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@

// 当前运行环境fe主域,主要用于cookie
// 当前运行环境fe主域,主要用于cookie 与 fe-open-admin 工程中domain 配置一致
const FE_Host = {
development: '',
test: '测试环境主域',
Expand Down
6 changes: 3 additions & 3 deletions config/server.js
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
// 后端http接口地址
// 后端http接口地址 后端 manager 服务地址 exp http://{manager-host}:{manager:port}
export const RD_BaseURL = {
development: '开发环境地址',
test: '测试环境地址',
production: '线上环境地址',
};


// 后端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: '后台测试环境地址',
Expand Down