1
0
mirror of https://github.com/fumiama/paper-manager.git synced 2026-06-27 06:10:28 +08:00

front: finish docx & back: init

This commit is contained in:
源文雨
2023-03-16 14:03:58 +08:00
parent 6c823457b9
commit a72afdbb5e
26 changed files with 453 additions and 31 deletions

View File

@@ -45,7 +45,7 @@ const userInfo = {
export default [
{
url: '/basic-api/account/getAccountInfo',
url: '/api/account/getAccountInfo',
timeout: 1000,
method: 'get',
response: () => {
@@ -53,7 +53,7 @@ export default [
},
},
{
url: '/basic-api/user/sessionTimeout',
url: '/api/user/sessionTimeout',
method: 'post',
statusCode: 401,
response: () => {
@@ -61,7 +61,7 @@ export default [
},
},
{
url: '/basic-api/user/tokenExpired',
url: '/api/user/tokenExpired',
method: 'post',
statusCode: 200,
response: () => {

View File

@@ -311,7 +311,7 @@ const areaList: any[] = [
]
export default [
{
url: '/basic-api/cascader/getAreaRecord',
url: '/api/cascader/getAreaRecord',
timeout: 1000,
method: 'post',
response: ({ body }) => {

View File

@@ -16,7 +16,7 @@ const demoList = (keyword: string, count = 20) => {
export default [
{
url: '/basic-api/select/getDemoOptions',
url: '/api/select/getDemoOptions',
timeout: 1000,
method: 'get',
response: ({ query }) => {

View File

@@ -136,7 +136,7 @@ const menuList = (() => {
export default [
{
url: '/basic-api/system/getAccountList',
url: '/api/system/getAccountList',
timeout: 100,
method: 'get',
response: ({ query }) => {
@@ -145,7 +145,7 @@ export default [
},
},
{
url: '/basic-api/system/getRoleListByPage',
url: '/api/system/getRoleListByPage',
timeout: 100,
method: 'get',
response: ({ query }) => {
@@ -154,7 +154,7 @@ export default [
},
},
{
url: '/basic-api/system/setRoleStatus',
url: '/api/system/setRoleStatus',
timeout: 500,
method: 'post',
response: ({ query }) => {
@@ -163,7 +163,7 @@ export default [
},
},
{
url: '/basic-api/system/getAllRoleList',
url: '/api/system/getAllRoleList',
timeout: 100,
method: 'get',
response: () => {
@@ -171,7 +171,7 @@ export default [
},
},
{
url: '/basic-api/system/getDeptList',
url: '/api/system/getDeptList',
timeout: 100,
method: 'get',
response: () => {
@@ -179,7 +179,7 @@ export default [
},
},
{
url: '/basic-api/system/getMenuList',
url: '/api/system/getMenuList',
timeout: 100,
method: 'get',
response: () => {
@@ -187,7 +187,7 @@ export default [
},
},
{
url: '/basic-api/system/accountExist',
url: '/api/system/accountExist',
timeout: 500,
method: 'post',
response: ({ body }) => {

View File

@@ -41,7 +41,7 @@ const demoList = (() => {
export default [
{
url: '/basic-api/table/getDemoList',
url: '/api/table/getDemoList',
timeout: 100,
method: 'get',
response: ({ query }) => {

View File

@@ -26,7 +26,7 @@ const demoTreeList = (keyword: string) => {
export default [
{
url: '/basic-api/tree/getDemoOptions',
url: '/api/tree/getDemoOptions',
timeout: 1000,
method: 'get',
response: ({ query }) => {