转发对象配置,工作人员管理页面联调
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
Some checks failed
Node CI / build (14.x, macOS-latest) (push) Has been cancelled
Node CI / build (14.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (14.x, windows-latest) (push) Has been cancelled
Node CI / build (16.x, macOS-latest) (push) Has been cancelled
Node CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node CI / build (16.x, windows-latest) (push) Has been cancelled
CodeQL / Analyze (javascript) (push) Has been cancelled
coverage CI / build (push) Has been cancelled
Node pnpm CI / build (16.x, macOS-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, ubuntu-latest) (push) Has been cancelled
Node pnpm CI / build (16.x, windows-latest) (push) Has been cancelled
This commit is contained in:
@@ -15,19 +15,23 @@ export default {
|
||||
// localhost:8000/api/** -> https://preview.pro.ant.design/api/**
|
||||
'/api/': {
|
||||
// 要代理的地址
|
||||
target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
target: 'http://wykj.cdwsx.com/api',
|
||||
// target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
// 配置了这个可以从 http 代理到 https
|
||||
// 依赖 origin 的功能可能需要这个,比如 cookie
|
||||
changeOrigin: true,
|
||||
pathRewrite: { '^/api': '' },
|
||||
// logLevel: 'debug',
|
||||
},
|
||||
'/profile/avatar/': {
|
||||
target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
target: 'http://wykj.cdwsx.com/api',
|
||||
// target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
changeOrigin: true,
|
||||
},
|
||||
'/app/': {
|
||||
// 要代理的地址
|
||||
target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
target: 'http://wykj.cdwsx.com/api',
|
||||
// target: 'http://ks.zhaopinzao8dian.com/api/ks',
|
||||
// 配置了这个可以从 http 代理到 https
|
||||
// 依赖 origin 的功能可能需要这个,比如 cookie
|
||||
changeOrigin: true,
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
@@ -95,7 +95,8 @@ function ManagementList() {
|
||||
dataIndex: 'createTime',
|
||||
valueType: 'text',
|
||||
align: 'center',
|
||||
search: false
|
||||
search: false,
|
||||
render: text => (text ? text.substr(0, 10) : '-'),
|
||||
},
|
||||
{
|
||||
title: "管理员微信名",
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { request } from '@umijs/max';
|
||||
|
||||
export async function getCmsCommunityUserList(params?: API.GroupManagement.Params) {
|
||||
return request<API.GroupManagement.Result>(`/api/cms/communityUser`, {
|
||||
return request<API.GroupManagement.Result>(`/api/cms/communityUser/list`, {
|
||||
method: 'GET',
|
||||
params: params,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user