Files
MrleeAdmin/frontend/admin/docs/mldong-course-boot.apifox.json
T
2026-08-31 11:33:59 +08:00

23179 lines
1.0 MiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"apifoxProject": "1.0.0",
"$schema": {
"app": "apifox",
"type": "project",
"version": "1.2.0"
},
"info": {
"name": "mldong-course-boot",
"description": "",
"mockRule": {
"rules": [],
"enableSystemRule": true
}
},
"apiCollection": [
{
"name": "根目录",
"id": 6020269,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "methodAndPath",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "SHARED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "用户管理-旧",
"id": 6258767,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "查询单个用户",
"api": {
"id": "30850730",
"method": "post",
"path": "/user/getById",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288140",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740125"
},
"contentType": "json"
},
{
"id": "73288147",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288151",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288156",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288161",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740113"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"用户管理"
],
"status": "developing",
"serverId": "",
"operationId": "getByIdUsingPOST_1",
"sourceUrl": "",
"ordering": 0,
"cases": [
{
"id": 34660389,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288140,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询用户列表",
"api": {
"id": "30850728",
"method": "post",
"path": "/user/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288138",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740124"
},
"contentType": "json"
},
{
"id": "73288143",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288148",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288153",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288158",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740119"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"用户管理"
],
"status": "developing",
"serverId": "",
"operationId": "pageUsingPOST_1",
"sourceUrl": "",
"ordering": 6,
"cases": [
{
"id": 34660387,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288138,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除用户",
"api": {
"id": "30850729",
"method": "post",
"path": "/user/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288141",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288146",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288152",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288157",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288162",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740115"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"用户管理"
],
"status": "developing",
"serverId": "",
"operationId": "removeUsingPOST_1",
"sourceUrl": "",
"ordering": 12,
"cases": [
{
"id": 34660391,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288141,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加用户",
"api": {
"id": "30850731",
"method": "post",
"path": "/user/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288139",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288144",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288149",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288154",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288160",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740120"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"用户管理"
],
"status": "developing",
"serverId": "",
"operationId": "saveUsingPOST_1",
"sourceUrl": "",
"ordering": 18,
"cases": [
{
"id": 34660390,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288139,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改用户",
"api": {
"id": "30850732",
"method": "post",
"path": "/user/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288142",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288145",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288150",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288155",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288159",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740120"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"用户管理"
],
"status": "developing",
"serverId": "",
"operationId": "updateUsingPOST_1",
"sourceUrl": "",
"ordering": 24,
"cases": [
{
"id": 34660388,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288142,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "角色管理-旧",
"id": 6258759,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "查询单个角色",
"api": {
"id": "30850696",
"method": "post",
"path": "/role/getById",
"parameters": {
"path": [],
"query": [
{
"required": false,
"description": "",
"type": "string",
"name": "a",
"id": "rU1zXtzDRo",
"example": "222"
}
],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "73288040",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740127",
"x-apifox-overrides": {}
},
"contentType": "json"
},
{
"id": "73288050",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288059",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288069",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288079",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740113",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [
"角色管理"
],
"status": "developing",
"serverId": "",
"operationId": "getByIdUsingPOST",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询角色列表",
"api": {
"id": "30850697",
"method": "post",
"path": "/role/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288044",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740122"
},
"contentType": "json"
},
{
"id": "73288053",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288063",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288072",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288082",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740116"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"角色管理"
],
"status": "developing",
"serverId": "",
"operationId": "pageUsingPOST",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除角色",
"api": {
"id": "30850692",
"method": "post",
"path": "/role/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288039",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288049",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288060",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288070",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288080",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740115"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"角色管理"
],
"status": "developing",
"serverId": "",
"operationId": "removeUsingPOST",
"sourceUrl": "",
"ordering": 12,
"cases": [
{
"id": 34660335,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288039,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加角色",
"api": {
"id": "30850695",
"method": "post",
"path": "/role/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288042",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288052",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288062",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288073",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288083",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740114"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"角色管理"
],
"status": "developing",
"serverId": "",
"operationId": "saveUsingPOST",
"sourceUrl": "",
"ordering": 18,
"cases": [
{
"id": 34660336,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288042,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改角色",
"api": {
"id": "30850693",
"method": "post",
"path": "/role/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {},
"responses": [
{
"id": "73288038",
"code": 200,
"name": "OK",
"jsonSchema": {
"$ref": "#/definitions/13740126"
},
"contentType": "json"
},
{
"id": "73288048",
"code": 201,
"name": "Created",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288058",
"code": 401,
"name": "Unauthorized",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288068",
"code": 403,
"name": "Forbidden",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
},
{
"id": "73288078",
"code": 404,
"name": "Not Found",
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740114"
},
"oasExtensions": ""
},
"description": "",
"tags": [
"角色管理"
],
"status": "developing",
"serverId": "",
"operationId": "updateUsingPOST",
"sourceUrl": "",
"ordering": 24,
"cases": [
{
"id": 34660332,
"type": "http",
"path": null,
"name": "成功",
"responseId": 73288038,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": ""
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "sys-系统设置",
"id": 8875241,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "文件管理",
"id": 9101187,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "通过文件信息id获取文件信息列表",
"api": {
"id": "104277142",
"method": "post",
"path": "/sys/fileInfo/getByFileInfoIds",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "258136339",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "文件id"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "文件名"
},
"url": {
"type": "string",
"title": "文件地址",
"mock": {
"mock": "@image"
}
},
"status": {
"type": "string",
"mock": {
"mock": "done"
}
},
"ext": {
"type": "string",
"mock": {
"mock": "@pick(['png','jpg','pdf','xls','xlsx','doc','docx'])"
}
}
},
"x-apifox-orders": [
"uid",
"name",
"url",
"status",
"ext"
],
"required": [
"uid",
"name",
"url",
"status",
"ext"
]
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"fileInfoIds": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "文件信息ID",
"description": "多个使用英文逗号分割"
}
},
"x-apifox-orders": [
"fileInfoIds"
],
"required": [
"fileInfoIds"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst ids = fox.mockRequest.getParam('fileInfoIds')\r\nconst responseJson = fox.mockResponse.json();\r\nif(ids){\r\n const item = responseJson.data[0]\r\n responseJson.data = ids.split(',').map(id=>{\r\n return {\r\n ...item,\r\n uid: id,\r\n id: id,\r\n name: item.name+'-'+id\r\n }\r\n })\r\n} else {\r\n responseJson.data = []\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "上传文件",
"api": {
"id": "45389751",
"method": "post",
"path": "/sys/fileInfo/upload",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562086",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"url": {
"type": "string",
"mock": {
"mock": "@image(\"200x200\")"
},
"title": "文件地址"
},
"fileInfoId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "文件信息ID"
}
},
"x-apifox-orders": [
"url",
"fileInfoId"
],
"title": "返回的数据",
"required": [
"url",
"fileInfoId"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "multipart/form-data",
"parameters": [
{
"name": "file",
"required": false,
"description": "",
"type": "file",
"id": "hsIsIkAKOg"
}
],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "通知公告",
"id": 9101188,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "分页查询通知公告",
"api": {
"id": "45389749",
"method": "post",
"path": "/sys/notice/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562083",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317086"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords"
],
"required": [
"pageNum",
"pageSize",
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加通知公告",
"api": {
"id": "45389748",
"method": "post",
"path": "/sys/notice/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562084",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317094",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改通知公告",
"api": {
"id": "45389750",
"method": "post",
"path": "/sys/notice/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562085",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317094",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除通知公告",
"api": {
"id": "45389752",
"method": "post",
"path": "/sys/notice/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562087",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "通知公告ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "角色管理",
"id": 8875243,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "分页查询角色",
"api": {
"id": "44166581",
"method": "post",
"path": "/sys/role/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257742",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317078"
},
"title": "数据",
"uniqueItems": true,
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string"
},
"m_LIKE_name": {
"type": "string",
"title": "角色名称"
},
"m_EQ_roleType": {
"type": "string",
"title": "角色类型"
},
"m_EQ_code": {
"type": "string",
"title": "唯一编码"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"m_LIKE_name",
"m_EQ_roleType",
"m_EQ_code"
],
"required": [
"pageNum",
"pageSize",
"m_LIKE_name",
"m_EQ_roleType",
"m_EQ_code"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": false,
"value": "// 获取智能 Mock 功能自动 Mock 出来的数据\r\nvar responseJson = fox.mockResponse.json();\r\nresponseJson.headers = fox.mockRequest.headers\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "角色下拉列表",
"api": {
"id": "201787642",
"method": "post",
"path": "/sys/role/select",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "504946320",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "显示名称",
"mock": {
"mock": "@cname"
}
},
"value": {
"type": "string",
"title": "值",
"mock": {
"mock": "@id"
}
},
"ext": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "扩展信息"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"label",
"value",
"ext"
],
"required": [
"label",
"value"
]
},
"title": "",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"includeIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "包含指定ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@cword"
},
"title": "关键字"
},
"includeType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "查询模式",
"description": "查询模式(1、增量(含分页数据+includeIds数据);2、排他(仅includeIds数据))"
}
},
"x-apifox-orders": [
"includeIds",
"keywords",
"includeType"
],
"required": [
"includeIds",
"keywords",
"includeType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var MockJs = require('mockjs');\r\n\r\nconst includeType = fox.mockRequest.getParam('includeType')\r\nconst includeIds = fox.mockRequest.getParam('includeIds') || []\r\nvar responseJson = fox.mockResponse.json();\r\nlet data = responseJson.data\r\nconst index = data.findIndex(item=>{\r\n return includeIds.includes(item.value)\r\n})\r\nif(includeType == 2) {\r\n data = (includeIds || []).map(id=>{\r\n return {\r\n label: MockJs.mock(\"@cname\"),\r\n value: id\r\n }\r\n })\r\n} else {\r\n if(index==-1 && includeIds.length) {\r\n includeIds.forEach(id=>{\r\n data.push({\r\n label: MockJs.mock(\"@cname\"),\r\n value: id,\r\n ext: {\r\n 'flag': 1\r\n }\r\n })\r\n })\r\n }\r\n}\r\nresponseJson.data = data\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加角色",
"api": {
"id": "44166582",
"method": "post",
"path": "/sys/role/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257743",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740114",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改角色",
"api": {
"id": "44166583",
"method": "post",
"path": "/sys/role/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257744",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740114",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除角色",
"api": {
"id": "44166584",
"method": "post",
"path": "/sys/role/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257745",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string"
},
"title": "角色ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "角色详情",
"api": {
"id": "213999259",
"method": "post",
"path": "/sys/role/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "527812164",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317078"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 40,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.527812164"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "用户管理",
"id": 8875244,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "分页查询用户",
"api": {
"id": "44166585",
"method": "post",
"path": "/sys/user/page",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257746",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"title": "状态码",
"x-apifox-mock": "0"
},
"msg": {
"type": "string",
"title": "消息描述",
"x-apifox-mock": "成功"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"title": "总记录数",
"x-apifox-mock": "{{$number.int(min=60,max=100)}}"
},
"totalPage": {
"type": "integer",
"title": "总页数",
"x-apifox-mock": "@integer(1, 10)"
},
"pageSize": {
"title": "每页大小",
"type": "integer",
"x-apifox-mock": "10"
},
"pageNum": {
"title": "当前页码",
"type": "integer",
"x-apifox-mock": "1"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317080"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": "",
"oasExtensions": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"title": "当前页码",
"x-apifox-mock": "1"
},
"pageSize": {
"type": "integer",
"title": "每页大小",
"x-apifox-mock": "10"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"x-apifox-mock": "搜索关键字"
},
"m_LIKE_userName": {
"type": "string",
"title": "用户名"
},
"m_LIKE_realName": {
"type": "string",
"title": "姓名"
},
"m_EQ_mobilePhone": {
"type": "string",
"title": "手机号码"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"m_LIKE_userName",
"m_LIKE_realName",
"m_EQ_mobilePhone"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"m_LIKE_userName",
"m_LIKE_realName",
"m_EQ_mobilePhone"
]
},
"mediaType": "",
"examples": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": false,
"value": "\r\n\r\nvar responseJson = fox.mockResponse.json();\r\nconst data = responseJson.data\r\nfor(let i=0;i<data.rows.length;i++){\r\n if(i<=2) {\r\n data.rows[0].id = i+1\r\n }\r\n}\r\nresponseJson.data = data\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.110257746"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": "",
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加用户",
"api": {
"id": "44166586",
"method": "post",
"path": "/sys/user/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257747",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740120",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改用户",
"api": {
"id": "44166587",
"method": "post",
"path": "/sys/user/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257748",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/13740120",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除用户",
"api": {
"id": "44166588",
"method": "post",
"path": "/sys/user/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257749",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
},
"description": "用户ID集合"
}
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "授权角色",
"api": {
"id": "227637445",
"method": "post",
"path": "/sys/user/grantRole",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553972959",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID"
},
"roleIdList": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
},
"description": "角色ID"
},
"title": "角色ID集合"
}
},
"x-apifox-orders": [
"userId",
"roleIdList"
],
"required": [
"userId",
"roleIdList"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 76,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553972959"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取用户详情",
"api": {
"id": "45322613",
"method": "post",
"path": "/sys/user/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113388548",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码",
"description": "0成功,其他失败"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317080",
"x-apifox-overrides": {}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 23,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "用户下拉列表",
"api": {
"id": "44166589",
"method": "post",
"path": "/sys/user/select",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257750",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "显示名称",
"mock": {
"mock": "@cname"
}
},
"value": {
"type": "string",
"title": "值",
"mock": {
"mock": "@id"
}
},
"ext": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "扩展信息"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"label",
"value",
"ext"
],
"required": [
"label",
"value"
]
},
"title": "",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"includeIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "包含指定ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@cword"
},
"title": "关键字"
},
"includeType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "查询模式",
"description": "查询模式(1、增量(含分页数据+includeIds数据);2、排他(仅includeIds数据))"
}
},
"x-apifox-orders": [
"includeIds",
"keywords",
"includeType"
],
"required": [
"includeIds",
"keywords",
"includeType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var MockJs = require('mockjs');\r\n\r\n\r\nconst includeIds = fox.mockRequest.getParam('includeIds') || []\r\nvar responseJson = fox.mockResponse.json();\r\nconst data = responseJson.data\r\nfor(let i=0;i<data.length;i++){\r\n data[i].value = i+1+''\r\n}\r\nconst index = data.findIndex(item=>{\r\n return includeIds.includes(item.value)\r\n})\r\nif(index==-1 && includeIds.length) {\r\n includeIds.forEach(id=>{\r\n data.push({\r\n label: MockJs.mock(\"@cname\"),\r\n value: id,\r\n ext: {\r\n 'flag': 1\r\n }\r\n })\r\n })\r\n}\r\nfor(let i=0;i<data.length;i++){\r\n data[i].value = i+1+''\r\n}\r\nresponseJson.data = data\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-修改头像",
"api": {
"id": "44166590",
"method": "post",
"path": "/sys/user/updateAvatar",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257751",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID",
"description": "非必填,后端会使用当前用户ID"
},
"avatar": {
"type": "string",
"mock": {
"mock": "@image"
},
"title": "头像地址"
}
},
"x-apifox-orders": [
"id",
"avatar"
],
"required": [
"avatar"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-修改个人信息",
"api": {
"id": "44166591",
"method": "post",
"path": "/sys/user/updateInfo",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257752",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID",
"description": "非必填,后端会使用当前用户ID"
},
"realName": {
"type": "string",
"mock": {
"mock": "@cname"
},
"title": "姓名"
},
"mobilePhone": {
"type": "string",
"mock": {
"mock": "@phone"
},
"title": "手机号"
},
"sex": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "性别",
"description": "dict.sex"
},
"email": {
"type": "string",
"mock": {
"mock": "@email"
},
"title": "邮箱"
},
"tel": {
"type": "string",
"mock": {
"mock": "@phone"
},
"title": "其他联系电话"
}
},
"x-apifox-orders": [
"id",
"realName",
"mobilePhone",
"tel",
"email",
"sex"
],
"required": [
"realName",
"mobilePhone",
"tel",
"sex",
"id",
"email"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-用户信息",
"api": {
"id": "44166592",
"method": "post",
"path": "/sys/user/info",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257753",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317080",
"x-apifox-overrides": {}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst token = fox.mockRequest.headers.get('token') || fox.mockRequest.headers.get('authorization')\r\nconst responseJson = fox.mockResponse.json();\r\nif(!token) {\r\n responseJson.data = []\r\n responseJson.code = 99990403\r\n responseJson.msg = 'token不存在或已失效'\r\n} else {\r\n responseJson.data.ext = {\r\n isPlayer: token.indexOf('isPlay')!=-1\r\n } \r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-权限标识",
"api": {
"id": "44166593",
"method": "post",
"path": "/sys/user/permCode",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"name": "token",
"required": true,
"description": "",
"type": "string",
"id": "d3B2tcMAJE",
"example": "Bearer {{token}}"
}
]
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257754",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "string"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 48,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\n// responseJson.data = ['sys:menu:syncRoute','btn:copy:antTreData','btn:copy:idAndPidData']\r\n//responseJson.data = ['sys:manager','sys:user']\r\nconst token = fox.mockRequest.headers.get('Authorization')\r\nif(!token) {\r\n responseJson.data = []\r\n responseJson.code = 99990403\r\n responseJson.msg = 'token不存在或已失效'\r\n} else if(token&&(token.startsWith('Bearer admin')|| token.startsWith('Bearer super'))) {\r\n responseJson.data = ['admin','sys:user:save']\r\n} else if(token && token.startsWith(('Bearer test'))) {\r\n responseJson.data = [\r\n 'sys:manage',\r\n 'sys:user',\r\n 'sys:user:save',\r\n 'sys:user:update',\r\n 'sys:role',\r\n 'sys:role:get',\r\n 'sys:routelist',\r\n 'btn:copy:antTreData',\r\n 'btn:copy:idAndPidData',\r\n 'sys:rbac:userListByRoleId',\r\n 'study:manager',\r\n 'study:index',\r\n 'study:demo1',\r\n 'study:demo2',\r\n 'sys:dept',\r\n 'sys:dept:detail',\r\n \"sys:dept:update\",\r\n \"demo:manage\",\r\n \"demo:crud\",\r\n \"sys:post:save\",\r\n \"sys:post:detail\"\r\n ]\r\n} else {\r\n responseJson.data = ['sys:manager','sys:user']\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "重置用户密码",
"api": {
"id": "44166594",
"method": "post",
"path": "/sys/user/resetPassword",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257755",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "用户集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 54,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-用户菜单",
"api": {
"id": "200769595",
"method": "post",
"path": "/sys/user/getMenuList",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": [
{
"name": "token",
"required": true,
"description": "",
"type": "string",
"id": "d3B2tcMAJE",
"example": "Bearer {{token}}",
"enable": true
}
]
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "502964440",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "string"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 51,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\n// responseJson.data = ['sys:menu:syncRoute','btn:copy:antTreData','btn:copy:idAndPidData']\r\n//responseJson.data = ['sys:manager','sys:user']\r\n// single\r\nconst dashboardRoute = {\r\n path: '/dashboard',\r\n name: 'Dashboard',\r\n component: 'LAYOUT',\r\n redirect: '/dashboard/analysis',\r\n meta: {\r\n title: 'routes.dashboard.dashboard',\r\n hideChildrenInMenu: true,\r\n icon: 'bx:bx-home',\r\n },\r\n children: [\r\n {\r\n path: 'analysis',\r\n name: 'Analysis',\r\n component: '/dashboard/analysis/index',\r\n meta: {\r\n hideMenu: true,\r\n hideBreadcrumb: true,\r\n title: 'routes.dashboard.analysis',\r\n currentActiveMenu: '/dashboard',\r\n icon: 'bx:bx-home',\r\n },\r\n },\r\n {\r\n path: 'workbench',\r\n name: 'Workbench',\r\n component: '/dashboard/workbench/index',\r\n meta: {\r\n hideMenu: true,\r\n hideBreadcrumb: true,\r\n title: 'routes.dashboard.workbench',\r\n currentActiveMenu: '/dashboard',\r\n icon: 'bx:bx-home',\r\n },\r\n },\r\n ],\r\n};\r\n\r\nconst backRoute = {\r\n path: 'back',\r\n name: 'PermissionBackDemo',\r\n meta: {\r\n title: 'routes.demo.permission.back',\r\n },\r\n\r\n children: [\r\n {\r\n path: 'page',\r\n name: 'BackAuthPage',\r\n component: '/demo/permission/back/index',\r\n meta: {\r\n title: 'routes.demo.permission.backPage',\r\n },\r\n },\r\n {\r\n path: 'btn',\r\n name: 'BackAuthBtn',\r\n component: '/demo/permission/back/Btn',\r\n meta: {\r\n title: 'routes.demo.permission.backBtn',\r\n },\r\n },\r\n ],\r\n};\r\n\r\nconst authRoute = {\r\n path: '/permission',\r\n name: 'Permission',\r\n component: 'LAYOUT',\r\n redirect: '/permission/front/page',\r\n meta: {\r\n icon: 'carbon:user-role',\r\n title: 'routes.demo.permission.permission',\r\n },\r\n children: [backRoute],\r\n};\r\n\r\nconst levelRoute = {\r\n path: '/level',\r\n name: 'Level',\r\n component: 'LAYOUT',\r\n redirect: '/level/menu1/menu1-1',\r\n meta: {\r\n icon: 'carbon:user-role',\r\n title: 'routes.demo.level.level',\r\n },\r\n\r\n children: [\r\n {\r\n path: 'menu1',\r\n name: 'Menu1Demo',\r\n meta: {\r\n title: 'Menu1',\r\n },\r\n children: [\r\n {\r\n path: 'menu1-1',\r\n name: 'Menu11Demo',\r\n meta: {\r\n title: 'Menu1-1',\r\n },\r\n children: [\r\n {\r\n path: 'menu1-1-1',\r\n name: 'Menu111Demo',\r\n component: '/demo/level/Menu111',\r\n meta: {\r\n title: 'Menu111',\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'menu1-2',\r\n name: 'Menu12Demo',\r\n component: '/demo/level/Menu12',\r\n meta: {\r\n title: 'Menu1-2',\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n path: 'menu2',\r\n name: 'Menu2Demo',\r\n component: '/demo/level/Menu2',\r\n meta: {\r\n title: 'Menu2',\r\n },\r\n },\r\n ],\r\n};\r\n\r\nconst sysRoute = {\r\n path: '/system',\r\n name: 'System',\r\n component: 'LAYOUT',\r\n redirect: '/system/account',\r\n meta: {\r\n icon: 'ion:settings-outline',\r\n title: 'routes.demo.system.moduleName',\r\n },\r\n children: [\r\n {\r\n path: 'account',\r\n name: 'AccountManagement',\r\n meta: {\r\n title: 'routes.demo.system.account',\r\n ignoreKeepAlive: true,\r\n },\r\n component: '/demo/system/account/index',\r\n },\r\n {\r\n path: 'account_detail/:id',\r\n name: 'AccountDetail',\r\n meta: {\r\n hideMenu: true,\r\n title: 'routes.demo.system.account_detail',\r\n ignoreKeepAlive: true,\r\n showMenu: false,\r\n currentActiveMenu: '/system/account',\r\n },\r\n component: '/demo/system/account/AccountDetail',\r\n },\r\n {\r\n path: 'role',\r\n name: 'RoleManagement',\r\n meta: {\r\n title: 'routes.demo.system.role',\r\n ignoreKeepAlive: true,\r\n },\r\n component: '/demo/system/role/index',\r\n },\r\n\r\n {\r\n path: 'menu',\r\n name: 'MenuManagement',\r\n meta: {\r\n title: 'routes.demo.system.menu',\r\n ignoreKeepAlive: true,\r\n },\r\n component: '/demo/system/menu/index',\r\n },\r\n {\r\n path: 'dept',\r\n name: 'DeptManagement',\r\n meta: {\r\n title: 'routes.demo.system.dept',\r\n ignoreKeepAlive: true,\r\n },\r\n component: '/demo/system/dept/index',\r\n },\r\n {\r\n path: 'changePassword',\r\n name: 'ChangePassword',\r\n meta: {\r\n title: 'routes.demo.system.password',\r\n ignoreKeepAlive: true,\r\n },\r\n component: '/demo/system/password/index',\r\n },\r\n ],\r\n};\r\n\r\nconst linkRoute = {\r\n path: '/link',\r\n name: 'Link',\r\n component: 'LAYOUT',\r\n meta: {\r\n icon: 'ion:tv-outline',\r\n title: 'routes.demo.iframe.frame',\r\n },\r\n children: [\r\n {\r\n path: 'doc',\r\n name: 'Doc',\r\n meta: {\r\n title: 'routes.demo.iframe.doc',\r\n frameSrc: 'https://doc.vvbin.cn/',\r\n },\r\n },\r\n {\r\n path: 'https://doc.vvbin.cn/',\r\n name: 'DocExternal',\r\n component: 'LAYOUT',\r\n meta: {\r\n title: 'routes.demo.iframe.docExternal',\r\n },\r\n },\r\n ],\r\n};\r\nmenu = [dashboardRoute, authRoute, levelRoute, sysRoute, linkRoute];\r\nresponseJson.data = menu\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "锁定用户",
"api": {
"id": "227634706",
"method": "post",
"path": "/sys/user/locked",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553957075",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "用户集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 60,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553957075"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "取消锁定用户",
"api": {
"id": "227634724",
"method": "post",
"path": "/sys/user/unLocked",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553957076",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "用户集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 66,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553957076"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "个人-修改个人密码",
"api": {
"id": "65994510",
"method": "post",
"path": "/sys/user/updatePwd",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "167710866",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"password": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "旧密码"
},
"newPassword": {
"title": "新密码",
"description": "dict.sex",
"mock": {
"mock": "@word"
},
"type": "string"
}
},
"x-apifox-orders": [
"password",
"newPassword"
],
"required": [
"newPassword",
"password"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "我的在线设备",
"api": {
"id": "234272867",
"method": "post",
"path": "/sys/user/onlineDevice",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "566005728",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/131193815"
},
"title": "",
"minItems": 3,
"maxItems": 12
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.566005728"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "字典管理",
"id": 9101189,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "字典详情",
"api": {
"id": "223844168",
"method": "post",
"path": "/sys/dict/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "546396327",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317083"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 34,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.546396327"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "根据字典编码获取字典",
"api": {
"id": "45389753",
"method": "post",
"path": "/sys/dict/getByDictType",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562088",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317077",
"x-apifox-overrides": {}
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"dictType": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "字典类型"
}
},
"x-apifox-orders": [
"dictType"
],
"required": [
"dictType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [
{
"id": 73919914,
"type": "http",
"path": null,
"name": "自定义配置组件列表",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_component_config_type_custom\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 73919913,
"type": "http",
"path": null,
"name": "组件配置类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_component_config_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 73919912,
"type": "http",
"path": null,
"name": "图表模板数据源类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_chart_config_data_source_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303528,
"type": "http",
"path": null,
"name": "模型字段数据类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_schema_field_data_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303527,
"type": "http",
"path": null,
"name": "表单类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_schema_form_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303526,
"type": "http",
"path": null,
"name": "表类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"dev_schema_table_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303525,
"type": "http",
"path": null,
"name": "通知公告状态",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_notice_state\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303524,
"type": "http",
"path": null,
"name": "通知公告类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_notice_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303523,
"type": "http",
"path": null,
"name": "管理员类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_user_admin_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303522,
"type": "http",
"path": null,
"name": "菜单打开方式",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_menu_open_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303521,
"type": "http",
"path": null,
"name": "角色类型",
"responseId": 113562088,
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_role_type\"\r\n}",
"generateMode": "normal"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303519,
"type": "http",
"path": null,
"name": "是否",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"yes_no\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303518,
"type": "http",
"path": null,
"name": "性别",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sex\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 132680392,
"type": "http",
"path": null,
"name": "字典数据类型",
"responseId": 113562088,
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_dict_data_type\"\r\n}",
"generateMode": "normal"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 51303520,
"type": "http",
"path": null,
"name": "菜单类型",
"responseId": 113562088,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"dictType\": \"sys_menu_type\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst dictType = fox.mockRequest.getParam('dictType');\r\nconst responseJson = fox.mockResponse.json();\r\nconst dict = {\r\n \"sys_config_group_code\": [{\r\n value: 'default',\r\n label: \"默认分组\"\r\n },{\r\n value: 'wx_pay',\r\n label: \"微信支付\"\r\n },{\r\n value: 'ali_pay',\r\n label: \"支付宝支付\"\r\n }],\r\n \"sys_dict_group_code\": [{\r\n value: 'default',\r\n label: \"默认分组\"\r\n }],\r\n \"sys_dict_data_type\": [\r\n {\r\n value: 1,\r\n label: \"字符串\"\r\n },{\r\n value: 2,\r\n label: \"整型\"\r\n },\r\n ],\r\n \"sex\": [{\r\n value: 1,\r\n label: \"男\",\r\n ext: {\r\n color: 'blue'\r\n }\r\n }, {\r\n value: 2,\r\n label: \"女\",\r\n ext: {\r\n color: 'red'\r\n }\r\n }, {\r\n value: 3,\r\n label: \"未知\"\r\n }],\r\n \"sys_role_type\": [{\r\n value: 1,\r\n label: \"普通角色\"\r\n }, {\r\n value: 2,\r\n label: \"工作流\"\r\n }, {\r\n value: 3,\r\n label: \"数据角色\"\r\n }],\r\n \"sys_role_role_type\": [{\r\n value: 1,\r\n label: \"普通角色\"\r\n }, {\r\n value: 2,\r\n label: \"工作流\"\r\n }, {\r\n value: 3,\r\n label: \"数据角色\"\r\n }],\r\n \"sys_menu_type\": [{\r\n value: 1,\r\n label: \"目录\"\r\n },{\r\n value: 2,\r\n label: \"菜单\"\r\n }, {\r\n value: 3,\r\n label: \"按钮\"\r\n }, {\r\n value: 4,\r\n label: \"接口\"\r\n }],\r\n \"sys_menu_open_type\": [{\r\n value: 0,\r\n label: \"无\"\r\n },{\r\n value: 1,\r\n label: \"组件\"\r\n },{\r\n value: 2,\r\n label: \"内链\"\r\n }, {\r\n value: 3,\r\n label: \"外链\"\r\n }],\r\n \"sys_user_admin_type\": [{\r\n value: \"1\",\r\n label: \"超级管理员\"\r\n }, {\r\n value: \"2\",\r\n label: \"普通管理员\"\r\n }], \r\n \"yes_no\": [{\r\n value: 1,\r\n label: \"是\",\r\n ext: {\r\n color: 'blue'\r\n }\r\n }, {\r\n value: 0,\r\n label: \"否\",\r\n ext: {\r\n color: 'red'\r\n }\r\n }],\r\n \"sys_notice_type\": [{\r\n value: \"1\",\r\n label: \"流程处理\"\r\n }, {\r\n value: \"2\",\r\n label: \"系统消息\"\r\n }],\r\n \"sys_notice_state\": [{\r\n value: \"0\",\r\n label: \"草稿\"\r\n },{\r\n value: \"1\",\r\n label: \"已发送\"\r\n }, {\r\n value: \"2\",\r\n label: \"已撤回\"\r\n }],\r\n \"dev_schema_table_type\": [{\r\n value: \"1\",\r\n label: \"单表\"\r\n },{\r\n value: \"2\",\r\n label: \"主表\"\r\n }, {\r\n value: \"3\",\r\n label: \"附表\"\r\n }],\r\n \"dev_schema_form_type\": [{\r\n value: \"1\",\r\n label: \"弹窗\"\r\n },{\r\n value: \"2\",\r\n label: \"抽屉\"\r\n }, {\r\n value: \"3\",\r\n label: \"新窗口\"\r\n }],\r\n \"dev_schema_field_data_type\": ['varchar','bigint','int','tinyint','text','datetime','date'].map((item,index)=>{\r\n return {\r\n value: index+1+'',\r\n label: item\r\n }\r\n }),\r\n \"cms_model_model_type\": [\r\n {\r\n label: \"内容模型\",\r\n value: \"1\"\r\n },{\r\n label: \"栏目模型\",\r\n value: \"2\"\r\n }\r\n ],\r\n \"dev_chart_config_data_source_type\": [\r\n {\r\n label: \"springbean\",\r\n value: \"1\"\r\n },{\r\n label: \"静态JSON\",\r\n value: \"2\"\r\n },{\r\n label: \"SQL集\",\r\n value: \"3\"\r\n },{\r\n label: \"api接口\",\r\n value: \"4\"\r\n }\r\n ],\r\n \"dev_component_config_type\": [\r\n {\r\n label: \"常规组件\",\r\n value: \"1\"\r\n },{\r\n label: \"自定义组件\",\r\n value: \"2\"\r\n }\r\n ],\r\n \"dev_component_config_type_custom\": [\r\n {\r\n label: \"普通编辑表格\",\r\n value: \"CustomEditTable\"\r\n },{\r\n label: \"经费支出情况\",\r\n value: \"commonPay\"\r\n }\r\n ],\r\n \"sys_dict_data_type\": [{\r\n label: '字符串',\r\n value: 1\r\n },{\r\n label: '整型',\r\n value: 2\r\n }]\r\n}\r\nif(dict[dictType]) {\r\n responseJson.data = dict[dictType]\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询字典",
"api": {
"id": "45389754",
"method": "post",
"path": "/sys/dict/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562089",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317083"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords"
],
"required": [
"pageNum",
"pageSize",
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加字典",
"api": {
"id": "45389755",
"method": "post",
"path": "/sys/dict/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562091",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317091",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改字典",
"api": {
"id": "45389757",
"method": "post",
"path": "/sys/dict/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562092",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317091",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除字典",
"api": {
"id": "45389756",
"method": "post",
"path": "/sys/dict/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562090",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"title": "字典ID集合",
"mock": {
"mock": "@id"
},
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
}
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "字典项管理",
"id": 9101190,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "字典项详情",
"api": {
"id": "223846989",
"method": "post",
"path": "/sys/dictItem/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "546405290",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317084"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 28,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.546405290"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询字典项",
"api": {
"id": "45389758",
"method": "post",
"path": "/sys/dictItem/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562093",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317084",
"x-apifox-overrides": {}
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
}
},
"m_EQ_dictId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "字典ID",
"description": "等值查询"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"m_EQ_dictId"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"m_EQ_dictId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加字典项",
"api": {
"id": "45389759",
"method": "post",
"path": "/sys/dictItem/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562094",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317092",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改字典项",
"api": {
"id": "45389760",
"method": "post",
"path": "/sys/dictItem/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562095",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317092",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除字典项",
"api": {
"id": "45389761",
"method": "post",
"path": "/sys/dictItem/remove",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562096",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"description": "字典项ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.113562096"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "参数配置",
"id": 9101191,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "参数配置详情",
"api": {
"id": "233374523",
"method": "post",
"path": "/sys/config/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "564264845",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317085"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "配置ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 28,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.564264845"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询参数配置",
"api": {
"id": "45389762",
"method": "post",
"path": "/sys/config/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562097",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317085",
"x-apifox-overrides": {}
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
},
"title": "搜索关键字"
},
"code": {
"type": "string",
"title": "唯一编码"
},
"groupCode": {
"type": "string",
"title": "分组编码"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"code",
"groupCode"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"code",
"groupCode"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加参数配置",
"api": {
"id": "45389763",
"method": "post",
"path": "/sys/config/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562098",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317093",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改参数配置",
"api": {
"id": "45389764",
"method": "post",
"path": "/sys/config/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562099",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317093",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除参数配置",
"api": {
"id": "45389765",
"method": "post",
"path": "/sys/config/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "113562100",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "岗位ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "菜单管理",
"id": 8875245,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "菜单树",
"api": {
"id": "225303106",
"method": "post",
"path": "/sys/menu/tree",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "549671963",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317079"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317075"
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 40,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const menuData = {\"code\":0,\"msg\":\"成功\",\"data\":[{\"id\":\"1707333545068552193\",\"appCode\":\"platform\",\"parentId\":\"0\",\"name\":\"工作流程\",\"code\":\"wf:manager\",\"pids\":\"[0],\",\"type\":1,\"sort\":\"100\",\"path\":\"/wf/manager\",\"component\":\"LAYOUT\",\"icon\":\"ant-design:laptop-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1732214794459238401\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"我的抄送\",\"code\":\"wf:processInstance:ccList\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processInstance/ccList\",\"component\":\"/wf/processInstance/ccList\",\"icon\":\"ant-design:edit-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-12-06 09:46:04\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1710857161496305665\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"我的待办\",\"code\":\"wf:processTask:todoList\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processTask/todo\",\"component\":\"/wf/processTask/todo\",\"icon\":\"ant-design:mail-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-10-08 11:18:28\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1712363087713681410\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"发起申请\",\"code\":\"wf:processDesign:listByType\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processInstance/applyList\",\"component\":\"/wf/processInstance/applyList\",\"icon\":\"ion:grid-outline\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-10-12 15:02:28\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545081135106\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"流程设计\",\"code\":\"wf:processDesign\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processDesign/index\",\"component\":\"/wf/processDesign/index\",\"icon\":\"ant-design:book-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545282461700\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"我发起的\",\"code\":\"wf:processInstance\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processInstance/index\",\"component\":\"/wf/processInstance/index\",\"icon\":\"ant-design:form-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1710857161626329092\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"我的已办\",\"code\":\"wf:processTask:doneList\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processTask/done\",\"component\":\"/wf/processTask/done\",\"icon\":\"ant-design:read-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-10-08 11:18:28\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545215352837\",\"appCode\":\"platform\",\"parentId\":\"1707333545068552193\",\"name\":\"流程定义\",\"code\":\"wf:processDefine\",\"pids\":\"[0],[1707333545068552193],\",\"type\":2,\"sort\":\"210\",\"path\":\"/wf/processDefine/index\",\"component\":\"/wf/processDefine/index\",\"icon\":\"ant-design:picture-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1707333545282461697\",\"appCode\":\"platform\",\"parentId\":\"1707333545215352837\",\"name\":\"删除流程定义\",\"code\":\"wf:processDefine:remove\",\"pids\":\"[0],[1707333545068552193],[1707333545215352837],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545282461698\",\"appCode\":\"platform\",\"parentId\":\"1707333545215352837\",\"name\":\"启用/禁用流程定义\",\"code\":\"wf:processDefine:upAndDown\",\"pids\":\"[0],[1707333545068552193],[1707333545215352837],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545282461699\",\"appCode\":\"platform\",\"parentId\":\"1707333545215352837\",\"name\":\"发起流程\",\"code\":\"wf:processDefine:startAndExecute\",\"pids\":\"[0],[1707333545068552193],[1707333545215352837],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545215352838\",\"appCode\":\"platform\",\"parentId\":\"1707333545215352837\",\"name\":\"分页查询流程定义\",\"code\":\"wf:processDefine:page\",\"pids\":\"[0],[1707333545068552193],[1707333545215352837],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1707333545215352839\",\"appCode\":\"platform\",\"parentId\":\"1707333545215352837\",\"name\":\"查看流程定义详情\",\"code\":\"wf:processDefine:detail\",\"pids\":\"[0],[1707333545068552193],[1707333545215352837],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-28 17:56:52\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]}]},{\"id\":\"1704792844271271937\",\"appCode\":\"platform\",\"parentId\":\"0\",\"name\":\"系统设置\",\"code\":\"sys:manager\",\"pids\":\"[0],\",\"type\":1,\"sort\":\"100\",\"path\":\"/sys/manager\",\"component\":\"LAYOUT\",\"icon\":\"ant-design:setting-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844296437762\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"用户管理\",\"code\":\"sys:user\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"210\",\"path\":\"/sys/user/index\",\"component\":\"/sys/user/index\",\"icon\":\"ant-design:user-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1705121465989025793\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"扮演用户\",\"code\":\"sys:playUser\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-22 15:26:51\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844317409281\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"分页查询用户\",\"code\":\"sys:user:page\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844371935233\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"添加用户\",\"code\":\"sys:user:save\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1777000739677270017\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"锁定用户\",\"code\":\"sys:user:locked\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-04-07 23:49:26\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1732214793536491522\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"授权角色\",\"code\":\"sys:user:grantRole\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-12-06 09:46:04\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844392906754\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"修改用户\",\"code\":\"sys:user:update\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844426461186\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"删除用户\",\"code\":\"sys:user:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844346769410\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"查看用户详情\",\"code\":\"sys:user:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1777000739811487746\",\"appCode\":\"platform\",\"parentId\":\"1704792844296437762\",\"name\":\"取消锁定\",\"code\":\"sys:user:unLocked\",\"pids\":\"[0],[1704792844271271937],[1704792844296437762],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-04-07 23:49:26\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1754441612077953026\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"在线用户\",\"code\":\"sys:user:onlineUserList\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"210\",\"path\":\"/sys/user/onlineUserList\",\"component\":\"/sys/user/onlineUser\",\"icon\":\"ant-design:cloud-server-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-05 17:47:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1755417937148243969\",\"appCode\":\"platform\",\"parentId\":\"1754441612077953026\",\"name\":\"将用户踢下线\",\"code\":\"sys:user:kickoutByLoginId\",\"pids\":\"[0],[1704792844271271937],[1754441612077953026],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-08 10:27:04\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1755417937110495233\",\"appCode\":\"platform\",\"parentId\":\"1754441612077953026\",\"name\":\"强制注销用户\",\"code\":\"sys:user:logoutByLoginId\",\"pids\":\"[0],[1704792844271271937],[1754441612077953026],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-08 10:27:04\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1754441612103118850\",\"appCode\":\"platform\",\"parentId\":\"1754441612077953026\",\"name\":\"强制注销Token凭证\",\"code\":\"sys:user:logoutByTokenValue\",\"pids\":\"[0],[1704792844271271937],[1754441612077953026],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-05 17:47:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1755417937177604098\",\"appCode\":\"platform\",\"parentId\":\"1754441612077953026\",\"name\":\"将Token凭证踢下线\",\"code\":\"sys:user:kickoutByTokenValue\",\"pids\":\"[0],[1704792844271271937],[1754441612077953026],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-08 10:27:04\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844447432706\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"角色管理\",\"code\":\"sys:role\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"220\",\"path\":\"/sys/role/index\",\"component\":\"/sys/role/index\",\"icon\":\"ant-design:team-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844518735873\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"修改角色\",\"code\":\"sys:role:update\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844535513089\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"删除角色\",\"code\":\"sys:role:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844602621953\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"成员管理(获取用户列表-排除指定角色)\",\"code\":\"sys:rbac:userListExcludeRoleId\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844480987137\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"查看角色详情\",\"code\":\"sys:role:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844497764353\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"添加角色\",\"code\":\"sys:role:save\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844556484610\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"设置权限(保存角色菜单关系)\",\"code\":\"sys:rbac:saveRoleMenu\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844573261826\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"成员管理(通过角色ID获取用户列表)\",\"code\":\"sys:rbac:userListByRoleId\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844590039042\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"成员管理(添加用户角色关系)\",\"code\":\"sys:rbac:saveUserRole\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844611010562\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"成员管理(删除用户角色关系)\",\"code\":\"sys:rbac:removeUserRole\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844464209922\",\"appCode\":\"platform\",\"parentId\":\"1704792844447432706\",\"name\":\"分页查询角色\",\"code\":\"sys:role:page\",\"pids\":\"[0],[1704792844271271937],[1704792844447432706],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844636176385\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"菜单管理\",\"code\":\"sys:menu\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"222\",\"path\":\"/sys/menu/index\",\"component\":\"/sys/menu/index\",\"icon\":\"ant-design:menu-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844690702337\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"修改菜单\",\"code\":\"sys:menu:update\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844678119425\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"添加菜单\",\"code\":\"sys:menu:save\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844699090945\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"删除菜单\",\"code\":\"sys:menu:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1705121466236489730\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"菜单树\",\"code\":\"sys:menu:tree\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-22 15:26:51\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844648759298\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"菜单列表\",\"code\":\"sys:menu:list\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844665536514\",\"appCode\":\"platform\",\"parentId\":\"1704792844636176385\",\"name\":\"查看菜单详情\",\"code\":\"sys:menu:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844636176385],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844715868161\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"前端路由\",\"code\":\"sys:routelist\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"224\",\"path\":\"/sys/menu/routelist\",\"component\":\"/sys/menu/routelist\",\"icon\":\"ant-design:ordered-list-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844741033985\",\"appCode\":\"platform\",\"parentId\":\"1704792844715868161\",\"name\":\"查看路由配置\",\"code\":\"btn:route:config\",\"pids\":\"[0],[1704792844271271937],[1704792844715868161],\",\"type\":3,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844774588417\",\"appCode\":\"platform\",\"parentId\":\"1704792844715868161\",\"name\":\"复制AntTreeData\",\"code\":\"btn:copy:antTreData\",\"pids\":\"[0],[1704792844271271937],[1704792844715868161],\",\"type\":3,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844732645377\",\"appCode\":\"platform\",\"parentId\":\"1704792844715868161\",\"name\":\"同步前端路由\",\"code\":\"sys:menu:syncRoute\",\"pids\":\"[0],[1704792844271271937],[1704792844715868161],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844757811202\",\"appCode\":\"platform\",\"parentId\":\"1704792844715868161\",\"name\":\"复制id/pid数据\",\"code\":\"btn:copy:idAndPidData\",\"pids\":\"[0],[1704792844271271937],[1704792844715868161],\",\"type\":3,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844787171329\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"部门管理\",\"code\":\"sys:dept\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"230\",\"path\":\"/sys/dept/index\",\"component\":\"/sys/dept/index\",\"icon\":\"ant-design:deployment-unit-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844820725761\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"添加部门\",\"code\":\"sys:dept:save\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844837502977\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"修改部门\",\"code\":\"sys:dept:update\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844854280193\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"删除部门\",\"code\":\"sys:dept:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1705121466366513154\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"部门树\",\"code\":\"sys:dept:tree\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-22 15:26:51\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844795559938\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"部门列表\",\"code\":\"sys:dept:list\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844812337154\",\"appCode\":\"platform\",\"parentId\":\"1704792844787171329\",\"name\":\"查看部门详情\",\"code\":\"sys:dept:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844787171329],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844862668802\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"岗位管理\",\"code\":\"sys:post\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"240\",\"path\":\"/sys/post/index\",\"component\":\"/sys/post/index\",\"icon\":\"ant-design:share-alt-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844879446017\",\"appCode\":\"platform\",\"parentId\":\"1704792844862668802\",\"name\":\"分页查询岗位\",\"code\":\"sys:post:page\",\"pids\":\"[0],[1704792844271271937],[1704792844862668802],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844929777665\",\"appCode\":\"platform\",\"parentId\":\"1704792844862668802\",\"name\":\"删除岗位\",\"code\":\"sys:post:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844862668802],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844917194753\",\"appCode\":\"platform\",\"parentId\":\"1704792844862668802\",\"name\":\"修改岗位\",\"code\":\"sys:post:update\",\"pids\":\"[0],[1704792844271271937],[1704792844862668802],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844887834626\",\"appCode\":\"platform\",\"parentId\":\"1704792844862668802\",\"name\":\"查看岗位详情\",\"code\":\"sys:post:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844862668802],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844904611842\",\"appCode\":\"platform\",\"parentId\":\"1704792844862668802\",\"name\":\"添加岗位\",\"code\":\"sys:post:save\",\"pids\":\"[0],[1704792844271271937],[1704792844862668802],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792844946554882\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"数据字典\",\"code\":\"sys:dict\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"250\",\"path\":\"/sys/dict/index\",\"component\":\"/sys/dict/index\",\"icon\":\"ant-design:database-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792844954943489\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"分页查询字典\",\"code\":\"sys:dict:page\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845055606785\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"修改字典项\",\"code\":\"sys:dictItem:update\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845072384001\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"删除字典项\",\"code\":\"sys:dictItem:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845009469441\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"删除字典\",\"code\":\"sys:dict:remove\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844996886529\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"修改字典\",\"code\":\"sys:dict:update\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845030440961\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"查看参数字典项\",\"code\":\"sys:dictItem:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845047218177\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"添加字典项\",\"code\":\"sys:dictItem:save\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845084966913\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"枚举字典列表\",\"code\":\"sys:dict:enumDictList\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1797538769206771714\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"自定义字典列表\",\"code\":\"sys:dict:customDictList\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-06-03 16:00:13\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845022052354\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"分页查询字典项\",\"code\":\"sys:dictItem:page\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844967526402\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"查看参数字典\",\"code\":\"sys:dict:detail\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792844984303618\",\"appCode\":\"platform\",\"parentId\":\"1704792844946554882\",\"name\":\"添加字典\",\"code\":\"sys:dict:save\",\"pids\":\"[0],[1704792844271271937],[1704792844946554882],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1704792845097549826\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"参数配置\",\"code\":\"sys:config\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"260\",\"path\":\"/sys/config/index\",\"component\":\"/sys/config/index\",\"icon\":\"ant-design:file-text-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1704792845105938433\",\"appCode\":\"platform\",\"parentId\":\"1704792845097549826\",\"name\":\"分页查询参数配置\",\"code\":\"sys:config:page\",\"pids\":\"[0],[1704792844271271937],[1704792845097549826],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845143687169\",\"appCode\":\"platform\",\"parentId\":\"1704792845097549826\",\"name\":\"修改参数配置\",\"code\":\"sys:config:update\",\"pids\":\"[0],[1704792844271271937],[1704792845097549826],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845118521345\",\"appCode\":\"platform\",\"parentId\":\"1704792845097549826\",\"name\":\"查看参数配置详情\",\"code\":\"sys:config:detail\",\"pids\":\"[0],[1704792844271271937],[1704792845097549826],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845135298561\",\"appCode\":\"platform\",\"parentId\":\"1704792845097549826\",\"name\":\"添加参数配置\",\"code\":\"sys:config:save\",\"pids\":\"[0],[1704792844271271937],[1704792845097549826],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1704792845152075778\",\"appCode\":\"platform\",\"parentId\":\"1704792845097549826\",\"name\":\"删除参数配置\",\"code\":\"sys:config:remove\",\"pids\":\"[0],[1704792844271271937],[1704792845097549826],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2023-09-21 17:41:02\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1754752826289025026\",\"appCode\":\"platform\",\"parentId\":\"1704792844271271937\",\"name\":\"登录日志\",\"code\":\"sys:visLog:page\",\"pids\":\"[0],[1704792844271271937],\",\"type\":2,\"sort\":\"260\",\"path\":\"/sys/visLog/index\",\"component\":\"/sys/visLog/index\",\"icon\":\"ant-design:login-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-02-06 14:24:10\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1749351317415587842\",\"appCode\":\"platform\",\"parentId\":\"0\",\"name\":\"在线开发\",\"code\":\"dev:manager\",\"pids\":\"[0],\",\"type\":1,\"sort\":\"100\",\"path\":\"/dev/manager\",\"component\":\"LAYOUT\",\"icon\":\"ant-design:cloud-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1749351317746937858\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587842\",\"name\":\"数据模型\",\"code\":\"dev:schema\",\"pids\":\"[0],[1749351317415587842],\",\"type\":2,\"sort\":\"1\",\"path\":\"/dev/schema/index\",\"component\":\"/dev/schema/index\",\"icon\":\"ant-design:database-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1750378008500604929\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"更新搜索表单字段Key\",\"code\":\"dev:schema:updateSearchFormKeys\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-25 12:40:12\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317876961281\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"添加模型字段\",\"code\":\"dev:schemaField:save\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1750378008504799234\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"更新列表字段Key\",\"code\":\"dev:schema:updateListKeys\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-25 12:40:12\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317876961282\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"修改模型字段\",\"code\":\"dev:schemaField:update\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317814046722\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"删除数据模型\",\"code\":\"dev:schema:remove\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317876961283\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"删除模型字段\",\"code\":\"dev:schemaField:remove\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317746937859\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"分页查询数据模型\",\"code\":\"dev:schema:page\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317814046723\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"导入数据库表\",\"code\":\"dev:schema:importTable\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317876961284\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"更新模型字段排序\",\"code\":\"dev:schemaField:updateSort\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317746937860\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"查看数据模型详情\",\"code\":\"dev:schema:detail\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317814046724\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"查看元数据\",\"code\":\"dev:schema:getByTableName\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317746937861\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"添加数据模型\",\"code\":\"dev:schema:save\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317814046725\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"分页查询模型字段\",\"code\":\"dev:schemaField:page\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317746937862\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"修改数据模型\",\"code\":\"dev:schema:update\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317814046726\",\"appCode\":\"platform\",\"parentId\":\"1749351317746937858\",\"name\":\"查看模型字段详情\",\"code\":\"dev:schemaField:detail\",\"pids\":\"[0],[1749351317415587842],[1749351317746937858],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]},{\"id\":\"1749351317415587843\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587842\",\"name\":\"模型分组\",\"code\":\"dev:schemaGroup\",\"pids\":\"[0],[1749351317415587842],\",\"type\":2,\"sort\":\"999\",\"path\":\"/dev/schemaGroup/index\",\"component\":\"/dev/schemaGroup/index\",\"icon\":\"ant-design:group-outlined\",\"isShow\":0,\"isLink\":0,\"url\":null,\"enabled\":1,\"openType\":1,\"isCache\":0,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0,\"children\":[{\"id\":\"1749351317684023298\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587843\",\"name\":\"修改模型分组\",\"code\":\"dev:schemaGroup:update\",\"pids\":\"[0],[1749351317415587842],[1749351317415587843],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317684023299\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587843\",\"name\":\"删除模型分组\",\"code\":\"dev:schemaGroup:remove\",\"pids\":\"[0],[1749351317415587842],[1749351317415587843],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317415587844\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587843\",\"name\":\"分页查询模型分组\",\"code\":\"dev:schemaGroup:page\",\"pids\":\"[0],[1749351317415587842],[1749351317415587843],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317415587845\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587843\",\"name\":\"查看模型分组详情\",\"code\":\"dev:schemaGroup:detail\",\"pids\":\"[0],[1749351317415587842],[1749351317415587843],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0},{\"id\":\"1749351317415587846\",\"appCode\":\"platform\",\"parentId\":\"1749351317415587843\",\"name\":\"添加模型分组\",\"code\":\"dev:schemaGroup:save\",\"pids\":\"[0],[1749351317415587842],[1749351317415587843],\",\"type\":4,\"sort\":\"999\",\"path\":null,\"component\":null,\"icon\":null,\"isShow\":1,\"isLink\":null,\"url\":null,\"enabled\":1,\"openType\":0,\"isCache\":null,\"isSync\":1,\"variable\":\"{}\",\"createTime\":\"2024-01-22 16:40:30\",\"createUser\":\"1567738052492341249\",\"updateTime\":\"2024-06-05 15:33:06\",\"updateUser\":\"1567738052492341249\",\"isDeleted\":0}]}]}]}\r\nfox.mockResponse.setBody(menuData);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.549671963"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "菜单详情",
"api": {
"id": "232391750",
"method": "post",
"path": "/sys/menu/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "562444016",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317079"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"description": "菜单ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 50,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.562444016"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "菜单列表",
"api": {
"id": "44166595",
"method": "post",
"path": "/sys/menu/list",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257756",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317079"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"m_EQ_appCode": {
"type": "string",
"title": "应用编码",
"description": "用于区分不同的前端应用",
"mock": {
"mock": "@pick(['platform','app-sys-1','app-sys-2'])"
}
}
},
"x-apifox-orders": [
"m_EQ_appCode"
],
"required": [
"m_EQ_appCode"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const menuData = [\r\n {\r\n \"id\": \"sys:home\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 1,\r\n \"code\": \"sys:home\",\r\n \"ext\": {\r\n \"hideChildrenInMenu\": true,\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"home\",\r\n \"parentId\": \"sys:home\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/home\",\r\n \"component\": \"sys/home/index\",\r\n \"type\": 2,\r\n \"sort\": 999,\r\n \"code\": \"home\",\r\n \"ext\": {\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"demo:manager\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"IeOutlined\",\r\n \"name\": \"演示管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 20,\r\n \"code\": \"demo:manager\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:table\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"表格\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/table/index\",\r\n \"component\": \"demo/table/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:table\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:tree\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"树\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/tree/index\",\r\n \"component\": \"demo/tree/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:tree\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:form\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"表单\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/form/index\",\r\n \"component\": \"demo/form/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:form\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:modal\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"弹窗\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/modal/index\",\r\n \"component\": \"demo/modal/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:modal\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:dict\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"字典\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/dict/index\",\r\n \"component\": \"demo/dict/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:dict\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"demo:icon\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"图标\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/demo/icon/index\",\r\n \"component\": \"demo/icon/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"demo:icon\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:manager\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"SettingOutlined\",\r\n \"name\": \"系统设置\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 20,\r\n \"code\": \"sys:manager\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"UserOutlined\",\r\n \"name\": \"用户管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/user/index\",\r\n \"component\": \"sys/user/index\",\r\n \"type\": 2,\r\n \"sort\": 210,\r\n \"code\": \"sys:user\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user:page\",\r\n \"parentId\": \"sys:user\",\r\n \"code\": \"sys:user:page\",\r\n \"name\": \"分页查询用户\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user:get\",\r\n \"parentId\": \"sys:user\",\r\n \"code\": \"sys:user:get\",\r\n \"name\": \"查看用户详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user:save\",\r\n \"parentId\": \"sys:user\",\r\n \"code\": \"sys:user:save\",\r\n \"name\": \"添加用户\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user:update\",\r\n \"parentId\": \"sys:user\",\r\n \"code\": \"sys:user:update\",\r\n \"name\": \"修改用户\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:user:remove\",\r\n \"parentId\": \"sys:user\",\r\n \"code\": \"sys:user:remove\",\r\n \"name\": \"删除用户\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"SolutionOutlined\",\r\n \"name\": \"角色管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/role/index\",\r\n \"component\": \"sys/role/index\",\r\n \"type\": 2,\r\n \"sort\": 220,\r\n \"code\": \"sys:role\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role:page\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:role:page\",\r\n \"name\": \"分页查询角色\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role:get\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:role:get\",\r\n \"name\": \"查看角色详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role:save\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:role:save\",\r\n \"name\": \"添加角色\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role:update\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:role:update\",\r\n \"name\": \"修改角色\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:role:remove\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:role:remove\",\r\n \"name\": \"删除角色\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:rbac:saveRoleMenu\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:rbac:saveRoleMenu\",\r\n \"name\": \"设置权限(保存角色菜单关系)\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:rbac:userListByRoleId\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:rbac:userListByRoleId\",\r\n \"name\": \"成员管理(通过角色ID获取用户列表)\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:rbac:saveUserRole\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:rbac:saveUserRole\",\r\n \"name\": \"成员管理(添加用户角色关系)\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:rbac:userListExcludeRoleId\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:rbac:userListExcludeRoleId\",\r\n \"name\": \"成员管理(获取用户列表-排除指定角色)\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:rbac:removeUserRole\",\r\n \"parentId\": \"sys:role\",\r\n \"code\": \"sys:rbac:removeUserRole\",\r\n \"name\": \"成员管理(删除用户角色关系)\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"MenuFoldOutlined\",\r\n \"name\": \"菜单管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/menu/index\",\r\n \"component\": \"sys/menu/index\",\r\n \"type\": 2,\r\n \"sort\": 222,\r\n \"code\": \"sys:menu\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:list\",\r\n \"parentId\": \"sys:menu\",\r\n \"code\": \"sys:menu:list\",\r\n \"name\": \"菜单列表\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:get\",\r\n \"parentId\": \"sys:menu\",\r\n \"code\": \"sys:menu:get\",\r\n \"name\": \"查看菜单详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:save\",\r\n \"parentId\": \"sys:menu\",\r\n \"code\": \"sys:menu:save\",\r\n \"name\": \"添加菜单\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:update\",\r\n \"parentId\": \"sys:menu\",\r\n \"code\": \"sys:menu:update\",\r\n \"name\": \"修改菜单\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:remove\",\r\n \"parentId\": \"sys:menu\",\r\n \"code\": \"sys:menu:remove\",\r\n \"name\": \"删除菜单\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:routelist\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"MenuUnfoldOutlined\",\r\n \"name\": \"前端路由\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/menu/routelist\",\r\n \"component\": \"sys/menu/routelist\",\r\n \"type\": 2,\r\n \"sort\": 224,\r\n \"code\": \"sys:routelist\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"btn:copy:antTreData\",\r\n \"parentId\": \"sys:routelist\",\r\n \"code\": \"btn:copy:antTreData\",\r\n \"name\": \"复制AntTreeData\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 3,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"btn:copy:idAndPidData\",\r\n \"parentId\": \"sys:routelist\",\r\n \"code\": \"btn:copy:idAndPidData\",\r\n \"name\": \"复制id/pid数据\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 3,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:menu:syncRoute\",\r\n \"parentId\": \"sys:routelist\",\r\n \"code\": \"sys:menu:syncRoute\",\r\n \"name\": \"同步前端路由\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"TeamOutlined\",\r\n \"name\": \"部门管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/dept/index\",\r\n \"component\": \"sys/dept/index\",\r\n \"type\": 2,\r\n \"sort\": 230,\r\n \"code\": \"sys:dept\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept:list\",\r\n \"parentId\": \"sys:dept\",\r\n \"code\": \"sys:dept:list\",\r\n \"name\": \"部门列表\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept:get\",\r\n \"parentId\": \"sys:dept\",\r\n \"code\": \"sys:dept:get\",\r\n \"name\": \"查看部门详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept:save\",\r\n \"parentId\": \"sys:dept\",\r\n \"code\": \"sys:dept:save\",\r\n \"name\": \"添加部门\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept:update\",\r\n \"parentId\": \"sys:dept\",\r\n \"code\": \"sys:dept:update\",\r\n \"name\": \"修改部门\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dept:remove\",\r\n \"parentId\": \"sys:dept\",\r\n \"code\": \"sys:dept:remove\",\r\n \"name\": \"删除部门\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"DeploymentUnitOutlined\",\r\n \"name\": \"岗位管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/post/index\",\r\n \"component\": \"sys/post/index\",\r\n \"type\": 2,\r\n \"sort\": 240,\r\n \"code\": \"sys:post\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post:page\",\r\n \"parentId\": \"sys:post\",\r\n \"code\": \"sys:post:page\",\r\n \"name\": \"分页查询岗位\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post:get\",\r\n \"parentId\": \"sys:post\",\r\n \"code\": \"sys:post:get\",\r\n \"name\": \"查看岗位详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post:save\",\r\n \"parentId\": \"sys:post\",\r\n \"code\": \"sys:post:save\",\r\n \"name\": \"添加岗位\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post:update\",\r\n \"parentId\": \"sys:post\",\r\n \"code\": \"sys:post:update\",\r\n \"name\": \"修改岗位\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:post:remove\",\r\n \"parentId\": \"sys:post\",\r\n \"code\": \"sys:post:remove\",\r\n \"name\": \"删除岗位\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"BellOutlined\",\r\n \"name\": \"通知公告\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/notice/index\",\r\n \"component\": \"sys/notice/index\",\r\n \"type\": 2,\r\n \"sort\": 240,\r\n \"code\": \"sys:notice\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice:page\",\r\n \"parentId\": \"sys:notice\",\r\n \"code\": \"sys:notice:page\",\r\n \"name\": \"分页查询通知\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice:get\",\r\n \"parentId\": \"sys:notice\",\r\n \"code\": \"sys:notice:get\",\r\n \"name\": \"查看通知详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice:save\",\r\n \"parentId\": \"sys:notice\",\r\n \"code\": \"sys:notice:save\",\r\n \"name\": \"添加通知\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice:update\",\r\n \"parentId\": \"sys:notice\",\r\n \"code\": \"sys:notice:update\",\r\n \"name\": \"修改通知\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:notice:remove\",\r\n \"parentId\": \"sys:notice\",\r\n \"code\": \"sys:notice:remove\",\r\n \"name\": \"删除通知\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"HddOutlined\",\r\n \"name\": \"数据字典\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/dict/index\",\r\n \"component\": \"sys/dict/index\",\r\n \"type\": 2,\r\n \"sort\": 250,\r\n \"code\": \"sys:dict\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict:page\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dict:page\",\r\n \"name\": \"分页查询字典\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict:get\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dict:get\",\r\n \"name\": \"查看参数字典\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict:save\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dict:save\",\r\n \"name\": \"添加字典\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict:update\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dict:update\",\r\n \"name\": \"修改字典\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dict:remove\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dict:remove\",\r\n \"name\": \"删除字典\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dictItem:page\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dictItem:page\",\r\n \"name\": \"分页查询字典项\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dictItem:get\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dictItem:get\",\r\n \"name\": \"查看参数字典项\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dictItem:save\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dictItem:save\",\r\n \"name\": \"添加字典项\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dictItem:update\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dictItem:update\",\r\n \"name\": \"修改字典项\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:dictItem:remove\",\r\n \"parentId\": \"sys:dict\",\r\n \"code\": \"sys:dictItem:remove\",\r\n \"name\": \"删除字典项\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"ContainerOutlined\",\r\n \"name\": \"参数配置\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/sys/config/index\",\r\n \"component\": \"sys/config/index\",\r\n \"type\": 2,\r\n \"sort\": 260,\r\n \"code\": \"sys:config\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config:page\",\r\n \"parentId\": \"sys:config\",\r\n \"code\": \"sys:config:page\",\r\n \"name\": \"分页查询参数配置\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config:get\",\r\n \"parentId\": \"sys:config\",\r\n \"code\": \"sys:config:get\",\r\n \"name\": \"查看参数配置详情\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config:save\",\r\n \"parentId\": \"sys:config\",\r\n \"code\": \"sys:config:save\",\r\n \"name\": \"添加参数配置\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config:update\",\r\n \"parentId\": \"sys:config\",\r\n \"code\": \"sys:config:update\",\r\n \"name\": \"修改参数配置\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"sys:config:remove\",\r\n \"parentId\": \"sys:config\",\r\n \"code\": \"sys:config:remove\",\r\n \"name\": \"删除参数配置\",\r\n \"sort\": 999,\r\n \"isSync\": 1,\r\n \"type\": 4,\r\n \"icon\": \"\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:manager\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"AppstoreOutlined\",\r\n \"name\": \"内容管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 30,\r\n \"code\": \"cms:manager\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:site\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"ApartmentOutlined\",\r\n \"name\": \"站点管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/cms/site/index\",\r\n \"component\": \"cms/site/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"cms:site\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:model\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"FileMarkdownOutlined\",\r\n \"name\": \"模型管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/cms/model/index\",\r\n \"component\": \"cms/model/index\",\r\n \"type\": 2,\r\n \"sort\": 320,\r\n \"code\": \"cms:model\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:category\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"UnorderedListOutlined\",\r\n \"name\": \"栏目管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/cms/category/index\",\r\n \"component\": \"cms/category/index\",\r\n \"type\": 2,\r\n \"sort\": 330,\r\n \"code\": \"cms:category\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:content\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"SnippetsOutlined\",\r\n \"name\": \"内容中心\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/cms/content/index\",\r\n \"component\": \"cms/content/index\",\r\n \"type\": 2,\r\n \"sort\": 340,\r\n \"code\": \"cms:content\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"cms:position\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"TagsOutlined\",\r\n \"name\": \"推荐管理\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/cms/position/index\",\r\n \"component\": \"cms/position/index\",\r\n \"type\": 2,\r\n \"sort\": 340,\r\n \"code\": \"cms:position\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:manager\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"UngroupOutlined\",\r\n \"name\": \"工作流\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 30,\r\n \"code\": \"wf:manager\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:modelGroup\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"ProfileOutlined\",\r\n \"name\": \"模型分组\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/modelGroup/index\",\r\n \"component\": \"wf/modelGroup/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:modelGroup\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:model\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"ClusterOutlined\",\r\n \"name\": \"模型设计\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/model/index\",\r\n \"component\": \"wf/model/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:model\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:process\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"FunctionOutlined\",\r\n \"name\": \"流程定义\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/process/index\",\r\n \"component\": \"wf/process/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:process\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:office\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"CoffeeOutlined\",\r\n \"name\": \"个人办公\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"\",\r\n \"component\": \"LAYOUT\",\r\n \"type\": 1,\r\n \"sort\": 30,\r\n \"code\": \"wf:office\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:task\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"ShakeOutlined\",\r\n \"name\": \"我的待办\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/task/index\",\r\n \"component\": \"wf/task/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:task\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:histTask\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"我的已办\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/histTask/index\",\r\n \"component\": \"wf/histTask/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:histTask\",\r\n \"ext\": {}\r\n },\r\n {\r\n \"id\": \"wf:order\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"SendOutlined\",\r\n \"name\": \"我发起流程\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/wf/order/index\",\r\n \"component\": \"wf/order/index\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"wf:order\",\r\n \"ext\": {}\r\n }\r\n]\r\n\r\nvar responseJson = fox.mockResponse.json();\r\nconst appCode= fox.mockRequest.getParam('m_EQ_appCode')\r\nresponseJson.data = menuData\r\nif(appCode == 'app-sys-1') {\r\n responseJson.data = [{\r\n \"id\": \"1\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"功能菜单1\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list\",\r\n \"component\": \"app1/list\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list\",\r\n \"ext\": {}\r\n },{\r\n \"id\": \"2\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"功能菜单2\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list2\",\r\n \"component\": \"app1/list2\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list2\",\r\n \"ext\": {}\r\n },{\r\n \"id\": \"21\",\r\n \"parentId\": \"2\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"功能菜单21\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list21\",\r\n \"component\": \"app1/list21\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list21\",\r\n \"ext\": {}\r\n }]\r\n} else if(appCode == 'app-sys-2') {\r\n responseJson.data = [{\r\n \"id\": \"1\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"功能2菜单1\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list\",\r\n \"component\": \"app1/list\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list\",\r\n \"ext\": {}\r\n },{\r\n \"id\": \"2\",\r\n \"parentId\": \"0\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"功能2菜单2\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list2\",\r\n \"component\": \"app1/list2\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list2\",\r\n \"ext\": {}\r\n },{\r\n \"id\": \"21\",\r\n \"parentId\": \"2\",\r\n \"icon\": \"SendOutlined\",\r\n \"name\": \"功能2菜单21\",\r\n \"isShow\": 1,\r\n \"isSync\": 1,\r\n \"path\": \"/app1/list21\",\r\n \"component\": \"app1/list21\",\r\n \"type\": 2,\r\n \"sort\": 310,\r\n \"code\": \"app1:list21\",\r\n \"ext\": {}\r\n }]\r\n}\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加菜单",
"api": {
"id": "44166596",
"method": "post",
"path": "/sys/menu/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257757",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "返回的数据"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317087",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改菜单",
"api": {
"id": "44166597",
"method": "post",
"path": "/sys/menu/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257758",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "返回的数据"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317087",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除菜单",
"api": {
"id": "44166598",
"method": "post",
"path": "/sys/menu/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257759",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "返回的数据"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"description": "菜单ID集合需要包含子节点"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "同步前端路由",
"api": {
"id": "44166599",
"method": "post",
"path": "/sys/menu/syncRoute",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"name": "appCode",
"required": false,
"description": "应用编码,区分不同的前端应用",
"type": "string",
"id": "xtZ1cgxNhQ",
"example": "platform"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257760",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "菜单名称",
"description": "route.meta.title"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序",
"description": "route.meta.orderNo"
},
"path": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "路由地址",
"description": "route.path"
},
"component": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "组件路径",
"description": "相对于/@/views/,route.component"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单唯一编码",
"description": "route.name"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单图标",
"description": "route.meta.icon"
},
"isShow": {
"title": "是否显示(1是,0否)",
"description": "!route.meta.hideMenu",
"mock": {
"mock": "@pick([1,0])"
},
"type": "integer"
},
"isLink": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否链接(1是,0否)",
"description": "route.meta.isLink"
},
"ext": {
"type": "object",
"properties": {
"affix": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否固定",
"description": "route.meta.affix"
},
"hideChildrenInMenu": {
"type": "string",
"title": "是否子菜单(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"icon": {
"type": "string",
"title": "菜单图标",
"mock": {
"mock": "@word"
}
},
"orderNo": {
"type": "string"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"affix",
"hideChildrenInMenu",
"icon",
"orderNo"
],
"required": [
"affix",
"hideChildrenInMenu",
"icon",
"orderNo"
]
},
"openType": {
"type": "string",
"title": "打开方式",
"mock": {
"mock": "@pick([0,1,2,3])"
},
"description": "0:无;1:组件;2:内链;3:外链"
},
"isCache": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否缓存",
"description": "!route.meta.ignoreKeepAlive"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "菜单类型(1:菜单;2:按钮;3:接口)",
"description": "dict.sys_menu_type"
},
"enabled": {
"type": "string",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"children": {
"title": "子菜单",
"$ref": "#/definitions/20317088"
},
"isSync": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否同步",
"description": "route.meta.isSync"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"name",
"code",
"type",
"sort",
"path",
"component",
"icon",
"isShow",
"isLink",
"enabled",
"openType",
"isCache",
"isSync",
"ext",
"children"
],
"required": [
"name",
"path",
"component",
"code",
"icon",
"isShow",
"isLink",
"ext",
"openType",
"isCache",
"type",
"enabled",
"children",
"isSync"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "应用列表",
"api": {
"id": "44166600",
"method": "post",
"path": "/sys/menu/appList",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257761",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "应用名称"
},
"value": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "应用编码"
}
},
"x-apifox-orders": [
"label",
"value"
],
"required": [
"label",
"value"
]
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\nresponseJson.data = [{\r\n label: \"管理平台\",\r\n value: \"platform\"\r\n},{\r\n label: \"应用系统1\",\r\n value: \"app-sys-1\"\r\n},{\r\n label: \"应用系统2\",\r\n value: \"app-sys-2\"\r\n}]\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "部门管理",
"id": 8875246,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "部门详情",
"api": {
"id": "221226491",
"method": "post",
"path": "/sys/dept/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "541536633",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317081"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 34,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.541536633"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "部门列表",
"api": {
"id": "44166601",
"method": "post",
"path": "/sys/dept/list",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257762",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317081"
},
"title": "",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var MockJs = require('mockjs');\r\n\r\nconst deptData = [{\r\n \"id\": \"1\",\r\n \"parentId\": \"0\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"11\",\r\n \"parentId\": \"1\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"12\",\r\n \"parentId\": \"1\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"13\",\r\n \"parentId\": \"1\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"111\",\r\n \"parentId\": \"11\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"112\",\r\n \"parentId\": \"11\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"2\",\r\n \"parentId\": \"0\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"21\",\r\n \"parentId\": \"2\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"22\",\r\n \"parentId\": \"2\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"23\",\r\n \"parentId\": \"2\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"3\",\r\n \"parentId\": \"0\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"31\",\r\n \"parentId\": \"3\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"32\",\r\n \"parentId\": \"3\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"4\",\r\n \"parentId\": \"0\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"41\",\r\n \"parentId\": \"4\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"42\",\r\n \"parentId\": \"4\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"5\",\r\n \"parentId\": \"0\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n},{\r\n \"id\": \"51\",\r\n \"parentId\": \"5\",\r\n \"name\": MockJs.mock('@ctitle'),\r\n \"code\": MockJs.mock('@word'),\r\n \"sort\": MockJs.mock(\"@integer(0,100)\"),\r\n \"enabled\": MockJs.mock(\"@pick([0,1])\"),\r\n \"remark\": MockJs.mock('@csentence'),\r\n \"leaderIdList\": [MockJs.mock(\"@id\"),MockJs.mock(\"@id\")],\r\n \"mainLeaderId\": MockJs.mock(\"@id\")\r\n}]\r\nvar responseJson = fox.mockResponse.json();\r\nresponseJson.data = deptData\r\n// responseJson.ids = deptData.map(item=>{\r\n// return item.id\r\n// }).join(',')\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加部门",
"api": {
"id": "44166602",
"method": "post",
"path": "/sys/dept/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257763",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317089",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改部门",
"api": {
"id": "44166603",
"method": "post",
"path": "/sys/dept/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257764",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317089",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除部门",
"api": {
"id": "44166604",
"method": "post",
"path": "/sys/dept/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257765",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "部门ID集合",
"description": "需要包含子节点"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取部门树",
"api": {
"id": "65994546",
"method": "post",
"path": "/sys/dept/tree",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "167710942",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/20317073",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\nresponseJson.data = [{ \"id\": \"1\", \"parentId\": \"0\", \"name\": \"人气米\", \"code\": \"xglrl\", \"sort\": 6, \"enabled\": 0, \"remark\": \"从而料有便被热多写本林感色。\", \"leaderIdList\": [\"520000197003187661\", \"630000200711066860\"], \"mainLeaderId\": \"610000199209295175\", \"children\": [{ \"id\": \"13\", \"parentId\": \"1\", \"name\": \"资命半大物\", \"code\": \"puqwxbn\", \"sort\": 34, \"enabled\": 0, \"remark\": \"住研划门写支着温区社装用说向布整细。\", \"leaderIdList\": [\"530000201812017014\", \"14000020170609542X\"], \"mainLeaderId\": \"210000198608037174\" }, { \"id\": \"12\", \"parentId\": \"1\", \"name\": \"影目很经水资空\", \"code\": \"umreqx\", \"sort\": 49, \"enabled\": 0, \"remark\": \"度五龙示问式作参知门水率求决单约。\", \"leaderIdList\": [\"210000199905311250\", \"450000200311274448\"], \"mainLeaderId\": \"640000201203171345\" }, { \"id\": \"11\", \"parentId\": \"1\", \"name\": \"数称理存\", \"code\": \"vaiwc\", \"sort\": 83, \"enabled\": 1, \"remark\": \"设置提公走则深度建会也原被会。\", \"leaderIdList\": [\"630000201511296826\", \"630000199504140479\"], \"mainLeaderId\": \"230000199910136550\", \"children\": [{ \"id\": \"111\", \"parentId\": \"11\", \"name\": \"较做委高关专\", \"code\": \"vivczchsta\", \"sort\": 26, \"enabled\": 1, \"remark\": \"度清身百山更线开儿一题连团。\", \"leaderIdList\": [\"32000020030615088X\", \"430000199309251889\"], \"mainLeaderId\": \"120000198303121461\" }, { \"id\": \"112\", \"parentId\": \"11\", \"name\": \"单断名场支格\", \"code\": \"gfwtubpfj\", \"sort\": 57, \"enabled\": 0, \"remark\": \"次但给子又他行算时产空观温积正运细。\", \"leaderIdList\": [\"350000200910037125\", \"310000202303137812\"], \"mainLeaderId\": \"450000201511100877\" }] }] }, { \"id\": \"4\", \"parentId\": \"0\", \"name\": \"于统治都切\", \"code\": \"iucmlgemg\", \"sort\": 22, \"enabled\": 1, \"remark\": \"部信力音规音素角类南身一酸反。\", \"leaderIdList\": [\"52000020230421273X\", \"520000198105292045\"], \"mainLeaderId\": \"410000198703068857\", \"children\": [{ \"id\": \"41\", \"parentId\": \"4\", \"name\": \"七管好后存公\", \"code\": \"qtizby\", \"sort\": 10, \"enabled\": 0, \"remark\": \"保给铁化月生收按合叫低律共图料按。\", \"leaderIdList\": [\"990000200812155573\", \"150000200403067269\"], \"mainLeaderId\": \"460000199007185957\" }, { \"id\": \"42\", \"parentId\": \"4\", \"name\": \"结音满音之张\", \"code\": \"lulfqdbzc\", \"sort\": 44, \"enabled\": 1, \"remark\": \"分省只角所外一打引什速不军大温。\", \"leaderIdList\": [\"32000020190905666X\", \"650000201410208149\"], \"mainLeaderId\": \"440000198601051750\" }] }, { \"id\": \"5\", \"parentId\": \"0\", \"name\": \"用此任数局\", \"code\": \"qrfevr\", \"sort\": 31, \"enabled\": 1, \"remark\": \"度局争速间明在可非交便个运区山加。\", \"leaderIdList\": [\"130000200808259134\", \"610000200309108125\"], \"mainLeaderId\": \"71000020100914638X\", \"children\": [{ \"id\": \"51\", \"parentId\": \"5\", \"name\": \"日京管\", \"code\": \"czieq\", \"sort\": 92, \"enabled\": 0, \"remark\": \"选看由权水权界白张县油越历再将军。\", \"leaderIdList\": [\"710000198307141769\", \"220000201506063511\"], \"mainLeaderId\": \"330000199005246294\" }] }, { \"id\": \"2\", \"parentId\": \"0\", \"name\": \"除装听王\", \"code\": \"lyku\", \"sort\": 57, \"enabled\": 0, \"remark\": \"不电位见进结先九情极先进断活进。\", \"leaderIdList\": [\"110000197008075945\", \"120000197903127264\"], \"mainLeaderId\": \"450000197808114437\", \"children\": [{ \"id\": \"22\", \"parentId\": \"2\", \"name\": \"斗打史率\", \"code\": \"tpviil\", \"sort\": 33, \"enabled\": 1, \"remark\": \"没教省场复当行七原理儿问千易。\", \"leaderIdList\": [\"320000198006076251\", \"530000197705282649\"], \"mainLeaderId\": \"35000019750110277X\" }, { \"id\": \"21\", \"parentId\": \"2\", \"name\": \"金还高得流需写\", \"code\": \"jpdpuov\", \"sort\": 56, \"enabled\": 1, \"remark\": \"花马水已化边式任支好素去。\", \"leaderIdList\": [\"440000197304056518\", \"320000202203141410\"], \"mainLeaderId\": \"810000199305236578\" }, { \"id\": \"23\", \"parentId\": \"2\", \"name\": \"社科须\", \"code\": \"xhjxirkis\", \"sort\": 79, \"enabled\": 0, \"remark\": \"常对算务段断无战情参种难反制空圆则。\", \"leaderIdList\": [\"520000197506252736\", \"220000197811257225\"], \"mainLeaderId\": \"710000201310231612\" }] }, { \"id\": \"3\", \"parentId\": \"0\", \"name\": \"作指阶许十治\", \"code\": \"nfexb\", \"sort\": 74, \"enabled\": 0, \"remark\": \"放青领导酸开备题图年这集。\", \"leaderIdList\": [\"220000200306304056\", \"430000200807038277\"], \"mainLeaderId\": \"820000197211161985\", \"children\": [{ \"id\": \"31\", \"parentId\": \"3\", \"name\": \"易元民毛对\", \"code\": \"ihodwaokx\", \"sort\": 24, \"enabled\": 0, \"remark\": \"今传么更己历准型群开而年运交派油。\", \"leaderIdList\": [\"620000197603145135\", \"210000200003246715\"], \"mainLeaderId\": \"990000199201137186\" }, { \"id\": \"32\", \"parentId\": \"3\", \"name\": \"行识压八说门\", \"code\": \"nkcrnta\", \"sort\": 27, \"enabled\": 0, \"remark\": \"集观采化白局需属光常求记。\", \"leaderIdList\": [\"23000020081007743X\", \"220000202201275120\"], \"mainLeaderId\": \"130000200811123625\" }] }]\r\n\r\nconst id = fox.mockRequest.getParam('m_EQ_id');\r\nif(id) {\r\n responseJson.data[0].name = responseJson.data[0].name + id;\r\n responseJson.data = [responseJson.data[0]]\r\n} \r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "岗位管理",
"id": 8875247,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "岗位详情",
"api": {
"id": "89732610",
"method": "post",
"path": "/sys/post/detail",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "223830592",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/20317082"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "岗位ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 9,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询岗位",
"api": {
"id": "44166605",
"method": "post",
"path": "/sys/post/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257766",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317082",
"x-apifox-overrides": {}
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
},
"title": "搜索关键字"
},
"code": {
"type": "string",
"title": "唯一编码"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"code"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"code"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加岗位",
"api": {
"id": "44166606",
"method": "post",
"path": "/sys/post/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257767",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317090",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改岗位",
"api": {
"id": "44166607",
"method": "post",
"path": "/sys/post/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257768",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317090",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除岗位",
"api": {
"id": "44166608",
"method": "post",
"path": "/sys/post/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257769",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "岗位ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "岗位下拉列表",
"api": {
"id": "44166609",
"method": "post",
"path": "/sys/post/select",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257770",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "显示名称",
"mock": {
"mock": "@cname"
}
},
"value": {
"type": "string",
"title": "值",
"mock": {
"mock": "@id"
}
},
"ext": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "扩展信息"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"label",
"value",
"ext"
],
"required": [
"label",
"value"
]
},
"title": "",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"includeIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "包含指定ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@cword"
},
"title": "关键字"
},
"includeType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "查询模式",
"description": "查询模式(1、增量(含分页数据+includeIds数据);2、排他(仅includeIds数据))"
}
},
"x-apifox-orders": [
"includeIds",
"keywords",
"includeType"
],
"required": [
"includeIds",
"keywords",
"includeType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var MockJs = require('mockjs');\r\n\r\nconst includeType = fox.mockRequest.getParam('includeType')\r\nconst includeIds = fox.mockRequest.getParam('includeIds') || []\r\nvar responseJson = fox.mockResponse.json();\r\nlet data = responseJson.data\r\nconst index = data.findIndex(item=>{\r\n return includeIds.includes(item.value)\r\n})\r\nif(includeType == 2) {\r\n data = (includeIds || []).map(id=>{\r\n return {\r\n label: MockJs.mock(\"@cname\"),\r\n value: id\r\n }\r\n })\r\n} else {\r\n if(index==-1 && includeIds.length) {\r\n includeIds.forEach(id=>{\r\n data.push({\r\n label: MockJs.mock(\"@cname\"),\r\n value: id,\r\n ext: {\r\n 'flag': 1\r\n }\r\n })\r\n })\r\n }\r\n}\r\nresponseJson.data = data\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "在线用户",
"id": 45361880,
"auth": {},
"securityScheme": {},
"parentId": 8875241,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "根据token值踢下线",
"api": {
"id": "234272868",
"method": "post",
"path": "/sys/user/kickoutByTokenValue",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "566005729",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "token集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.566005729"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
}
]
},
{
"name": "dev-在线开发",
"id": 45738413,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "模型分组",
"id": 45738414,
"auth": {},
"securityScheme": {},
"parentId": 45738413,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "分页查询模型分组",
"api": {
"id": "236308225",
"method": "post",
"path": "/dev/schemaGroup/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943993",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/132444917",
"x-apifox-overrides": {}
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317075",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加模型分组",
"api": {
"id": "236308226",
"method": "post",
"path": "/dev/schemaGroup/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943994",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444921",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改模型分组",
"api": {
"id": "236308227",
"method": "post",
"path": "/dev/schemaGroup/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943995",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444921",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除模型分组",
"api": {
"id": "236308228",
"method": "post",
"path": "/dev/schemaGroup/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943996",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "模型分组ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "模型分组详情",
"api": {
"id": "236308229",
"method": "post",
"path": "/dev/schemaGroup/detail",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943997",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/132444917"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "模型分组ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "模型分组下拉列表",
"api": {
"id": "236308230",
"method": "post",
"path": "/dev/schemaGroup/select",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943998",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "显示名称",
"mock": {
"mock": "@ctitle"
}
},
"value": {
"type": "string",
"title": "值",
"mock": {
"mock": "@id"
}
},
"ext": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "扩展信息"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"label",
"value",
"ext"
],
"required": [
"label",
"value"
]
},
"title": "",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"includeIds": {
"type": "array",
"items": {
"type": "string"
},
"title": "包含指定ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@cword"
},
"title": "关键字"
},
"includeType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "查询模式",
"description": "查询模式(1、增量(含分页数据+includeIds数据);2、排他(仅includeIds数据))"
},
"m_EQ_applicationId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "应用id"
}
},
"x-apifox-orders": [
"includeIds",
"keywords",
"includeType",
"m_EQ_applicationId"
],
"required": [
"includeIds",
"keywords",
"includeType",
"m_EQ_applicationId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var MockJs = require('mockjs');\r\n\r\n\r\nconst includeIds = fox.mockRequest.getParam('includeIds') || []\r\nvar responseJson = fox.mockResponse.json();\r\nconst data = responseJson.data\r\nconst index = data.findIndex(item=>{\r\n return includeIds.includes(item.value)\r\n})\r\nif(index==-1 && includeIds.length) {\r\n includeIds.forEach(id=>{\r\n data.push({\r\n label: MockJs.mock(\"@ctitle\"),\r\n value: id,\r\n ext: {\r\n 'flag': 1\r\n }\r\n })\r\n })\r\n}\r\nresponseJson.data = data\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "模型字段",
"id": 45738415,
"auth": {},
"securityScheme": {},
"parentId": 45738413,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "分页查询模型字段",
"api": {
"id": "236308231",
"method": "post",
"path": "/dev/schemaField/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569943999",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/132444916"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
}
},
"m_EQ_schemaId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "数据模型ID"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"m_EQ_schemaId"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"m_EQ_schemaId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加模型字段",
"api": {
"id": "236308232",
"method": "post",
"path": "/dev/schemaField/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944000",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444920",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改模型字段",
"api": {
"id": "236308233",
"method": "post",
"path": "/dev/schemaField/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944001",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444920",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除模型字段",
"api": {
"id": "236308234",
"method": "post",
"path": "/dev/schemaField/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944002",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"description": "模型字段ID"
},
"title": "",
"description": "模型字段ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "更新排序",
"api": {
"id": "236308235",
"method": "post",
"path": "/dev/schemaField/updateSort",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944003",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"schemaId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "模型ID"
},
"dragRowId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "拖拽行ID"
},
"hoverRowId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "拖拽到指定行ID"
}
},
"x-apifox-orders": [
"schemaId",
"dragRowId",
"hoverRowId"
],
"required": [
"schemaId",
"dragRowId",
"hoverRowId"
]
},
"examples": [
{
"value": "{\n \"schemaId\": \"420000199501151093\",\n \"dragRowId\": \"63000019820522116X\",\n \"hoverRowId\": \"360000197007065856\"\n}",
"mediaType": "application/json",
"description": ""
}
],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.569944003"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "数据模型",
"id": 45738416,
"auth": {},
"securityScheme": {},
"parentId": 45738413,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "获取数据模型详情",
"api": {
"id": "236308236",
"method": "post",
"path": "/dev/schema/detail",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944004",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/132444918"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "ID",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询数据模型",
"api": {
"id": "236308237",
"method": "post",
"path": "/dev/schema/page",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944005",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/132444918"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"keywords": {
"type": "string",
"mock": {
"mock": "搜索关键字"
}
},
"m_EQ_applicationId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "应用ID"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"m_EQ_applicationId"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"m_EQ_applicationId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加数据模型",
"api": {
"id": "236308238",
"method": "post",
"path": "/dev/schema/save",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944006",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444919",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改数据模型",
"api": {
"id": "236308239",
"method": "post",
"path": "/dev/schema/update",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944007",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/132444919",
"x-apifox-overrides": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除数据模型",
"api": {
"id": "236308240",
"method": "post",
"path": "/dev/schema/remove",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944008",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
},
"description": "数据模型ID"
},
"description": "数据模型ID集合"
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取数据库树",
"api": {
"id": "236308241",
"method": "post",
"path": "/dev/schema/dbTable",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "MIcCDozBrO",
"name": "appId",
"required": false,
"description": "",
"example": "",
"type": "string"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944009",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "key",
"description": "表名称"
},
"comment": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "title",
"description": "表注释"
},
"disabled": {
"type": "boolean",
"title": "是否可选"
}
},
"x-apifox-orders": [
"name",
"comment",
"disabled"
],
"required": [
"name",
"comment",
"disabled"
]
},
"title": "",
"minItems": 2,
"maxItems": 2,
"uniqueItems": true
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.569944009"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "导入数据库表",
"api": {
"id": "236308242",
"method": "post",
"path": "/dev/schema/importTable",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944010",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"schemaGroupId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "所属分组"
},
"tableNames": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@word"
}
},
"title": "表集合"
}
},
"x-apifox-orders": [
"schemaGroupId",
"tableNames"
],
"required": [
"schemaGroupId",
"tableNames"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.569944010"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改数据模型列表字段",
"api": {
"id": "236308243",
"method": "post",
"path": "/dev/schema/updateListKeys",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944011",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "数据模型ID"
},
"listKeys": {
"type": "string",
"title": "列表key排序",
"description": "多个用英文逗号分割"
}
},
"x-apifox-orders": [
"id",
"listKeys"
],
"required": [
"id",
"listKeys"
]
},
"oasExtensions": ""
},
"description": "默认情况下,模型字段排序用于添加、修改表单,如果搜索表单和列表字段排序不一样,可进行自定义排序,存入数据模型变量的searchFormKeys和listKeys字段上",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.569944011"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改数据模型搜索表单字段",
"api": {
"id": "236308244",
"method": "post",
"path": "/dev/schema/updateSearchFormKeys",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "569944012",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "数据模型ID"
},
"searchFormKeys": {
"type": "string",
"title": "搜索表单key排序",
"description": "多个用英文逗号分割"
}
},
"x-apifox-orders": [
"id",
"searchFormKeys"
],
"required": [
"id",
"searchFormKeys"
]
},
"oasExtensions": ""
},
"description": "默认情况下,模型字段排序用于添加、修改表单,如果搜索表单和列表字段排序不一样,可进行自定义排序,存入数据模型变量的searchFormKeys和listKeys字段上",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 48,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.569944012"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
}
]
},
{
"name": "权限相关",
"id": 7186571,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "RBAC",
"id": 8875242,
"auth": {},
"securityScheme": {},
"parentId": 7186571,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "保存角色菜单关系",
"api": {
"id": "44166573",
"method": "post",
"path": "/sys/rbac/saveRoleMenu",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257734",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "角色ID"
},
"menuId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "菜单ID"
}
},
"x-apifox-orders": [
"roleId",
"menuId"
],
"required": [
"roleId",
"menuId"
]
}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [
{
"id": 51173436,
"type": "http",
"path": null,
"name": "成功",
"responseId": 110257734,
"parameters": {},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"type": "application/json",
"data": "[\r\n {\r\n \"roleId\": \"1\",\r\n \"menuId\": \"1583066302173294594\"\r\n },\r\n {\r\n \"roleId\": \"1\",\r\n \"menuId\": \"1583066302173294595\"\r\n },\r\n {\r\n \"roleId\": \"1\",\r\n \"menuId\": \"1583066302240403457\"\r\n },\r\n {\r\n \"roleId\": \"1\",\r\n \"menuId\": \"1583066302307512322\"\r\n }\r\n]"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "根据角色ID获取菜单ID集合",
"api": {
"id": "44166574",
"method": "post",
"path": "/sys/rbac/roleMenuIds",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257735",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@pick(['1710857161626329092','1707333545215352837','1732214794459238401'])"
},
"description": "菜单ID"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"roleId": {
"type": "string",
"title": "角色ID"
},
"appCode": {
"type": "string",
"mock": {
"mock": "platform"
},
"title": "应用编码",
"description": "用于区分不同的前端应用"
}
},
"x-apifox-orders": [
"roleId",
"appCode"
],
"required": [
"roleId",
"appCode"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": false,
"value": "var responseJson = fox.mockResponse.json();\r\nresponseJson.data = [\r\n \"1705121465989025793\",\r\n \"1704792844317409281\",\r\n \"1704792844296437762\",\r\n \"1704792844271271937\"\r\n ]\r\nconst appCode= fox.mockRequest.getParam('appCode')\r\nif(appCode == 'app-sys-1') {\r\n responseJson.data = ['1','11']\r\n} else if(appCode == 'app-sys-2') {\r\n responseJson.data = ['2','21']\r\n}\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.110257735"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取角色菜单列表",
"api": {
"id": "44166575",
"method": "post",
"path": "/sys/rbac/roleMenuList",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257736",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317079"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "角色ID"
}
},
"x-apifox-orders": [
"roleId"
],
"required": [
"roleId"
]
},
"oasExtensions": ""
},
"description": "id/parentId格式,由前端自行构建树",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const menuData = [\r\n {\r\n \"id\": \"sys:home\",\r\n \"parentId\": 0,\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页\",\r\n \"isShow\": true,\r\n \"sort\": 1,\r\n \"ext\": {\r\n \"hideChildrenInMenu\": true,\r\n \"orderNo\": 1,\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"home\",\r\n \"parentId\": \"sys:home\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页\",\r\n \"isShow\": true,\r\n \"sort\": 999,\r\n \"ext\": {\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"home22\",\r\n \"parentId\": \"home\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页22\",\r\n \"isShow\": true,\r\n \"sort\": 999,\r\n \"ext\": {\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"home2233\",\r\n \"parentId\": \"home22\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页2233\",\r\n \"isShow\": true,\r\n \"sort\": 999,\r\n \"ext\": {\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"home2244\",\r\n \"parentId\": \"home22\",\r\n \"icon\": \"HomeOutlined\",\r\n \"name\": \"首页2244\",\r\n \"isShow\": true,\r\n \"sort\": 999,\r\n \"ext\": {\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n },\r\n {\r\n \"id\": \"demo:manager\",\r\n \"parentId\": 0,\r\n \"icon\": \"IeOutlined\",\r\n \"name\": \"演示管理\",\r\n \"isShow\": true,\r\n \"sort\": 20,\r\n \"ext\": {\r\n \"orderNo\": 20\r\n }\r\n },\r\n {\r\n \"id\": \"demo:table\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"表格\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"demo:form\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"表单\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"demo:modal\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"弹窗\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"demo:dict\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"字典\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"demo:icon\",\r\n \"parentId\": \"demo:manager\",\r\n \"icon\": \"FormOutlined\",\r\n \"name\": \"图标\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"sys:manager\",\r\n \"parentId\": 0,\r\n \"icon\": \"SettingOutlined\",\r\n \"name\": \"系统设置\",\r\n \"isShow\": true,\r\n \"sort\": 20,\r\n \"ext\": {\r\n \"orderNo\": 20\r\n }\r\n },\r\n {\r\n \"id\": \"sys:user\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"UserOutlined\",\r\n \"name\": \"用户管理\",\r\n \"isShow\": true,\r\n \"sort\": 210,\r\n \"ext\": {\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"id\": \"sys:role\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"SolutionOutlined\",\r\n \"name\": \"角色管理\",\r\n \"isShow\": true,\r\n \"sort\": 220,\r\n \"ext\": {\r\n \"orderNo\": 220\r\n }\r\n },\r\n {\r\n \"id\": \"sys:menu\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"MenuFoldOutlined\",\r\n \"name\": \"菜单管理\",\r\n \"isShow\": true,\r\n \"sort\": 222,\r\n \"ext\": {\r\n \"orderNo\": 222\r\n }\r\n },\r\n {\r\n \"id\": \"sys:routelist\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"MenuUnfoldOutlined\",\r\n \"name\": \"前端路由\",\r\n \"isShow\": true,\r\n \"sort\": 224,\r\n \"ext\": {\r\n \"orderNo\": 224\r\n }\r\n },\r\n {\r\n \"id\": \"sys:dept\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"TeamOutlined\",\r\n \"name\": \"部门管理\",\r\n \"isShow\": true,\r\n \"sort\": 230,\r\n \"ext\": {\r\n \"orderNo\": 230\r\n }\r\n },\r\n {\r\n \"id\": \"sys:post\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"DeploymentUnitOutlined\",\r\n \"name\": \"岗位管理\",\r\n \"isShow\": true,\r\n \"sort\": 240,\r\n \"ext\": {\r\n \"orderNo\": 240\r\n }\r\n },\r\n {\r\n \"id\": \"sys:notice\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"BellOutlined\",\r\n \"name\": \"通知公告\",\r\n \"isShow\": true,\r\n \"sort\": 240,\r\n \"ext\": {\r\n \"orderNo\": 240\r\n }\r\n },\r\n {\r\n \"id\": \"sys:dict\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"HddOutlined\",\r\n \"name\": \"数据字典\",\r\n \"isShow\": true,\r\n \"sort\": 250,\r\n \"ext\": {\r\n \"orderNo\": 250\r\n }\r\n },\r\n {\r\n \"id\": \"sys:config\",\r\n \"parentId\": \"sys:manager\",\r\n \"icon\": \"ContainerOutlined\",\r\n \"name\": \"参数配置\",\r\n \"isShow\": true,\r\n \"sort\": 260,\r\n \"ext\": {\r\n \"orderNo\": 260\r\n }\r\n },\r\n {\r\n \"id\": \"cms:manager\",\r\n \"parentId\": 0,\r\n \"icon\": \"AppstoreOutlined\",\r\n \"name\": \"内容管理\",\r\n \"isShow\": true,\r\n \"sort\": 30,\r\n \"ext\": {\r\n \"orderNo\": 30\r\n }\r\n },\r\n {\r\n \"id\": \"cms:site\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"ApartmentOutlined\",\r\n \"name\": \"站点管理\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"cms:model\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"FileMarkdownOutlined\",\r\n \"name\": \"模型管理\",\r\n \"isShow\": true,\r\n \"sort\": 320,\r\n \"ext\": {\r\n \"orderNo\": 320\r\n }\r\n },\r\n {\r\n \"id\": \"cms:category\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"UnorderedListOutlined\",\r\n \"name\": \"栏目管理\",\r\n \"isShow\": true,\r\n \"sort\": 330,\r\n \"ext\": {\r\n \"orderNo\": 330\r\n }\r\n },\r\n {\r\n \"id\": \"cms:content\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"SnippetsOutlined\",\r\n \"name\": \"内容中心\",\r\n \"isShow\": true,\r\n \"sort\": 340,\r\n \"ext\": {\r\n \"orderNo\": 340\r\n }\r\n },\r\n {\r\n \"id\": \"cms:position\",\r\n \"parentId\": \"cms:manager\",\r\n \"icon\": \"TagsOutlined\",\r\n \"name\": \"推荐管理\",\r\n \"isShow\": true,\r\n \"sort\": 340,\r\n \"ext\": {\r\n \"orderNo\": 340\r\n }\r\n },\r\n {\r\n \"id\": \"wf:manager\",\r\n \"parentId\": 0,\r\n \"icon\": \"UngroupOutlined\",\r\n \"name\": \"工作流\",\r\n \"isShow\": true,\r\n \"sort\": 30,\r\n \"ext\": {\r\n \"orderNo\": 30\r\n }\r\n },\r\n {\r\n \"id\": \"wf:modelGroup\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"ProfileOutlined\",\r\n \"name\": \"模型分组\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"wf:model\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"ClusterOutlined\",\r\n \"name\": \"模型设计\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"wf:process\",\r\n \"parentId\": \"wf:manager\",\r\n \"icon\": \"FunctionOutlined\",\r\n \"name\": \"流程定义\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"wf:office\",\r\n \"parentId\": 0,\r\n \"icon\": \"CoffeeOutlined\",\r\n \"name\": \"个人办公\",\r\n \"isShow\": true,\r\n \"sort\": 30,\r\n \"ext\": {\r\n \"orderNo\": 30\r\n }\r\n },\r\n {\r\n \"id\": \"wf:task\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"ShakeOutlined\",\r\n \"name\": \"我的待办\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"wf:histTask\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"name\": \"我的已办\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"wf:order\",\r\n \"parentId\": \"wf:office\",\r\n \"icon\": \"SendOutlined\",\r\n \"name\": \"我发起流程\",\r\n \"isShow\": true,\r\n \"sort\": 310,\r\n \"ext\": {\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"id\": \"login\",\r\n \"parentId\": 0,\r\n \"isShow\": true,\r\n \"sort\": 999,\r\n \"ext\": {\r\n \"hideTab\": true\r\n }\r\n }\r\n]\r\nvar responseJson = fox.mockResponse.json();\r\nresponseJson.data = menuData\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取角色菜单树",
"api": {
"id": "44166576",
"method": "post",
"path": "/sys/rbac/roleMenuTree",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257737",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/20317076"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "角色ID"
}
},
"x-apifox-orders": [
"roleId"
],
"required": [
"roleId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const treeData = [\r\n {\r\n \"key\": \"sys:home\",\r\n \"title\": \"首页\",\r\n \"ext\": {\r\n \"icon\": \"HomeOutlined\",\r\n \"hideChildrenInMenu\": true,\r\n \"orderNo\": 1,\r\n \"affix\": true\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"home\",\r\n \"title\": \"首页\",\r\n \"ext\": {\r\n \"icon\": \"HomeOutlined\",\r\n \"currentActiveMenu\": \"sys:home\",\r\n \"affix\": true\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"key\": \"demo:manager\",\r\n \"title\": \"演示管理\",\r\n \"ext\": {\r\n \"icon\": \"IeOutlined\",\r\n \"orderNo\": 20\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"demo:table\",\r\n \"title\": \"表格\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"demo:tree\",\r\n \"title\": \"树\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"demo:form\",\r\n \"title\": \"表单\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"demo:modal\",\r\n \"title\": \"弹窗\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"demo:dict\",\r\n \"title\": \"字典\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"demo:icon\",\r\n \"title\": \"图标\",\r\n \"ext\": {\r\n \"icon\": \"FormOutlined\",\r\n \"orderNo\": 210\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"key\": \"sys:manager\",\r\n \"title\": \"系统设置\",\r\n \"ext\": {\r\n \"icon\": \"SettingOutlined\",\r\n \"orderNo\": 20\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"sys:user\",\r\n \"title\": \"用户管理\",\r\n \"ext\": {\r\n \"icon\": \"UserOutlined\",\r\n \"orderNo\": 210\r\n }\r\n },\r\n {\r\n \"key\": \"sys:role\",\r\n \"title\": \"角色管理\",\r\n \"ext\": {\r\n \"icon\": \"SolutionOutlined\",\r\n \"orderNo\": 220\r\n }\r\n },\r\n {\r\n \"key\": \"sys:menu\",\r\n \"title\": \"菜单管理\",\r\n \"ext\": {\r\n \"icon\": \"MenuFoldOutlined\",\r\n \"orderNo\": 222\r\n }\r\n },\r\n {\r\n \"key\": \"sys:routelist\",\r\n \"title\": \"前端路由\",\r\n \"ext\": {\r\n \"icon\": \"MenuUnfoldOutlined\",\r\n \"orderNo\": 224\r\n }\r\n },\r\n {\r\n \"key\": \"sys:dept\",\r\n \"title\": \"部门管理\",\r\n \"ext\": {\r\n \"icon\": \"TeamOutlined\",\r\n \"orderNo\": 230\r\n }\r\n },\r\n {\r\n \"key\": \"sys:post\",\r\n \"title\": \"岗位管理\",\r\n \"ext\": {\r\n \"icon\": \"DeploymentUnitOutlined\",\r\n \"orderNo\": 240\r\n }\r\n },\r\n {\r\n \"key\": \"sys:notice\",\r\n \"title\": \"通知公告\",\r\n \"ext\": {\r\n \"icon\": \"BellOutlined\",\r\n \"orderNo\": 240\r\n }\r\n },\r\n {\r\n \"key\": \"sys:dict\",\r\n \"title\": \"数据字典\",\r\n \"ext\": {\r\n \"icon\": \"HddOutlined\",\r\n \"orderNo\": 250\r\n }\r\n },\r\n {\r\n \"key\": \"sys:config\",\r\n \"title\": \"参数配置\",\r\n \"ext\": {\r\n \"icon\": \"ContainerOutlined\",\r\n \"orderNo\": 260\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"key\": \"cms:manager\",\r\n \"title\": \"内容管理\",\r\n \"ext\": {\r\n \"icon\": \"AppstoreOutlined\",\r\n \"orderNo\": 30\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"cms:site\",\r\n \"title\": \"站点管理\",\r\n \"ext\": {\r\n \"icon\": \"ApartmentOutlined\",\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"key\": \"cms:model\",\r\n \"title\": \"模型管理\",\r\n \"ext\": {\r\n \"icon\": \"FileMarkdownOutlined\",\r\n \"orderNo\": 320\r\n }\r\n },\r\n {\r\n \"key\": \"cms:category\",\r\n \"title\": \"栏目管理\",\r\n \"ext\": {\r\n \"icon\": \"UnorderedListOutlined\",\r\n \"orderNo\": 330\r\n }\r\n },\r\n {\r\n \"key\": \"cms:content\",\r\n \"title\": \"内容中心\",\r\n \"ext\": {\r\n \"icon\": \"SnippetsOutlined\",\r\n \"orderNo\": 340\r\n }\r\n },\r\n {\r\n \"key\": \"cms:position\",\r\n \"title\": \"推荐管理\",\r\n \"ext\": {\r\n \"icon\": \"TagsOutlined\",\r\n \"orderNo\": 340\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"key\": \"wf:manager\",\r\n \"title\": \"工作流\",\r\n \"ext\": {\r\n \"icon\": \"UngroupOutlined\",\r\n \"orderNo\": 30\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"wf:modelGroup\",\r\n \"title\": \"模型分组\",\r\n \"ext\": {\r\n \"icon\": \"ProfileOutlined\",\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"key\": \"wf:model\",\r\n \"title\": \"模型设计\",\r\n \"ext\": {\r\n \"icon\": \"ClusterOutlined\",\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"key\": \"wf:process\",\r\n \"title\": \"流程定义\",\r\n \"ext\": {\r\n \"icon\": \"FunctionOutlined\",\r\n \"orderNo\": 310\r\n }\r\n }\r\n ]\r\n },\r\n {\r\n \"key\": \"wf:office\",\r\n \"title\": \"个人办公\",\r\n \"ext\": {\r\n \"icon\": \"CoffeeOutlined\",\r\n \"orderNo\": 30\r\n },\r\n \"children\": [\r\n {\r\n \"key\": \"wf:task\",\r\n \"title\": \"我的待办\",\r\n \"ext\": {\r\n \"icon\": \"ShakeOutlined\",\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"key\": \"wf:histTask\",\r\n \"title\": \"我的已办\",\r\n \"ext\": {\r\n \"icon\": \"CheckSquareOutlined\",\r\n \"orderNo\": 310\r\n }\r\n },\r\n {\r\n \"key\": \"wf:order\",\r\n \"title\": \"我发起流程\",\r\n \"ext\": {\r\n \"icon\": \"SendOutlined\",\r\n \"orderNo\": 310\r\n }\r\n }\r\n ]\r\n }\r\n]\r\nvar responseJson = fox.mockResponse.json();\r\nresponseJson.data=treeData\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "通过角色ID获取用户列表",
"api": {
"id": "44166577",
"method": "post",
"path": "/sys/rbac/userListByRoleId",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257738",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317080"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "搜索关键字"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"roleId",
"keywords"
],
"required": [
"pageNum",
"pageSize",
"roleId",
"keywords"
]
},
"oasExtensions": ""
},
"description": "及某个角色的用户列表-分页查询",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 24,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取用户列表-排除指定角色",
"api": {
"id": "44166578",
"method": "post",
"path": "/sys/rbac/userListExcludeRoleId",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257739",
"code": 200,
"name": "成功",
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/20317080"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序"
},
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID"
},
"keywords": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "搜索关键字"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"roleId",
"keywords"
],
"required": [
"pageNum",
"pageSize",
"roleId",
"keywords"
]
},
"oasExtensions": ""
},
"description": "用于选人加入角色的",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加用户角色关系",
"api": {
"id": "44166580",
"method": "post",
"path": "/sys/rbac/saveUserRole",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257741",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID"
},
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "角色ID"
}
},
"x-apifox-orders": [
"userId",
"roleId"
],
"required": [
"userId",
"roleId"
]
}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [
{
"id": 51174300,
"type": "http",
"path": null,
"name": "成功",
"responseId": 110257741,
"parameters": {},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"type": "application/json",
"data": "[\r\n {\r\n \"userId\": \"2\",\r\n \"roleId\": \"1\"\r\n },\r\n {\r\n \"userId\": \"3\",\r\n \"roleId\": \"1\"\r\n }\r\n]"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除用户角色关系",
"api": {
"id": "44166579",
"method": "post",
"path": "/sys/rbac/removeUserRole",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "110257740",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "array",
"items": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户ID"
},
"roleId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "角色ID"
}
},
"x-apifox-orders": [
"userId",
"roleId"
],
"required": [
"userId",
"roleId"
]
}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [
{
"id": 51174302,
"type": "http",
"path": null,
"name": "成功",
"responseId": 110257740,
"parameters": {},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"type": "application/json",
"data": "[\r\n {\r\n \"userId\": \"2\",\r\n \"roleId\": \"1\"\r\n },\r\n {\r\n \"userId\": \"3\",\r\n \"roleId\": \"1\"\r\n }\r\n]"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "系统登录",
"api": {
"id": "35458695",
"method": "post",
"path": "/sys/login",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": [
{
"name": "appCode",
"required": false,
"description": "应用编码,用于区分不同的前端应用",
"type": "string",
"id": "YdeAoNhjd2",
"example": "platform",
"enable": true
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "85950413",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"$ref": "#/definitions/20317074"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"userName": {
"type": "string",
"mock": {
"mock": "@word"
}
},
"password": {
"type": "string",
"mock": {
"mock": "@word"
}
},
"grantType": {
"type": "string",
"mock": {
"mock": "@pick(['password','mobilePhone'])"
}
},
"mobilePhone": {
"type": "string",
"mock": {
"mock": "@phone"
}
},
"smsCode": {
"type": "string",
"mock": {
"mock": "@integer(1000, 9999)"
}
}
},
"x-apifox-orders": [
"userName",
"password",
"grantType",
"mobilePhone",
"smsCode"
],
"required": [
"userName",
"password",
"grantType",
"mobilePhone",
"smsCode"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [
{
"id": 73919911,
"type": "http",
"path": null,
"name": "用户名密码错误",
"responseId": 85950413,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\n \"userName\": \"qfshx\",\n \"password\": \"knni\"\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 49866057,
"type": "http",
"path": null,
"name": "超级管理员登录",
"responseId": 85950413,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\r\n \"userName\": \"superAdmin\",\r\n \"password\": \"123456\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [
{
"type": "commonScript",
"data": [
384194
],
"enable": true
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 49866058,
"type": "http",
"path": null,
"name": "普通管理员",
"responseId": 85950413,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\r\n \"userName\": \"admin\",\r\n \"password\": \"123456\"\r\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [
{
"type": "commonScript",
"data": [
384194
],
"enable": true
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 49866059,
"type": "http",
"path": null,
"name": "用户名名密码错误",
"responseId": 85950413,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"commonParameters": {},
"requestBody": {
"parameters": [],
"data": "{\n \"userName\": \"qfshx\",\n \"password\": \"knni\"\n}"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 206932219,
"type": "http",
"path": null,
"name": "手机号+短信验证码",
"responseId": 85950413,
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": [
{
"id": "W9Nbo2xV2y",
"relatedId": "YdeAoNhjd2",
"relatedName": "appCode",
"value": "platform",
"enable": true,
"isDelete": false
}
]
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"grantType\": \"mobilePhone\",\r\n \"mobilePhone\": \"18644245434\",\r\n \"smsCode\": \"8888\"\r\n}",
"generateMode": "example"
},
"auth": {},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 2,
"disableUrlEncoding": false
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst userName = fox.mockRequest.getParam('userName');\r\nconst password = fox.mockRequest.getParam('password');\r\nconst grantType = fox.mockRequest.getParam('grantType');\r\nconst smsCode = fox.mockRequest.getParam('smsCode');\r\nconst responseJson = fox.mockResponse.json();\r\n\r\nif(grantType == \"mobilePhone\") {\r\n if(smsCode!=\"88888\") {\r\n responseJson.data = {};\r\n responseJson.code = 99999999;\r\n responseJson.msg = '手机号或短信验证码错误';\r\n } else {\r\n responseJson.data.token = userName + responseJson.data.token\r\n }\r\n} else {\r\n if (!(['admin','test','superAdmin','superadmin'].includes(userName) && password === '123456')) {\r\n responseJson.data = {};\r\n responseJson.code = 99999999;\r\n responseJson.msg = '用户名或密码错误';\r\n } else {\r\n responseJson.data.token = userName + responseJson.data.token\r\n }\r\n}\r\n\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.85950413"
],
"maintainer": "524719755",
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "退出系统",
"api": {
"id": "35467224",
"method": "post",
"path": "/sys/logout",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "85970393",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 19,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "发送短信验证码",
"api": {
"id": "228548760",
"method": "post",
"path": "/sys/sendSms",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "555590682",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"mobilePhone": {
"type": "string",
"mock": {
"mock": "@phone"
}
}
},
"x-apifox-orders": [
"mobilePhone"
],
"required": [
"mobilePhone"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.555590682"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "扮演用户",
"api": {
"id": "227183756",
"method": "post",
"path": "/sys/playUser",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "u4KEJjAXae",
"name": "appCode",
"required": false,
"description": "应用编码,用于区分不同的前端应用",
"example": "platform",
"type": "string"
}
]
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553197228",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"$ref": "#/definitions/20317074",
"x-apifox-overrides": {}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"userId": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"userId"
],
"required": [
"userId"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [
{
"id": 205847572,
"type": "http",
"path": null,
"name": "扮演admin账号",
"responseId": 553197228,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "EcDeIaIxB4",
"relatedId": "u4KEJjAXae",
"relatedName": "appCode",
"name": "appCode",
"type": "string",
"value": "platform",
"enable": true,
"description": "应用编码,用于区分不同的前端应用",
"isDelete": false
}
]
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\n \"userId\": \"1686404946814533633\"\n}",
"type": "application/json",
"generateMode": "normal"
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst token = fox.mockRequest.headers.get('token') || fox.mockRequest.headers.get('authorization')\r\nconst responseJson = fox.mockResponse.json();\r\nif(!token) {\r\n responseJson.data = []\r\n responseJson.code = 99990403\r\n responseJson.msg = 'token不存在或已失效'\r\n} else {\r\n var MockJs = require('mockjs');\r\n let userName = 'admin'\r\n if(token.startsWith('test')){\r\n userName = 'test'\r\n } else if(token.startsWith('superAdmin')){\r\n userName = 'superAdmin'\r\n } else if(token.startsWith('superadmin')){\r\n userName = 'superadmin'\r\n }\r\n responseJson.data.token = MockJs.mock(\"@pick(['test'])\")+MockJs.mock(\"@id\")+'isPlay'+userName\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553197228"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [
{
"type": "commonScript",
"data": [
384194
],
"defaultEnable": true,
"enable": true,
"id": "HOIQ0arSKHx4jSU2ELX7KUKCKJ5wYu74"
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "退出扮演",
"api": {
"id": "227183757",
"method": "post",
"path": "/sys/unPlayUser",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "u4KEJjAXae",
"name": "appCode",
"required": false,
"description": "应用编码,用于区分不同的前端应用",
"example": "platform",
"type": "string"
}
]
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553197229",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"$ref": "#/definitions/20317074",
"x-apifox-overrides": {}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 6,
"cases": [
{
"id": 205847573,
"type": "http",
"path": null,
"name": "成功",
"responseId": 553197229,
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": [
{
"id": "EcDeIaIxB4",
"relatedId": "u4KEJjAXae",
"relatedName": "appCode",
"name": "appCode",
"type": "string",
"value": "platform",
"enable": true,
"description": "应用编码,用于区分不同的前端应用",
"isDelete": false
}
]
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\n}",
"type": "application/json",
"generateMode": "normal"
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"requestResult": null,
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\nconst token = fox.mockRequest.headers.get('token') || fox.mockRequest.headers.get('authorization')\r\nconst responseJson = fox.mockResponse.json();\r\nif(!token) {\r\n responseJson.data = []\r\n responseJson.code = 99990403\r\n responseJson.msg = 'token不存在或已失效'\r\n} else {\r\n var MockJs = require('mockjs');\r\n let userName = 'admin'\r\n const index = token.indexOf('isPlay')\r\n if(index!=-1){\r\n userName = token.substring(index+6)\r\n }\r\n responseJson.data.token = MockJs.mock(\"@pick(['admin','test','superAdmin','superadmin'])\")+MockJs.mock(\"@id\")+userName\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553197229"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [
{
"type": "commonScript",
"data": [
384194
],
"defaultEnable": true,
"enable": true,
"id": "FA1Qrm4lg33ZGMm5MubKTHNjdEGk5otC"
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "图片验证码",
"api": {
"id": "227183758",
"method": "post",
"path": "/sys/captcha",
"parameters": {
"query": [],
"path": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553197230",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"uuid": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"base64": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"uuid",
"base64"
],
"title": "返回的数据",
"required": [
"uuid",
"base64"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"width": {
"type": "integer",
"mock": {
"mock": "130"
}
},
"height": {
"type": "integer",
"mock": {
"mock": "48"
}
},
"len": {
"type": "integer",
"mock": {
"mock": "@pick([4,5])"
}
},
"charType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3,4,5,6])"
},
"title": "字符类型",
"description": "1:默认;2:仅数值;3:仅字母;4:仅大写字母;5:仅小写字母;6:数字和大写字母"
}
},
"x-apifox-orders": [
"width",
"height",
"len",
"charType"
],
"required": [
"width",
"height",
"len",
"charType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 12,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "// 根据请求参数(包括 query、body、path)修改响应值\r\n\r\nvar MockJs = require('mockjs');\r\nconst base64Arr=[\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAZCAIAAABywGEqAAAOi0lEQVR42r1aCVSTVxZGxdbW2tZ2zrSd09Np7TqnnVNn1LZabdXWpWdanbZaZ7odx+OETRQXXJGqiMWlUFwhISQsEYMQCJvs+2oI+xoIq0BYA4EQIMub+3jhz082YnvO/OcezuPl5ef/v+/d+917H3bI+qXToP5SVO2P0v+FIpahQDu9SfnoN12DI2Pod1/Cy8JARiAx3jFebniuTCqz/evny7rtAkuN7PU71c0jE7/9mdrbkYMDYjCsmasrOn0a+fujO3dQQQEaM0BhZ+aOWjWSFSCxF0rchIKfMEBPt/j1D/WQOp0uJKFoo6Pvc5uOXONnWlqm1miv87OOXxMolCpLa2TNMkIAy5lFkQEmvCTsae6x5WEc89oB9/lMYybejaqd1OroKxVTGlh8uKizYmB8jpvm5c3BgamdPYvUanM0jEjxruc8aQw65ymUvA1V/4oGq1CuA55hLwZsbeSgXz76metVuxUMYgtWOaaV1Jkua+roXfXDBbJm5Q/elpgojioG0NmubPWUWjmibCpuSvJPCnSYJsMhEDxDM6Wx/jzuxZ0A+qZEiWx8Krtbwazvf4ZbQZjwEndb8pt1wobYVrnFd46JwcgGBCCNBimVqL8ftbaiykqUm4vi41FYGLp2DXl5ocOHZzlNcrIJDdopFPGaAfqgR1H8RlTmjXpLcGiaGEIt0SjPCYW9oF8AMzZclZLOl784QcDddYK58H0nGPzhk0Mdsllfj82ueOrjAxRVYMCcVmvmrWN+jgHE01npM66rxbHuwWDyjWTiFoILgokxa+HFt0oGsL4dWUvNfChsIFivFBj2x5RW91xoJUwuZpfRPaak11xcDQrCsPJ4cyMCHrB/v54GDw8TGiSheny5z6DOVKQeR5oJ1JWBSo4jwUrEnG/sHzrNnH8xW9y4ZN1+wPTR1c6+vDSY8QpKJCivZ1whKMPPUzdi5610IPNOP/O2uvqTsTc7yTi4aXVBLkGAdbOoGaPfOchyYiX4JQx1YVJbylo4+zmECSs+IWiVA6BLueXUzPeZLQTlLYkSavJWbR/MLGSJWxQTBbJRiE5PBGM+3uTXmLnp5csY1rg4/a8dHSgrCyUmothYJBBgX4EBuMW9eyg9Hbm46GkAqTCmIW2HHmL249OhpNRMdKKs6IgtrvD85iOA5l93nZU+6NdvMbXm7Z1nCMr+ERlDI0oqXgETF0Owk8Lksm0nCXlGTiPvlpMtPzowigNUdDGlExUpFRAmwS24blyYKeQXWnTQwXECukqjJTMeoi4ys3mGhnG19k9h2BXcCjv0Gjw6+di0W4CoaHQmbnryJIYVoIdLpUL79tkkD9evm9AQ97EBZVUfauSaJwACV/kFpJ2ckwNAk+D76vZTY+OGKJFf0Uz2/pMf7Sdwgz3ygfPt5PvUGhBqMn8jMmuWfpQ0AcQANIzHhsaYDky6SmewM8BdWitaYcx0ZI70jZh9MKVaS0CXzqRGrPp+MrNW2EBmfirFxLwQVjk8qfeqHWlSKjTJJ01cjWxwsRiPq6psVWmh0ISGrN0U1pzo6EBBChlrmfZdwctLeHuiI69fi8n3jms+E99NGbdwgFhWo4JYU+9E68CkXKnp6pNTgf7702z6M//3fBhdBpZucIPwRX16J0UEfkA+Oux3l/7FoqgigDjBNwHG9fn1FAHhx8LJAAQch50LAhjDYotuOr3T83qwSw10DFzg5BN8X+OUwUzbzMaH8EXWZ3QpKA4gNE0ZiRZoMoFVMu1MKSnWoAeJhszV3R0rdmOjCQ21NyganE4df8SxaCrAHsYCnw03vHYmX1otufoSzFw9v8uOUWqT7S2xW+FAYf131wjH8HZgLiCnLySva+nGw2T+9S89GtoMWb8fL53SCbC9XqH09427EoexjsZYZ7IzKRpifGJwvgTRyYmlGlVVplbCmH/aYnHzfkw9AMqX4ojH9+SHxukzpadvlTyof7AtuRnGX6dKyWIIQe/craVo8BR1Gd+uu1sPcc90xgxlgRH04CuZmVictVqzz0OjYaCCoqHk2vtn2LF97DdMg1JjyCa6N+zmthJbf6WR2MsnqsCecC3DTKw/a9j1AO6uGANJu6LxzCfe9nsLYf3aSw07AqQrnTl0LwH70TPYkMpptZCnAr5SMQaId5xHj0jkI7C6nLquhi4yVinMZ73fTEcYv6peGMOyJrleLRYwxQcvJsHgKU55j3JKHyFr+igOXrldPa42gbK+Xg83qchAIZyczDgBlHgWLnrCOmmAO2o5NkiQYMx6BMW8h/L3IeFa/Oud122v2mLz6uhbe/G6A4d4DXtD2/55sxkIe8ld/LRb+QwxIrstfkYcgD22g/POmdrPrzeBJ/nwagm4NZKhvvYBOgchB0OoMYgzJE5k3FbZZqV0gJ8wDnYN7uwcpIBeHCiCn5DUUkJC0lawRUFlkDKZq2WKMdCOjoiSbuCjrAwnTmw2OnhQz0RkpA004I0xQwPvJdRbhCL/gvruo457WJMzvkOhz+GPIHNVK21nwuNmLB3W3We4RgtUU1rQkp0e4aYczF/viSPbjAN9xogHZL0ZHBhvZwjpNFyNbg46GEbGUFJAIkvGpXGlZp+KbPDvMlrw3uVmQXxbxDIUB2/xa6jo/3N5DzV/u2nQ/EumpmKUIdyTKzwcnTiBQ7+3Nzp3Dh06pKfh9m3baGAumGFiHt7+9/6Bbr9iHJdYC3FJYfMFZcG6vZcJrPbvOcbnVpqu6ewdMuUACovh0fH+UXV5hzKhahgUxf9kFCB7zF0IQew8w7D9TzNCgZiPGPry7QdGzOajeWTsey4xKL8/uWakumt8dMIQTOLbhwHWDfFYIUFL4q/EP329kII7uVOfYo1MaqgC+407NRZf8u5djDIgjhsgCovizOfbRsNtWvOOsxQ1hphJWBM3P1Q3iRNXAMkowLpotQuUypaW7TgaQOfA9VLE5JSavgDKMVK4SYolA52zItK1XzLd+B0//lJOfgU+tjISyNiJwadnDRADIcRt9Zd8zcUi/Dy3Mr1eUd+jAoaWR9URuL9KbTa48kw9AeZf3WvxJSHyAMp+fnjc1jZnejoXDQVuBrghEKn6Zwq6xbjHF70CFRxA472G5secvUx2IpWS5pZJrPedSK0HqSo/VWS64EHdA4Ksclh5P/Y+nYaeJpyf1GbrlaOruTfqlyQy9v8pHtKHT/0kb3nWLHIpM1DiNA3uTQND9r54xj5A/A1HStK5WyV9C5liwsGyiOpJreUeGhAAKLOnk3KQBKITzs44KEF17e+PWCzMQX+/bTTUBRpoyHPGM6F/xONCNyzgPbmo3AelfIn4b2LdhnkgxrJOXApJoco3ekpKLgg4tdJZfbS0Er2eR6TcN71biaAEYI08E0lSTEPFcDRcp9P1tfaRNobwshASKjIGy4/In0U2LcQtYmGI111pfM2jGjPkVWoXUGp3bIYYh1I7X0Pz9Vmvig986iGzIDk3BDq4iahNCaqG7wvhiFJgSJOo7R8TY2PMmE1DZ8qsZAkH0Q3TXaaluMNhtqhuNf+XoHabv0qfI+WVN9E/6h1UXA5NeXbjQVjgGRBH798d9Y/G2dEal7KGDuNG0HRFVsAvkPfI6a4A6iqKFbH34WwVch65TN5Z10l9WpNlMaCTKNQ4rM9o24cnBQ1yUBGAGIBeE1xv6IH7zlEhyRzcAHTmyTDwvHSfUIqGnnCBnqeHo2FEasA3eMl0G93JGHfuMyhxCxKd1necit3N3rdDZlDdt772hL0PkzXSLijHQCToMrD90A2q1TGl1iz/txdMvvLFSbXGoKiTqkmmI+5btFe3S0uldBroOWu3pFur1kafj6Ym+9ssxoHtKVgesrsVph9BFU26eGDzAkuLescAzbym0SjxELgRqZZAYFZ61714rGoeQ6Rm4N71HgYPKGEy/CganBkhlCZBWgE5OvgTfBfukNWosEyDTov72xTiox14s4MrxK7GqtDEQyNNeE1vCRJ5YMGANQmfWkqQQA8orNf85+Jml19N0yFiK773lg3qk5OQhCIySc+pOmo6SP9OPaFWT6nTAtL0BwyEgEMhBREFyhGlakxFtbvJwZyVM5H9BR2WctBNiRLKFUhSa+2a6WRUJRVzCwckZ3+laNh3KgnQN+tAV1JllmmAK+pdAw1VfrRMRYXaE/GZD3XeQMxyNbfzWKAl3E1t2baTkvZegJ46daC3MURxIoCVc4AjKZKQA4apiSkoDmRSGe7f6RDQU5lWGXoklO4f5ffK5zx1uFJpLFqBdf0UB4+zyx6MzZWJDAzocc/Jwfp84YJBG/r69I1hpaapdwI8APyJBD2QKKs0ZO8xQJzwCerKQhUXUdJWxH7MvDYI11k8Mc6psA49JR7ElqzbTy+5t+zzN2Rw/AIKXJDf1IDUsqQyoEQqltbl1uWE5HAPco1iFEg3UGUFvegWfOqwI02a0D6c0z1aJ1cNT2paFBNUOAI7N/swzvylUpk/hXZ1RTrdb5Jo3B5hWTxjMH/wcNjK3R28w80SAALAu1cyMDz2wW4fSyT97Vsvwz8SdA3So5AtBhJi/c0rBsZN/zHAniWmxi+GV5lpH1lJWI3M19f26sqEBkXrQ3AAEUxeb+XuGq3221NBdHA/3HMxMb+aWtA3pPjz5yfM0gBJ1Kx0NjANwI29GCuOF8f7xkd4RIAms5xYZjnIYGXM+eYanY60uxcwxaZ8gIVJBm1FsaHBDA0pKb+DBpwbrrIGPdRxyV/grjgQZlsz4/QtIUT8r9xvma3gKho7F691NeKA4R1mdBA9LBtmOWLQgYPK1EqpSNpa0QpWm1PL/4lP50DgLQCpsOXZfKb7RUuCy92LO8+UdvvQ2kerY+t16GGutDR8AOfiggOUmxtuKCkUv4+G2lsmfSR7JPwQiTxxBWdD8fywV2x2xYJVjvqW6hqXm3ezzS6ryawhaasVAz+A7NbGvwsx59WIalM/AHmol6vQ//H6H1QLdpBnJ8+VAAAAAElFTkSuQmCC\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAZCAIAAABywGEqAAAQAUlEQVR42sVaeVxTRx5X63Z7bq27trvdq3u1u5/d7dYlIlIPPEpVaqv1qLZadcWzpQteWyu2tgW1VVetoITDgIRTERAQORQQkTOEcIUAAcJ9JEAMISHX7G8yj8kjJAH7z77PfPj8Zt7w3sz3O7/zZQqyd5mM6PrriDsFt/CZKH0lEp1G8gq4gR7lUumMv+SLpnDLSJsWXPb7mKrd92QtqhH06JdaLJbs2lXm5MRu5fPnNx07phIK0Q+6PJOTnbhc0lZGRfnfuyfq7kY/9DKa0OvXa8lmZ4ZXrExvOC3qrpAPO0Ztit07LckMB1aN/0tU7o9GBia5rG8ruigH7AZk6IyPxmh/VpZg3jwCfc369Q1eXuJt28pdXSkfddu3q0SiR3omIE4IcAkJoWRA25GcXNHV9QNoSG4ZsLlfOIv+5V0DI4ZHpIGoAmjAgBhJIlDeThT9OwsZEbPQYP2EazKYTL/iV9Kl/DSi4nfRVbTLb1CQaTX9moJulb0lMnpQV1du5gAIAJ3QKRQDeXnQtK2tvQkJFcuWMWTMmdMRFDR51C4UFQHo88PCtHq9XK2+1dDgdesWx8wE/AXNGDEYHokGogqgAeIBTYREvjOvhb3lWREV9YPaSdMgS8VYh/4YjQyioTZ0azlKckXFnyFpPMrfg0KfwHfj/4r0w47XlNWuJK+PaVTAsuD0wyLomuYmism0tZlSMvKbqMp3Mxq/FnSmtyqtWKnfuxdQrvTw0A8OdoaGCpydGdw5nBZ/f21HR83GjVQtuq5cmSRqWxMTAfEj2dmkqzMa4W+DQuFz+zZRiy03bii12kk+LVU2CLv4cahgcMTQNjSy/Fa9a1LdZ8Xt8dL+PfmyJ0LL4e5f42uG9cbJ0XDnAwz07VVYzlhtUYKQ6ZiG1nQsQDd/n+NlwVkgy1KPvvi/ld2UhukhAr3RBO05nnC8FsMG6HNGenoIvv3Z2fLUVCvfAE3m76/r6xO5u5MukDTS2TkJO26aFxoKWGc0NmKmpQ/mBgftDftceu1NVB1wp6lpIY9HmJikTnxwpwlWvup2A8irMxrZOwUa4GyBAN19+bLJ0XD1RYxybRDWhpDHrd1DzB9Q1nosBE9DygYHy/p1FLZIS1MldOTv12ro4hYkY6BzOx+S7r9yWzbfbQL0yVqhwYEi/6VITwdwhQsWmHS6qtWriTyGCQ5HK5P1JSXRkY7AwAlRaxoYIEe+U6XCBip8J+MngrkRkdtM7dmgFovDw2Hk7IMHk6Hhxas4GAmq7QVteHx0F7T9IaZqfZaUxCkNSu1ENChEDNzKRmyFbDrqu5uJUBn+1alT6MgR5OuLQkJQaSkyjiocWCHyenBNZATezV7WSSEe/09xO8gzeELqsZ+5Uk4mRI06j+6ICEAWHDJgzUZfuHBh1bvvErk3Ls6oVlMfXrdjx4SopTc0AMQANMg9Q0NzuEFsL+3L2w/qktvcDPKc4OA2pXICb68YJstuVGrBCtl01HDOiPCVoHMiGirPYYhBIeDK2zHGIo3K+jue+uBnQBjgzS6rlJdXy+8W9Fy4IvH0kWzZJ4lMkiTlVmyNKyKv9E0oCk95EBCX48G9w17TPm76cW7KC1w87R/cfJCheXPT6QSPqGL4x9iM0oLjJ3BgunV7fVom5aBiyRJdby/28OvXQ7fdfPyr16whdytXrJiQhvOFhQDx3tRUkJPEYkrACj6fCODA4RYYJZBhsuOnnavsgTWDQoC8w2yNqUWismdeCzlknBu1jmgA+Eq5KwBfUQBn2/Hw3kuzKPQBhxf9y3O9PmgayOc++XvVqZkgGIOmPuuyfYrTLhvtYAx+96XiKc57mZHDcRYa/puHRxb6MN11J5k5G09b5sB88+AmJ2yIbjm5vOb0IaXhgtu7y/aeg0XeXbYcuvknzzV3yKveeYdRFDe3CWnYefMmxfrY3buUhm38i14hB0GYGxIyoNFEikQgvxcX5/hpYP1hzRBigMyOjr4s60iRDf7ITIb3g9a/mc0y2KWHOoNdGrzPxlWexPge8XSeNf8jtiHatGGJ357ZhIb3Nyyt+24GGX9ny7aXVx3542pft11nSJvz4ZlXVlx6LuA+vO+FgHuAFLRPvo15jltMF/dP7j04+2+b9WM6t+xzbirRBlALizE9n73ucBA8cMemwwTcjW/uSOcwZueU0zJg6FWnzaQ72+mDF522lThxSLfAbUm+sEGlthvkGIxGiFMB32ypFLoeUVFsizQ/lEkjEmprSzs6iNyv0Tiggbi9E8KuXo2erfTRDYqjJR1EJ2Ib+1+NqybjJb1Ddmm4X1SMuFMB3BtR56OTM/XBT453DG2BzrVFUjINt658Gz4+xjiNi1/8aUErGZGPXdw1aT8MuqfVg/x2OuPnwTm8cLWCzqFOxWQ0Vpstj2j5csgVmGiVwylcvbbE9Q2sKG5vcbb4f+OykuoKz2khkDTdec/rm77Zc4IPlq2tp5+9wuqeHgIueIV6hYLNwZKICCqDc5b29xM5r6XFHgewu6nmNUPEAf6Zujd2m5ckliq1U0e7+V0q+76hKcHsBh5ncgIIhEp9UeJcJl4Ch1F0yOfjgZFkDwsxkFiMuzKrGX8FYQMZgQSNvaaeYT2cGnJGQsV9ZE55n5o9J6+TWajh4UPRW29hGtzdTQaDsqgI+LA4icWL1RIJJBNs7x26cdffNhy3spOgtaCX4G/AfIWVlwOyq6Kj4fmBJSVsGgD3laPKASkFJYlbVmaPhoQmnDxDdERyAghGfEs7IDEi8RI4jENFbZAJeaQ30N3RONAWDQVeGNnkBVjWyC3xqFGPdA/NRSKZ+MxSCwdxf7G5rLiaQfIyyODIyM2WQXY6TX0aMAF8kDnfVViyiufDhfrR2KknNhZnA3PnQqQEXfjb4ucHCTNOqjdt0ra1qQQCNgdADMkbwCiBaToVfnu514VnFnixKXnN/zwg++HVOHFz15rYWMrBxmvXMKy1taR7Ij+/oLWVyF/m5NijwauglYbgoBk0HoUtEB8gU41A4E5395e4aoeR0rXXMLhlXyKdCkX92qwBL6DSY8igwUwIvkFhT42xUVXf21zWqRwFeV9NP2NPczoesiNoQPiVWGwl15h9GrneZh2W7bnNdLzx4EEAV3roEMjDjY3CRYvGhK2LFyvS0ipXraIj9fv2IZN1wUpvMJbWtJyPzl594NLzS31mX7oMyM7c+NmT7v9mq8Lp/Pswua6vj/oGnlBI5AMZGfZoeM3sGMAbq3RGki2BdT1W2qExGIGJbwSdT4WNMVPfV/XYp0GrYCx+1z3rjCHRBZX7jcvjfo8Mtn2gd5ycvK9LrSMjfRo9hAdkENJ6iBlIwFDWpx4tJJh+wkqnqRrhkHTDBgC3++pVDJCnJ9EMNhPgLRQZGcAHHem9ft2BOy1ubyfIrvMNecXnJJuGZzz2Q7jh7sfkELkSKS1sHM7Ksvk0hZZxDPe6VFYZg0ui2K+8c3xZU2sw2aeBVFXDnkZGHSo8YA167J9Q9MusNOJHqDPXdnFbhdZ9zZigQVZp6P1sqdWCTgktVcxrrA28FClil18rPTwAWXlqqra1laAMCR0bdGiSvXuVBQW0C2mdAxouFhcDrOvj43FFKy6OcsC5GPSE68dPL/d5PQDryqvHz0zl7JodeJnc/eBKbGp+JfgVm1XVp8PK4SQdKGyz2uOfYqtejrbUNyFyBTfusJhBoE97y2zLF5m/NDw/hon2bJS1jsgqQbi9TQYFIb9QJoWu7h9mf3uA/GVmeMWTYeWQv8RLx4Qurkl1dK2Hi9rHJJQrcQgkT0kB44PzOFdXkrJBctB8/Hi9lxeBHvxB44EDlAltR4e9FZKM7ExBQfNoPYM0yB4CSkpIocmZG7zE+/xLG4/Su7M+Okr8CgRgf177xdveARDfQ1q6NgFHd2+m4JrNopsS4tjYTGS3P1yXxRzBcIl8ogpr0jwMsfAElnnP2ahhgG/QD5Fb2af9enrGFcuMiM9H/v5IrWEsDEQIk6nG8BsU7LTT6qNQzfvvE6NEqhrM15558zTNjP+ofu89zNPNmxDO0gnK4mKb7xoaGZkTHAyw3pfJsqRSNg3smFXQ2akzGj9MSLCkdWejIIn5uftB60T16zS8cs/LP1u6/7HAovGh6pclbUN6I6lggo1ySIPJwFSwa4OwQwabQ6AXnkRp7qOymaEUN5CbInbv348gdiBfR9RqBNnoF1+gS5cQKQyTciOQ0a+doDwpGdSwi6w+D6yZkx7G6Zv0yJG+xESLFdq9m04Qb92K69s83lB1NZ0wcOeOzdeRyMclJGRYr9fq9WDxOSwClkZEfFdQIFerBzUa6hXIhzlqJiEAq2rsSMqtOBOZufsEf9rlEmxttn2P6wVmGbcdl6YcS2Jkz8sz3LyfOpUB8qvnsj67eCOnTGJPG0zYK+C66WOocD+qumBhglSTeD+BaBWzFfkS7ubtlEhQQADy8kK7diFvb0xANSsMg6Dt2SsYXK/RDM4eB7+NsphO50QxRBdWc3piYkhVFfIDyNoIyrWbNzOgCAQkoRvIyenm8ykNQzU1tm1maSnAuojHS6uvJx8Y1DodJAei7u42pRKwBnr4ItGbV6+y9YNn5yMrzH/aHAU9FizYnSP1yah9bDQSmcotxWFIYNH0JQencHbj+g2Me0eCAgF/9o2S+ZgzDaLV/H0o+Q2Lf+4twXNAOchI4cEJTQ2ppUA4dLCwDcKJ8RsAQwk5BNubdY5GVuxLp1CQ0mnb+fOtp09ToGu3bKn/+GOBiwvIkGYb1WpSBielPZPRaHNV4BIouAt5vEOZmZDKASXZUimEp1/n5ZHiNrut4POBKnvbdEuxJAQQre7Ll72RXEd3RIoWvoUyMrKCX+wXliaUtNqnQfAVA/GVZ0fJ+A3KWIM1Q92J+gTo/icWnmon9a0xvVVJ/BW4ZUgRzoq6Yxv7w+r6wAn/MaaKbUDnJ9f1afT2ntN+8SIpYPQlJXUEBhLo2XGRRiaT+ftbAlZzFmbzalQoOLb8gYOWZa472bu+EjAhKdF+8hkRNnuhqgdOlaBP/cn9VrpNWlawT4O8wpIlsL88j29gplSySX4abB/Sbb7bBDprswRPfsFwsbrH8Q8ETHo9/U1G09GjygcPIHBqDwhoO3u2Nz6+PzNT/NFH7OAV2VEFcv0nKwvA3Z6UFCwQ7ElJWR0TAz557thfBdD2uR0fQ68K+TDNEti11fENog+ZrZ+kjC9mfMoAHTzNEQ3gPB7xguDnpLBrWWr9LyJFj4cIQDkgml6bKY2QyMc7A9vfLLXapmPHLMnzokUQIEHybKUZ4u3bDSqV40fJBgedzaADB5EiUaZUmtvcDO16Tc06VhpBvoCCq5hwbZ8WtNJfADmgYX9h2yR/mWFCorOIN8MRB2CaTAb0f7oelpQ0QKJgLihZteq1a7siIkz2jfiYqld1NQlbHTTQA4huJ/M00GSwtzNsfVSnDUyTwWRb5f8Ha/rDnzrOhPgAAAAASUVORK5CYII=\",\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIIAAAAZCAIAAABywGEqAAAOx0lEQVR42tVaCVhU1R7HsrLFzLSepb2sV1mvzUrLbK+nrZqWr83spRUgiAGaiqKiKAIqgmHKbDAOMCCyjiCLMMI4yCIIjMwAA7IPIMjIMmzDzHn/w7ncuTPcGaivvve9+/2/+93zP2fO8v+d89/O2CErj35QX5pRKt4uDrEPIcRz4iUHJtcU1SAj+rOe9Dzl+gMR87/2vnWRk91L9rOWbu7tG5joj/takSYbqThIth7FLUDcW1GIHUWCqag6Cv2vnvpklLYSnfybaT40Jb2FdC1jf2HH2o+6QC36RUQDYEFJh5IGdAO/a2ItHV1ZhRUnky/yEy906/qBM2wwfOIaDKK3IFFynpU+jEirQioekjmhxNdR2L0si2SS8D400DnB6XVdq64rTWosT2uvu6Qf6P3jAPS3o7MfjTOxyLmor806DDodSkgYOuCXviGAiJvryJWGStuutumH9NdqrxUmFib6J5KqDE7GRGaVXVT1lQd39odbmIJ++TufgUH9gdCzpPj4Ss8vPTjevOTPfzkBxdWefJaOKvgobDrLkkQP4P2V/SMq8Ue1CUirRJcPmGrV4ePO8HKKT6L/6yEOk0Ls7QgJNk5trpSSWsPwUE1htOJcYKU8tEl1TqtR9nW3We2rtwlFzxvdBDPRxU2o/gzqUqOhbmTQowsbTBNTBFqBoacHeXgYIsWJ+04RQZ/1FN5w3WbIzGpvaG9QNDQqG683XS/LKKMQWs8FbGyvME9xdcqrzkwAJi1wAIKPLUGx0976mTCFZy6S9odE6VB8bIUnS1/xr+DZc2/B5yDXFVWGoWuFeHlYe/ahtnzUmku1bMowrRaUlc3HaDSc3HQ/DQBNQrcZPR110KBcemxs7dngT1j6GupBMc9R44LE9TrLBue+NE2s7IgVGMLDUVycMltJpHz57GXgNRdUiByPWVNNWo3WxgpB88xd5kEEfTQqC46ForpZ1z+4bo8QODcvdKSx2cORkJ+I0woIVCzmIXM1dZyZywYwUj5AvNuotVUKR860xrTauIW2YYDdTSSrqcqGjV9dGEXLOsH3VWy6jn82FgYgUGKWfeXYU4Pme5irqQ5sKor3o4iHTBOr4FuBwcMDdXVJDktAvmm/pVFyYdjnsQSnxMYKPYLjaUEHiTNpfk1TOxMDoG93UnPKKa4inEvKOsvuFEepBYDagVVlrUH8Oy0VVM2pEbvdZuLwpmBtYP0BhQMyDf15mtEwDMWC+O0mWTtMgrMStfMJ+JaLXQb7bmhbKzL5q0mtSsY16+i6AoVMooA3DlPMawV49zAdh1GS50rUnaww2NvDi5jlCnkFPrAGY4iDVQzCXMNsK6UlTkdAoOACwXvVlhPMqi+2cZgwLFzjQ/kFDW2EE5laYNlde9E4di/iYUriGatMTM7NqP+ajUlePOUOMk0NXkaKSQffpGGI8nzcYNBzHSfDd3n2cdIA8CC12cIfzI+CA6UzO6+MmJRBw4WNFDBs9JS/MriIFQZ3dzAP4h14+5dLywnvlNcpazBU5VXZPu9fb+eCQF9d6wvv577ay6wqKK9lwnDXGy5GI3aB+waGCGc/P2WMFjdgjWQDBtXI9lRHmjHlLrYnmeC3GGRakuZPDIXA5S4aBlm4o6byPKWyKs+T9hmcLwjntPd8SuXokaoD9QuxwlFGrvg2Cb0uQqePr7Ex1VrOvJWxhoQqVhiCglBJCfhFxB+l3N+yes6o3DN5mfWKekBIFimrLakd1wPZHHgaBDrnw63wnvmeu0UtgYemOk0H4U9/xxWKDvvZPJxWOVYylqsa2XHRT2FVoGs282JFD6LBLhszBGPAc54CMm2pvgDFQZ2W1QwA3ei8VnsDSesRd/ciwjnueOsLAv3MQGR3AN3jpyUjugQcheL7h1JJsenEwzm8lfR89IJ7dVkOqDnLpLVYYCgpQd7eTeWNROj58fk4RpNKa7f7C92FtCIqTinWD+gn4qqCWWY6SEN6s7GJNaYpNfcK4T/9by8oQjzB3mlzJhZu6N0ofhHKdUNXY5H4UbxIsBYw3eSlZgjVxtue4bW6QhAod/0tw0P9sKlB0PHifQLPF0LcZp9wnnZi1IUNcLoPhAs0yccY5DjVxfVDwp++rwEzfY0LAgrJiKLU1LAy1Jr0DS7y78DT49+Ov8PnIHUEaCobk2HEDVwu8veP3UWZ5Xg3Tu1WX2Nr66BuEFDhu/AJHxRXR0PHuDAkZZcyBd3Yhk0S+Kafuh/r0Q0AKhAwj7XhS50Dobhgzf4JxUpFe/EiwVnCNjzQDIP0z8yCx16sOmA7n65AvBLkJUMb0tGmIOyM7nF96Z4jiAiaSZN9Bu/bW/30ztRHvPIm+6G5v6GPOGpof8R7FbwBpG9Trp6q7qntHswtOUsGra6R48HASkMxdTlKenMEg9m27RNbFC2R5LgHMm2A2DNaJVMN64f7uvtAHXEcOMAES67T6mz3W6ZuYsJAnJ93HQPg+4e92LPcdSKJrt14kEo8EHf2oY+2jh+Wa9RG3hQj95Z8ZUWqoknPu4vGoIc744uIlrcjsOxmHWURMaHv3f8DAv16sxMWuh96Irh3w56tv/hs2XnE+yA3iB8bKSm4UqzRt/eNRpByAbQXez2DQzyPxxhTkZFxV0TG9g8bUMJiXKRjaUXQRHaUZTJjcxZauq3EwiD7O4e/69fwJAetPlofYo+R8N4n/f4M2ibFOwvI9yKC88ikkMIBJgwH4spgM77hfJzoqF2JtQHZnTctoDzXF388digf9/P2DozN5FecoXNC/xIjECiRKdCcYEqI6ceWwCL9g36Bb/GvXzGPwueHT1tIHMB47ATuZFU87hMGCixEXI+nQaDn08O0OLeCChN3jrUKPKfbilOooykN+x5bBafb4S0VfMeIPirIuP7J4b6XW6gQh6bG1D8CA5xZmOhPAarg9aFMJE7YcxbsqIElrXPPguJxe+50715rG42i1zaZkLCXYc43sVTxg0O4uGw0p7TEh/qJg5zieA/Y6Hl1QDissC3kgTdDu11PSpnLLo/9CTaBVNVcVJoP6r7FSn5IP9THcbwZBHq9WUE4ER4Ps9pnZTblbUds+/tY5oitH8KuaoidQnbwk7NqHL4wYagS/REYwDuSR8k7mzvBJBSdKRK6CWkk+K5hWWr9mYw6qigohkNATgMcC3r/0jRjmQ8Nw9wNEtiMT3sV05z3j6qWBF4h33cv9YRTCP18x1cSzsHMdnKqztVinQ4E8Q6IFQgn7E7eP5IyisBeR8wzpjVHz8Oeq+RdxLmJshBWsnvtdZfIZjeMRBtdbWoSskVuf8QCBuJHUQ1GqVNTbtbd6fkwXO+57+eEl2FnQfKOaUppK3C0X+KPM5LRTyLRrBGHwiYMhmEDCR3ABpwXntfd0IFfVJpRGuMVQ0TfpGrStmjJd6x3rG2EIWqjhW6/H2+KtuvdNOcdh8PAWbzWD4O0jEoAqGpbSG2e4qrVfknaIOkt/H0leJywLvZF1j5UF3jY/d/7PCkqc0JIEaI2CxjAkaXbU7k/txnIaJ7rl/+MYYiY92T0FSqSF//D6pQgrm5MtwWDMkfJVER8Z36WIAuC6mxRNuFAxKDVUDCA72Qbhk1HYmihL3c7RpjPfrmHZhZXNNQ0tUNw5+IvpjNRpEqSU8reaWsujhVwvFqOU3vCmWYrhEOQ8CpO4MDWo5k99WO7yRKswfHzseWkmPbbCmwnwtbCG5SVVqO8JPGCb9GWB6l4O2YTDcNvfh+PcRhyyFj7cy6Opqs1KO1TPE+YEoQ7wvtw4o/Ov4ZOQ91XrcBgROQoSA5JyjLKaA+VpvAt4UP9Q9WF1aQYsTVi4qEDxGuE6Xo4mmay5rQhqIYqQaKcLeLSo5hnTekzOmYGJz1jFdbC/aOeNIRygqlmuSbz5+yvHxMtlMlfrdM2CzZOxbmjqI3wTgnCHnC26Cf4PhPwHhMnQp/6bVMRs854bsQsgrEGpetsSQRUE705zq9jh0FTpSHyrS7A6cP+nn6wDaB5+Bv4EMFl8jN7OnqwW+wTR5rlhOfYhiExu4SW+BMrd1L5g/Mm5i2vrG9qs0zTPrp8O1T5CdkcjMu+eAEQsulHvEh9L8rfim/fhnpMbTqvYK0F241ecMEO1muGsdaY5FOr8kQjiRzsR12IdKbyOrv/STeLzMudJSoNVLSpu3AmWHG9z+uS5vmTmX3hI4oo19VqPrFSaC37a2ehkUARDfYNWrv+kkXI6MPRWt1qG4bSqkZa4nQ+o07TwXRktwSZGRiDwQixG/CdfCNZesz4Ai8ADCDr5EDhQig3VhefXzu29Y3WSla/iO9yJ7l9C914N44Stj8Kx0UWsZ64VVhNbZ4FtRC1rcqomcIrtgu59ExMuaOsvh0CcTiCsS/gEUH/1CawJC3oPDEJrVlh6O3s5TpyCRIpR1MKEwoVWQpQQTWXairllVAUe5ry3nH748Z1wm709NHinvyyY9/AEFjg9DwlfNP8e952FacV+Ialrtx8/O8fbyOXQkxbwrIM/p2m7WYYRM1SlLcFZ1hZ7SFIpFXOfjMo/GEsDGAzSG2cz0JWnMwiBhZHuBdl/zR6ATcDJ+RLD2GPrsgbRT1uNjEwGNZMtFQgtXHBQFOoa+j15usTcYeJoid000KHsTfP1sgrRMJ2Zaym1tCUgSoEOGEAVsGaQwLLVofj1KyNa5/WiktJu097z6el3KikfJgiyR5WGK4WnZ7AzbsMO3K2Xbjw2UzdZQZDR0PHuBjE7o+dIAbwzPts58RFzwRM3WDlypcZJVgjaIMBGJ74Tb6uq6W6MKowwdM4Cpu2RTUWg4itDxn0gxPtFKwUHILkJfjejX874k7GCWAwCReccehgPj3L8K2lqiX3VG5yYHL0rmjY9RxHDs+Jd3LTyXjfeLlY3qxq/l1/VFjmFswq6CVOR25f7GwNBtp/ZTM4h20BAHuwXoL+pD/wtKhl+XHbUo5+GL1znsDlLqHbjOaKrL/oLzV2f+kfdpg+K9nmYKu/3s7Vdus4cTl3vLaBWQvAPLVq9yFR+rDBYEv5khQmk2CvSb9D7cXo//b5L7Vt2fRbenUuAAAAAElFTkSuQmCC\"]\r\nconst res = {\r\n \"code\": 0,\r\n \"msg\": \"成功\",\r\n \"data\": {\r\n \"uuid\": MockJs.mock(\"@uuid\"),\r\n \"base64\": base64Arr[MockJs.mock(\"@pick([0,1,2])\")]\r\n }\r\n}\r\nfox.mockResponse.setBody(res);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553197230"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [
{
"type": "customScript",
"data": "// 将接口返回数据,封装成自己需要的结构\r\nvar resp = {\r\n response: pm.response.json()\r\n}\r\npm.environment.set(\"uuid\", resp.response.data.uuid);\r\n// html 模板字符\r\nvar template = `<html><img src=\"{{response.data.base64}}\" /></html>`;\r\n\r\n// 设置 visualizer 数据。传模板、解析对象。\r\npm.visualizer.set(template, resp);",
"defaultEnable": true,
"enable": true,
"id": "EG6H6zG6vgBepo4qV9jOXaxLafYIMJC9"
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取登录图片验证码是否启用标识",
"api": {
"id": "227183759",
"method": "post",
"path": "/sys/getCaptchaOpenFlag",
"parameters": {
"path": [],
"query": [],
"cookie": [],
"header": []
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "553197231",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"flag": {
"type": "boolean",
"mock": {
"mock": "true"
},
"title": "是否启用标识"
}
},
"x-apifox-orders": [
"flag"
],
"title": "返回的数据",
"required": [
"flag"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 18,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.553197231"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "通用接口",
"id": 8373385,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "获取错误码枚举",
"api": {
"id": "41443959",
"method": "post",
"path": "/common/errEnumData",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "102798095",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "Flask基础知识",
"id": 15064901,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "用户信息",
"api": {
"id": "75558743",
"method": "get",
"path": "/user/info",
"parameters": {
"query": [
{
"required": false,
"description": "用户ID",
"type": "string",
"name": "userId",
"id": "k3TCCi9hax",
"example": "1"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "191162087",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "用户列表",
"api": {
"id": "75558951",
"method": "get",
"path": "/user/list",
"parameters": {
"query": [
{
"required": false,
"description": "当前页码",
"type": "integer",
"name": "pageNum",
"id": "FWW5u4ATWi",
"example": "1"
},
{
"required": false,
"description": "每页大小",
"type": "integer",
"name": "pageSize",
"id": "XZxk4NWn12",
"example": "10"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "191162300",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/x-www-form-urlencoded",
"parameters": [
{
"required": false,
"description": "用户名称",
"type": "string",
"name": "userName",
"id": "NWotJlM3ko",
"example": ""
},
{
"required": false,
"description": "用户类型",
"type": "integer",
"name": "userType",
"id": "6UZyISEaQN"
}
],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 20,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加用户",
"api": {
"id": "75559049",
"method": "post",
"path": "/user/save",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "191162408",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "text/plain",
"parameters": [],
"examples": [
{
"value": "userName=admin&userType=1",
"mediaType": "text/plain",
"description": ""
}
],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "更新用户",
"api": {
"id": "75559118",
"method": "post",
"path": "/user/update",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "191162550",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"userName": {
"type": "string",
"mock": {
"mock": "@name"
},
"title": "用户名称"
},
"userType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
}
}
},
"x-apifox-orders": [
"userName",
"userType"
],
"required": [
"userName",
"userType"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 40,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "路由参数",
"api": {
"id": "75559149",
"method": "get",
"path": "/user/get/{userId}",
"parameters": {
"path": [
{
"name": "userId",
"required": true,
"id": "userId#0",
"example": "1"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "191162591",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298",
"x-apifox-overrides": {}
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 50,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "演示",
"id": 27032331,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "查询单个演示",
"api": {
"id": "137271678",
"method": "post",
"path": "/biz/demo/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "377340684",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"$ref": "#/definitions/76272639"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "演示ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.377340684"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "分页查询演示列表",
"api": {
"id": "137271984",
"method": "post",
"path": "/biz/demo/page",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "377340890",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"$ref": "#/definitions/76272639"
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317075"
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 20,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.377340890"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "添加演示",
"api": {
"id": "137272310",
"method": "post",
"path": "/biz/demo/save",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "377341241",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/76272639"
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.377341241"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改演示",
"api": {
"id": "137272384",
"method": "post",
"path": "/biz/demo/update",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "377341651",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/76272639"
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.377341651"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "删除演示",
"api": {
"id": "137272515",
"method": "post",
"path": "/biz/demo/remove",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "377341439",
"code": 200,
"name": "成功",
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
}
}
},
"x-apifox-orders": [
"ids"
],
"required": [
"ids"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.377341439"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "vben5",
"id": 42756680,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "登录",
"api": {
"id": "220345012",
"method": "post",
"path": "/auth/login",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "539821696",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
}
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"password": {
"type": "string"
},
"realName": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"username": {
"type": "string"
},
"accessToken": {
"type": "string"
}
},
"required": [
"id",
"password",
"realName",
"roles",
"username",
"accessToken"
],
"x-apifox-orders": [
"id",
"password",
"realName",
"roles",
"username",
"accessToken"
]
},
"error": {
"type": "null"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"data",
"error",
"message"
],
"x-apifox-orders": [
"code",
"data",
"error",
"message"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"data": "{\r\n \"code\": 0,\r\n \"data\": {\r\n \"id\": 1,\r\n \"password\": \"123456\",\r\n \"realName\": \"Admin\",\r\n \"roles\": [\r\n \"admin\"\r\n ],\r\n \"username\": \"admin\",\r\n \"accessToken\": \"eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpZCI6MSwicGFzc3dvcmQiOiIxMjM0NTYiLCJyZWFsTmFtZSI6IkFkbWluIiwicm9sZXMiOlsiYWRtaW4iXSwidXNlcm5hbWUiOiJhZG1pbiIsImlhdCI6MTcyODIyMzg3MSwiZXhwIjoxNzI4ODI4NjcxfQ.2CYKJ91Qq5-p-pFMLD5V6kWh-4wF0IsJVAUQQIcxaKE\"\r\n },\r\n \"error\": null,\r\n \"message\": \"ok\"\r\n}",
"responseId": 539821696,
"ordering": 1
}
],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.539821696"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取用户信息",
"api": {
"id": "220345026",
"method": "post",
"path": "/user/info",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "539816221",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
}
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "integer"
},
"realName": {
"type": "string"
},
"roles": {
"type": "array",
"items": {
"type": "string"
}
},
"username": {
"type": "string"
}
},
"required": [
"id",
"realName",
"roles",
"username"
],
"x-apifox-orders": [
"id",
"realName",
"roles",
"username"
]
},
"error": {
"type": "null"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"data",
"error",
"message"
],
"x-apifox-orders": [
"code",
"data",
"error",
"message"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"data": "{\r\n \"code\": 0,\r\n \"data\": {\r\n \"id\": 1,\r\n \"realName\": \"Admin\",\r\n \"roles\": [\r\n \"admin\"\r\n ],\r\n \"username\": \"admin\"\r\n },\r\n \"error\": null,\r\n \"message\": \"ok\"\r\n}",
"ordering": 1
}
],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 20,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.539816221"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取当前用户权限码",
"api": {
"id": "220345058",
"method": "get",
"path": "/auth/codes",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "539821697",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
}
},
"data": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@word"
}
}
},
"error": {
"type": "null"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"data",
"error",
"message"
],
"x-apifox-orders": [
"code",
"data",
"error",
"message"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"data": "{\r\n \"code\": 0,\r\n \"data\": [\r\n \"AC_100010\",\r\n \"AC_100020\",\r\n \"AC_100030\"\r\n ],\r\n \"error\": null,\r\n \"message\": \"ok\"\r\n}",
"responseId": 539821697,
"ordering": 1
}
],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.539821697"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "退出",
"api": {
"id": "220345064",
"method": "post",
"path": "/auth/logout",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "539816575",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
}
},
"data": {
"type": "string"
},
"error": {
"type": "null"
},
"message": {
"type": "string"
}
},
"required": [
"code",
"data",
"error",
"message"
],
"x-apifox-orders": [
"code",
"data",
"error",
"message"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [
{
"name": "成功示例",
"data": "{\r\n \"code\": 0,\r\n \"data\": \"\",\r\n \"error\": null,\r\n \"message\": \"ok\"\r\n}",
"ordering": 1
}
],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 40,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.539816575"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取用户菜单",
"api": {
"id": "220369007",
"method": "get",
"path": "/menu/all",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "539866526",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/20317073"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 50,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\n// responseJson.data = ['sys:menu:syncRoute','btn:copy:antTreData','btn:copy:idAndPidData']\r\n//responseJson.data = ['sys:manager','sys:user']\r\n// single\r\nconst dashboardMenus = [\r\n {\r\n component: 'BasicLayout',\r\n meta: {\r\n order: -1,\r\n title: 'page.dashboard.title',\r\n },\r\n name: 'Dashboard',\r\n path: '/',\r\n redirect: '/analytics',\r\n children: [\r\n {\r\n name: 'Analytics',\r\n path: '/analytics',\r\n component: '/dashboard/analytics/index',\r\n meta: {\r\n affixTab: true,\r\n title: 'page.dashboard.analytics',\r\n },\r\n },\r\n {\r\n name: 'Workspace',\r\n path: '/workspace',\r\n component: '/dashboard/workspace/index',\r\n meta: {\r\n title: 'page.dashboard.workspace',\r\n },\r\n },\r\n ],\r\n },\r\n {\r\n component: 'BasicLayout',\r\n meta: {\r\n icon: 'ant-design:setting-outlined',\r\n keepAlive: true,\r\n order: 1000,\r\n title: '系统设置',\r\n },\r\n name: 'sys:manager',\r\n path: '/sys/manager',\r\n children: [\r\n {\r\n meta: {\r\n icon: 'ant-design:user-outlined',\r\n title: '用户管理'\r\n },\r\n name: 'sys:user:index',\r\n path: '/sys/user/index',\r\n component: '/sys/user/index'\r\n },\r\n {\r\n meta: {\r\n icon: 'ant-design:team-outlined',\r\n title: '角色管理'\r\n },\r\n name: 'sys:role:index',\r\n path: '/sys/role/index',\r\n component: '/sys/role/index'\r\n },\r\n ],\r\n },\r\n];\r\nresponseJson.data = dashboardMenus\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.539866526"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "测试-api-select",
"api": {
"id": "224890095",
"method": "post",
"path": "/test/apiselect",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "548994535",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"a": {
"type": "object",
"properties": {
"b": {
"type": "object",
"properties": {
"items": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "显示文本",
"additionalProperties": false
},
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "隐藏值",
"additionalProperties": false
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"name",
"id"
]
}
}
},
"x-apifox-orders": [
"items"
],
"required": [
"items"
]
}
},
"x-apifox-orders": [
"b"
],
"required": [
"b"
]
}
},
"x-apifox-orders": [
"a"
],
"title": "返回的数据",
"required": [
"a"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 60,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.548994535"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "biz-商品",
"id": 46200052,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "添加商品",
"api": {
"id": "238991285",
"method": "post",
"path": "/biz/product/save",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "575184407",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.575184407"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "修改商品",
"api": {
"id": "238991289",
"method": "post",
"path": "/biz/product/update",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "575187482",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 16,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.575187482"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "商品详情",
"api": {
"id": "238991449",
"method": "post",
"path": "/biz/product/detail",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "575183617",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "商品ID"
},
"productName": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "商品名称"
},
"productStockList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "商品ID"
},
"productNo": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "商品编号"
},
"productNum": {
"type": "integer",
"title": "商品数量",
"mock": {
"mock": "@integer(60, 100)"
}
},
"productStockNum": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "商品库存"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
}
},
"switch": {
"type": "boolean",
"mock": {
"mock": "@boolean"
}
}
},
"x-apifox-orders": [
"id",
"productNo",
"productNum",
"productStockNum",
"type",
"switch"
],
"required": [
"id",
"productNo",
"productNum",
"productStockNum",
"type",
"switch"
]
},
"title": "商品库存列表",
"description": "用于表单"
}
},
"x-apifox-orders": [
"id",
"productName",
"productStockList"
],
"title": "返回的数据",
"required": [
"id",
"productName",
"productStockList"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "商品ID"
}
},
"x-apifox-orders": [
"id"
],
"required": [
"id"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 26,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.575183617"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "deepseek",
"id": 50562753,
"auth": {},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": "",
"fields": []
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "chat_get",
"api": {
"id": "262417329",
"method": "get",
"path": "/chat",
"parameters": {
"query": [
{
"required": false,
"description": "",
"type": "string",
"id": "zHINDnafOv",
"enable": true,
"name": "prompt",
"example": "茉莉花"
}
]
},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "616842077",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.616842077"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "art-design-pro",
"id": 62564327,
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"parentId": 0,
"serverId": "",
"description": "",
"identityPattern": {
"httpApi": {
"type": "inherit",
"bodyType": ""
}
},
"shareSettings": {},
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"postProcessors": [
{
"id": "inheritProcessors",
"type": "inheritProcessors",
"data": {}
}
],
"inheritPostProcessors": {},
"inheritPreProcessors": {},
"items": [
{
"name": "获取用户菜单",
"api": {
"id": "327225311",
"method": "get",
"path": "/getArtDesignMenu",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "729954386",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/20317073"
},
"description": "",
"contentType": "json",
"mediaType": "",
"oasExtensions": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"mediaType": "",
"examples": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 10,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const menuData = [\r\n {\r\n \"name\": \"Dashboard\",\r\n \"path\": \"/dashboard\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.title\",\r\n \"icon\": \"&#xe721;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/dashboard/console\",\r\n \"name\": \"Console\",\r\n \"component\": \"/dashboard/console\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.console\",\r\n \"keepAlive\": false,\r\n \"fixedTab\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/dashboard/analysis\",\r\n \"name\": \"Analysis\",\r\n \"component\": \"/dashboard/analysis\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.analysis\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/dashboard/ecommerce\",\r\n \"name\": \"Ecommerce\",\r\n \"component\": \"/dashboard/ecommerce\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.ecommerce\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/template\",\r\n \"name\": \"Template\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.template.title\",\r\n \"icon\": \"&#xe860;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/template/cards\",\r\n \"name\": \"Cards\",\r\n \"component\": \"/template/cards\",\r\n \"meta\": {\r\n \"title\": \"menus.template.cards\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/banners\",\r\n \"name\": \"Banners\",\r\n \"component\": \"/template/banners\",\r\n \"meta\": {\r\n \"title\": \"menus.template.banners\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/charts\",\r\n \"name\": \"Charts\",\r\n \"component\": \"/template/charts\",\r\n \"meta\": {\r\n \"title\": \"menus.template.charts\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/map\",\r\n \"name\": \"Map\",\r\n \"component\": \"/template/map\",\r\n \"meta\": {\r\n \"title\": \"menus.template.map\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/chat\",\r\n \"name\": \"Chat\",\r\n \"component\": \"/template/chat\",\r\n \"meta\": {\r\n \"title\": \"menus.template.chat\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/calendar\",\r\n \"name\": \"Calendar\",\r\n \"component\": \"/template/calendar\",\r\n \"meta\": {\r\n \"title\": \"menus.template.calendar\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/template/pricing\",\r\n \"name\": \"Pricing\",\r\n \"component\": \"/template/pricing\",\r\n \"meta\": {\r\n \"title\": \"menus.template.pricing\",\r\n \"keepAlive\": true,\r\n \"isFullPage\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/widgets\",\r\n \"name\": \"Widgets\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.title\",\r\n \"icon\": \"&#xe81a;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/widgets/icon-list\",\r\n \"name\": \"IconList\",\r\n \"component\": \"/widgets/icon-list\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.iconList\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/icon-selector\",\r\n \"name\": \"IconSelector\",\r\n \"component\": \"/widgets/icon-selector\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.iconSelector\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/image-crop\",\r\n \"name\": \"ImageCrop\",\r\n \"component\": \"/widgets/image-crop\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.imageCrop\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/excel\",\r\n \"name\": \"Excel\",\r\n \"component\": \"/widgets/excel\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.excel\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/video\",\r\n \"name\": \"Video\",\r\n \"component\": \"/widgets/video\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.video\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/count-to\",\r\n \"name\": \"CountTo\",\r\n \"component\": \"/widgets/count-to\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.countTo\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/wang-editor\",\r\n \"name\": \"WangEditor\",\r\n \"component\": \"/widgets/wang-editor\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.wangEditor\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/watermark\",\r\n \"name\": \"Watermark\",\r\n \"component\": \"/widgets/watermark\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.watermark\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/context-menu\",\r\n \"name\": \"ContextMenu\",\r\n \"component\": \"/widgets/context-menu\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.contextMenu\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/qrcode\",\r\n \"name\": \"Qrcode\",\r\n \"component\": \"/widgets/qrcode\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.qrcode\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/drag\",\r\n \"name\": \"Drag\",\r\n \"component\": \"/widgets/drag\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.drag\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/text-scroll\",\r\n \"name\": \"TextScroll\",\r\n \"component\": \"/widgets/text-scroll\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.textScroll\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/widgets/fireworks\",\r\n \"name\": \"Fireworks\",\r\n \"component\": \"/widgets/fireworks\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.fireworks\",\r\n \"keepAlive\": true,\r\n \"showTextBadge\": \"Hot\"\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/outside/iframe/elementui\",\r\n \"name\": \"ElementUI\",\r\n \"component\": \"\",\r\n \"meta\": {\r\n \"title\": \"menus.widgets.elementUI\",\r\n \"keepAlive\": false,\r\n \"link\": \"https://element-plus.org/zh-CN/component/overview.html\",\r\n \"isIframe\": true,\r\n \"showBadge\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/examples\",\r\n \"name\": \"Examples\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.examples.title\",\r\n \"icon\": \"&#xe8d4;\",\r\n \"showBadge\": true\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/examples/tabs\",\r\n \"name\": \"Tabs\",\r\n \"component\": \"/examples/tabs\",\r\n \"meta\": {\r\n \"title\": \"menus.examples.tabs\"\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/examples/tables/basic\",\r\n \"name\": \"TablesBasic\",\r\n \"component\": \"/examples/tables/basic\",\r\n \"meta\": {\r\n \"title\": \"menus.examples.tablesBasic\",\r\n \"keepAlive\": true,\r\n \"showTextBadge\": \"New\"\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/examples/tables\",\r\n \"name\": \"Tables\",\r\n \"component\": \"/examples/tables\",\r\n \"meta\": {\r\n \"title\": \"menus.examples.tables\",\r\n \"keepAlive\": true,\r\n \"showTextBadge\": \"New\"\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/examples/tables/tree\",\r\n \"name\": \"TablesTree\",\r\n \"component\": \"/examples/tables/tree\",\r\n \"meta\": {\r\n \"title\": \"menus.examples.tablesTree\",\r\n \"keepAlive\": true,\r\n \"showTextBadge\": \"New\"\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/system\",\r\n \"name\": \"System\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.system.title\",\r\n \"icon\": \"&#xe7b9;\",\r\n \"roles\": [\r\n \"R_SUPER\",\r\n \"R_ADMIN\"\r\n ]\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/system/user\",\r\n \"name\": \"User\",\r\n \"component\": \"/system/user\",\r\n \"meta\": {\r\n \"title\": \"menus.system.user\",\r\n \"keepAlive\": true,\r\n \"roles\": [\r\n \"R_SUPER\",\r\n \"R_ADMIN\"\r\n ]\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/role\",\r\n \"name\": \"Role\",\r\n \"component\": \"/system/role\",\r\n \"meta\": {\r\n \"title\": \"menus.system.role\",\r\n \"keepAlive\": true,\r\n \"roles\": [\r\n \"R_SUPER\"\r\n ]\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/user-center\",\r\n \"name\": \"UserCenter\",\r\n \"component\": \"/system/user-center\",\r\n \"meta\": {\r\n \"title\": \"menus.system.userCenter\",\r\n \"isHide\": true,\r\n \"keepAlive\": true,\r\n \"isHideTab\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/menu\",\r\n \"name\": \"Menus\",\r\n \"component\": \"/system/menu\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu\",\r\n \"keepAlive\": true,\r\n \"roles\": [\r\n \"R_SUPER\"\r\n ],\r\n \"authList\": [\r\n {\r\n \"title\": \"新增\",\r\n \"authMark\": \"add\"\r\n },\r\n {\r\n \"title\": \"编辑\",\r\n \"authMark\": \"edit\"\r\n },\r\n {\r\n \"title\": \"删除\",\r\n \"authMark\": \"delete\"\r\n }\r\n ]\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/nested\",\r\n \"name\": \"Nested\",\r\n \"component\": \"\",\r\n \"meta\": {\r\n \"title\": \"menus.system.nested\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/system/nested/menu1\",\r\n \"name\": \"NestedMenu1\",\r\n \"component\": \"/system/nested/menu1\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu1\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/nested/menu2\",\r\n \"name\": \"NestedMenu2\",\r\n \"component\": \"\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu2\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/system/nested/menu2/menu2-1\",\r\n \"name\": \"NestedMenu2-1\",\r\n \"component\": \"/system/nested/menu2\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu21\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/system/nested/menu3\",\r\n \"name\": \"NestedMenu3\",\r\n \"component\": \"\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu3\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/system/nested/menu3/menu3-1\",\r\n \"name\": \"NestedMenu3-1\",\r\n \"component\": \"/system/nested/menu3\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu31\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/system/nested/menu3/menu3-2\",\r\n \"name\": \"NestedMenu3-2\",\r\n \"component\": \"\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu32\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/system/nested/menu3/menu3-2/menu3-2-1\",\r\n \"name\": \"NestedMenu3-2-1\",\r\n \"component\": \"/system/nested/menu3/menu3-2\",\r\n \"meta\": {\r\n \"title\": \"menus.system.menu321\",\r\n \"icon\": \"&#xe676;\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/article\",\r\n \"name\": \"Article\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.article.title\",\r\n \"icon\": \"&#xe7ae;\",\r\n \"roles\": [\r\n \"R_SUPER\",\r\n \"R_ADMIN\"\r\n ]\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/article/article-list\",\r\n \"name\": \"ArticleList\",\r\n \"component\": \"/article/list\",\r\n \"meta\": {\r\n \"title\": \"menus.article.articleList\",\r\n \"keepAlive\": true,\r\n \"authList\": [\r\n {\r\n \"title\": \"新增\",\r\n \"authMark\": \"add\"\r\n },\r\n {\r\n \"title\": \"编辑\",\r\n \"authMark\": \"edit\"\r\n }\r\n ]\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/article/detail\",\r\n \"name\": \"ArticleDetail\",\r\n \"component\": \"/article/detail\",\r\n \"meta\": {\r\n \"title\": \"menus.article.articleDetail\",\r\n \"isHide\": true,\r\n \"keepAlive\": true,\r\n \"activePath\": \"/article/article-list\"\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/article/comment\",\r\n \"name\": \"ArticleComment\",\r\n \"component\": \"/article/comment\",\r\n \"meta\": {\r\n \"title\": \"menus.article.comment\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/article/publish\",\r\n \"name\": \"ArticlePublish\",\r\n \"component\": \"/article/publish\",\r\n \"meta\": {\r\n \"title\": \"menus.article.articlePublish\",\r\n \"keepAlive\": true,\r\n \"authList\": [\r\n {\r\n \"title\": \"发布\",\r\n \"authMark\": \"article/article-publish/add\"\r\n }\r\n ]\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/result\",\r\n \"name\": \"Result\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.result.title\",\r\n \"icon\": \"&#xe715;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/result/success\",\r\n \"name\": \"ResultSuccess\",\r\n \"component\": \"/result/success\",\r\n \"meta\": {\r\n \"title\": \"menus.result.success\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/result/fail\",\r\n \"name\": \"ResultFail\",\r\n \"component\": \"/result/fail\",\r\n \"meta\": {\r\n \"title\": \"menus.result.fail\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/exception\",\r\n \"name\": \"Exception\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.exception.title\",\r\n \"icon\": \"&#xe820;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/exception/403\",\r\n \"name\": \"403\",\r\n \"component\": \"/exception/403\",\r\n \"meta\": {\r\n \"title\": \"menus.exception.forbidden\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/exception/404\",\r\n \"name\": \"404\",\r\n \"component\": \"/exception/404\",\r\n \"meta\": {\r\n \"title\": \"menus.exception.notFound\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/exception/500\",\r\n \"name\": \"500\",\r\n \"component\": \"/exception/500\",\r\n \"meta\": {\r\n \"title\": \"menus.exception.serverError\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/safeguard\",\r\n \"name\": \"Safeguard\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.safeguard.title\",\r\n \"icon\": \"&#xe816;\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/safeguard/server\",\r\n \"name\": \"SafeguardServer\",\r\n \"component\": \"/safeguard/server\",\r\n \"meta\": {\r\n \"title\": \"menus.safeguard.server\",\r\n \"keepAlive\": true\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"Help\",\r\n \"path\": \"/help\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"title\": \"menus.help.title\",\r\n \"icon\": \"&#xe719;\",\r\n \"keepAlive\": false,\r\n \"roles\": [\r\n \"R_SUPER\",\r\n \"R_ADMIN\"\r\n ]\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"\",\r\n \"name\": \"Document\",\r\n \"meta\": {\r\n \"title\": \"menus.help.document\",\r\n \"link\": \"https://www.lingchen.kim/art-design-pro/docs\",\r\n \"isIframe\": false,\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"name\": \"ChangeLog\",\r\n \"path\": \"/change/log\",\r\n \"component\": \"/change/log\",\r\n \"meta\": {\r\n \"title\": \"menus.plan.log\",\r\n \"showTextBadge\": \"v2.5.3\",\r\n \"icon\": \"&#xe712;\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n }\r\n]\r\n\r\n\r\n// 获取自动 Mock 出来的数据\r\nvar responseJson = $$.mockResponse.json();\r\n// 修改 responseJson 里的分页数据\r\n// 将 page 设置为请求参数的 page\r\nresponseJson.data = menuData\r\n$$.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.729954386"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": "",
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "获取用户菜单2",
"api": {
"id": "327423498",
"method": "get",
"path": "/getArtDesignMenu2",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "730385503",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/20317073"
},
"description": "",
"contentType": "json",
"mediaType": "",
"oasExtensions": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {}
},
"mediaType": "",
"examples": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 20,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const menuData = [\r\n {\r\n \"name\": \"Dashboard\",\r\n \"path\": \"/dashboard\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"order\": 1,\r\n \"title\": \"menus.dashboard.title\",\r\n \"icon\": \"&#xe721;\",\r\n \"roles\": [\r\n \"R_SUPER\",\r\n \"R_ADMIN\"\r\n ]\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/dashboard/console\",\r\n \"name\": \"Console\",\r\n \"component\": \"/dashboard/console\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.console\",\r\n \"keepAlive\": false,\r\n \"fixedTab\": true\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/dashboard/analysis\",\r\n \"name\": \"Analysis\",\r\n \"component\": \"/dashboard/analysis\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.analysis\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n },\r\n {\r\n \"path\": \"/dashboard/ecommerce\",\r\n \"name\": \"Ecommerce\",\r\n \"component\": \"/dashboard/ecommerce\",\r\n \"meta\": {\r\n \"title\": \"menus.dashboard.ecommerce\",\r\n \"keepAlive\": false\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"path\": \"/sys/manager\",\r\n \"name\": \"sys:manager\",\r\n \"component\": \"/index/index\",\r\n \"meta\": {\r\n \"order\": 10,\r\n \"title\": \"系统设置\",\r\n \"icon\": \"&#xe7ae;\"\r\n },\r\n \"children\": [\r\n {\r\n \"path\": \"/sys/manager/sys/user/index\",\r\n \"name\": \"sys:user\",\r\n \"component\": \"/sys/user/index\",\r\n \"meta\": {\r\n \"title\": \"用户管理\",\r\n \"keepAlive\": true,\r\n \"authList\": [\r\n {\r\n \"title\": \"超级管理员\",\r\n \"authMark\": \"admin\"\r\n },\r\n // {\r\n // \"title\": \"分页查询用户列表\",\r\n // \"authMark\": \"sys:user:page\"\r\n // },\r\n // {\r\n // \"title\": \"新增用户\",\r\n // \"authMark\": \"sys:user:save\"\r\n // },\r\n // {\r\n // \"title\": \"编辑用户\",\r\n // \"authMark\": \"sys:user:update\"\r\n // },\r\n // {\r\n // \"title\": \"删除用户\",\r\n // \"authMark\": \"sys:user:remove\"\r\n // }\r\n ]\r\n },\r\n \"children\": []\r\n }\r\n ]\r\n }\r\n]\r\n\r\n// 获取自动 Mock 出来的数据\r\nvar responseJson = $$.mockResponse.json();\r\n// 修改 responseJson 里的分页数据\r\n// 将 page 设置为请求参数的 page\r\nresponseJson.data = menuData\r\n// 将修改后的 json 写入 $$.mockResponse\r\n$$.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.730385503"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": "",
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
},
{
"name": "测试-自动完成",
"api": {
"id": "99219197",
"method": "post",
"path": "/test/autoComplete",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "247098806",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {
"value": {
"type": "string",
"mock": {
"mock": "@ctitle"
}
}
},
"x-apifox-orders": [
"value"
],
"required": [
"value"
]
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"keywords": {
"type": "string",
"mock": {
"mock": "@word"
}
}
},
"x-apifox-orders": [
"keywords"
],
"required": [
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 30,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "测试-级联选择",
"api": {
"id": "100827044",
"method": "post",
"path": "/test/cascader",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "250612795",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/55438459"
},
"title": ""
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"keywords": {
"type": "string",
"mock": {
"mock": "@word"
}
}
},
"x-apifox-orders": [
"keywords"
],
"required": [
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 36,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {
"enable": true,
"value": "const responseJson = {\r\n \"code\": 0,\r\n \"msg\": \"成功\",\r\n \"data\": [\r\n {\r\n \"value\": \"210000197902144152\",\r\n \"children\": [\r\n {\r\n \"value\": \"46000019930712278X\",\r\n \"children\": [\r\n {\r\n \"label\": \"又果近线什安后\",\r\n \"value\": \"370000198003231796\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"value\": \"220000199204108526\",\r\n \"label\": \"天还保派点\"\r\n },\r\n {\r\n \"label\": \"目得头日标\",\r\n \"children\": [],\r\n \"value\": \"350000197504207868\"\r\n },\r\n {\r\n \"value\": \"650000199211011271\",\r\n \"children\": [],\r\n \"label\": \"此比米\"\r\n },\r\n {\r\n \"label\": \"起一例接产而\",\r\n \"children\": [],\r\n \"value\": \"34000019831025305X\"\r\n },\r\n {\r\n \"value\": \"230000200602025045\",\r\n \"label\": \"都交片你你治\",\r\n \"children\": []\r\n }\r\n ]\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"value\": \"150000198701213295\",\r\n \"label\": \"称加数从照步代\",\r\n \"children\": []\r\n },\r\n {\r\n \"value\": \"120000199808025787\",\r\n \"label\": \"前器分九难角北\",\r\n \"children\": []\r\n },\r\n {\r\n \"label\": \"带快价可理\",\r\n \"value\": \"430000197505077540\",\r\n \"children\": []\r\n },\r\n {\r\n \"label\": \"头九物\",\r\n \"children\": [],\r\n \"value\": \"220000198005226162\"\r\n }\r\n ],\r\n \"value\": \"440000198401227061\",\r\n \"label\": \"物带严所每效划\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"label\": \"反治政极律\",\r\n \"children\": [],\r\n \"value\": \"640000197112205053\"\r\n },\r\n {\r\n \"label\": \"思保品\",\r\n \"value\": \"420000201403123347\",\r\n \"children\": []\r\n }\r\n ],\r\n \"label\": \"小形应正\",\r\n \"value\": \"410000201212134308\"\r\n },\r\n {\r\n \"label\": \"角性变属压气公\",\r\n \"value\": \"15000019960429848X\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"label\": \"发包她活里片\",\r\n \"value\": \"120000201206279317\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"label\": \"县计东形\"\r\n }\r\n ],\r\n \"label\": \"声天据书取\"\r\n },\r\n {\r\n \"value\": \"350000199112168045\",\r\n \"children\": [\r\n {\r\n \"children\": [\r\n {\r\n \"label\": \"高信江历铁数\",\r\n \"children\": [\r\n {\r\n \"value\": \"140000201401063136\",\r\n \"children\": [],\r\n \"label\": \"基运具当\"\r\n },\r\n {\r\n \"value\": \"990000199406066342\",\r\n \"label\": \"并养然识志参果\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"510000197011284558\",\r\n \"label\": \"品接利必度\"\r\n },\r\n {\r\n \"children\": [],\r\n \"label\": \"品技法达\",\r\n \"value\": \"460000199101157434\"\r\n }\r\n ],\r\n \"value\": \"500000201410112144\"\r\n },\r\n {\r\n \"label\": \"候样至级我\",\r\n \"children\": [\r\n {\r\n \"value\": \"150000200005229963\",\r\n \"label\": \"斯联连干做民\",\r\n \"children\": []\r\n },\r\n {\r\n \"label\": \"明前时价变十\",\r\n \"value\": \"310000199605166470\",\r\n \"children\": []\r\n },\r\n {\r\n \"value\": \"120000197609118930\",\r\n \"children\": [],\r\n \"label\": \"电儿引速写图数\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"360000199104264872\",\r\n \"label\": \"据力元明取里\"\r\n }\r\n ],\r\n \"value\": \"820000201109265461\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"label\": \"林识不照格\",\r\n \"children\": [],\r\n \"value\": \"610000200608182210\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"13000019940511295X\",\r\n \"label\": \"志线至己运空\"\r\n },\r\n {\r\n \"label\": \"斯如难九产光\",\r\n \"value\": \"810000201504114784\",\r\n \"children\": []\r\n }\r\n ],\r\n \"value\": \"620000201109112468\",\r\n \"label\": \"流意常极广正美\"\r\n },\r\n {\r\n \"label\": \"记去值设原只\",\r\n \"value\": \"350000199912049212\",\r\n \"children\": [\r\n {\r\n \"value\": \"43000019880428961X\",\r\n \"label\": \"五时品后以\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"820000197510016366\",\r\n \"label\": \"全住处风规然北\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"440000197110268571\",\r\n \"label\": \"子水商会\"\r\n },\r\n {\r\n \"label\": \"展一去之领九\",\r\n \"value\": \"53000020190426707X\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"540000197011275219\",\r\n \"label\": \"克你成义那铁\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"value\": \"450000199104116169\",\r\n \"label\": \"同名特大\"\r\n },\r\n {\r\n \"label\": \"连太志法\",\r\n \"children\": [\r\n \r\n ],\r\n \"value\": \"330000200504209709\"\r\n },\r\n {\r\n \"value\": \"120000201706146043\",\r\n \"label\": \"机代构术做备们\",\r\n \"children\": [\r\n {\r\n \"label\": \"连很江标现于\",\r\n \"children\": [\r\n {\r\n \"label\": \"处么走选\",\r\n \"value\": \"450000198406181842\",\r\n \"children\": []\r\n },\r\n {\r\n \"label\": \"体高张四已可做\",\r\n \"children\": [],\r\n \"value\": \"360000200201296951\"\r\n }\r\n ],\r\n \"value\": \"530000198507174457\"\r\n },\r\n {\r\n \"label\": \"行风至\",\r\n \"value\": \"420000201005096742\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"label\": \"由相展利\",\r\n \"value\": \"460000199103204505\"\r\n },\r\n {\r\n \"children\": [],\r\n \"label\": \"关近说定听并次\",\r\n \"value\": \"410000198805316284\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"340000199406149550\",\r\n \"label\": \"速要公等\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"450000199311205615\",\r\n \"label\": \"龙人律际局\"\r\n },\r\n {\r\n \"label\": \"正民集门不\",\r\n \"children\": [],\r\n \"value\": \"630000197811156447\"\r\n }\r\n ]\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"label\": \"权电习证节将\",\r\n \"children\": [],\r\n \"value\": \"350000199406268834\"\r\n },\r\n {\r\n \"children\": [],\r\n \"label\": \"住江决集\",\r\n \"value\": \"42000020060512516X\"\r\n },\r\n {\r\n \"value\": \"370000198510171206\",\r\n \"children\": [],\r\n \"label\": \"党族始率来油\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"430000198811171767\",\r\n \"label\": \"花事我\"\r\n },\r\n {\r\n \"label\": \"增断七式所\",\r\n \"children\": [],\r\n \"value\": \"340000201311186631\"\r\n }\r\n ],\r\n \"label\": \"百己则\",\r\n \"value\": \"350000199201153515\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"label\": \"合满非许线总委\",\r\n \"children\": [],\r\n \"value\": \"330000197703188790\"\r\n },\r\n {\r\n \"value\": \"360000200202064802\",\r\n \"children\": [],\r\n \"label\": \"况容美调\"\r\n },\r\n {\r\n \"label\": \"领路要所\",\r\n \"children\": [],\r\n \"value\": \"500000199808071143\"\r\n }\r\n ],\r\n \"label\": \"以多该要\",\r\n \"value\": \"650000200303175340\"\r\n },\r\n {\r\n \"label\": \"产易听它者想\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"value\": \"210000198010107553\",\r\n \"label\": \"已使育切商果更\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"150000197007047536\",\r\n \"label\": \"类方金太约来改\"\r\n }\r\n ],\r\n \"value\": \"110000198410028009\"\r\n }\r\n ]\r\n },\r\n {\r\n \"label\": \"看多前油\",\r\n \"children\": [\r\n {\r\n \"value\": \"610000199207316155\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"label\": \"引验应节于列\",\r\n \"value\": \"330000200605102273\"\r\n }\r\n ],\r\n \"label\": \"深心世会速了长\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"value\": \"540000202202158844\",\r\n \"label\": \"支油属样\"\r\n },\r\n {\r\n \"label\": \"适料学专\",\r\n \"children\": [],\r\n \"value\": \"460000202202098677\"\r\n },\r\n {\r\n \"value\": \"540000200505061725\",\r\n \"children\": [],\r\n \"label\": \"场知素在如不\"\r\n }\r\n ],\r\n \"value\": \"500000197912252463\",\r\n \"label\": \"这变区存单低\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"value\": \"710000199805229514\",\r\n \"label\": \"数除保又\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"500000199411148579\",\r\n \"label\": \"支打表按成\"\r\n }\r\n ],\r\n \"label\": \"因红专又\",\r\n \"value\": \"130000197705121541\"\r\n },\r\n {\r\n \"value\": \"650000198302281678\",\r\n \"children\": [\r\n {\r\n \"label\": \"圆传也开委\",\r\n \"value\": \"650000199411052369\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"450000199412062641\",\r\n \"label\": \"米就根联\"\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"330000199405220763\",\r\n \"label\": \"段记角图权\"\r\n },\r\n {\r\n \"value\": \"820000201406014837\",\r\n \"children\": [],\r\n \"label\": \"本很林办千\"\r\n }\r\n ],\r\n \"label\": \"支第研业都场业\"\r\n }\r\n ],\r\n \"value\": \"110000202201298693\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"children\": [\r\n {\r\n \"value\": \"640000201411255631\",\r\n \"label\": \"各算农你取\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"value\": \"360000201905255124\",\r\n \"label\": \"门领就\"\r\n },\r\n {\r\n \"children\": [],\r\n \"label\": \"出几相多\",\r\n \"value\": \"310000198507137559\"\r\n }\r\n ],\r\n \"value\": \"230000199604044631\",\r\n \"label\": \"起线手第科万\"\r\n },\r\n {\r\n \"children\": [\r\n {\r\n \"value\": \"13000019740325981X\",\r\n \"children\": [],\r\n \"label\": \"值器建们\"\r\n },\r\n {\r\n \"label\": \"规包领府\",\r\n \"value\": \"140000199903196350\",\r\n \"children\": []\r\n },\r\n {\r\n \"children\": [],\r\n \"label\": \"清增成方\",\r\n \"value\": \"810000199609041454\"\r\n },\r\n {\r\n \"value\": \"540000197410094669\",\r\n \"children\": [],\r\n \"label\": \"与接场门\"\r\n }\r\n ],\r\n \"label\": \"已标历\",\r\n \"value\": \"230000199105125314\"\r\n },\r\n {\r\n \"label\": \"制适表因会两\",\r\n \"children\": [\r\n {\r\n \"value\": \"210000199503270791\",\r\n \"children\": [],\r\n \"label\": \"只所活安离\"\r\n },\r\n {\r\n \"value\": \"350000199912061764\",\r\n \"children\": [],\r\n \"label\": \"共种重\"\r\n }\r\n ],\r\n \"value\": \"140000199102100072\"\r\n },\r\n {\r\n \"value\": \"440000201510168413\",\r\n \"label\": \"最应斗别高于级\",\r\n \"children\": [\r\n {\r\n \"children\": [],\r\n \"value\": \"150000197705067702\",\r\n \"label\": \"且布及六\"\r\n },\r\n {\r\n \"value\": \"220000202006294959\",\r\n \"label\": \"铁至件权\",\r\n \"children\": []\r\n },\r\n {\r\n \"label\": \"回子农派\",\r\n \"children\": [],\r\n \"value\": \"410000199408237595\"\r\n },\r\n {\r\n \"label\": \"今过月复实年矿\",\r\n \"children\": [],\r\n \"value\": \"630000201712302815\"\r\n }\r\n ]\r\n }\r\n ],\r\n \"label\": \"劳值时叫车层\",\r\n \"value\": \"500000198205013345\"\r\n }\r\n ],\r\n \"label\": \"重可机下最\"\r\n }\r\n ]\r\n}\r\nfox.mockResponse.setBody(responseJson);\r\n"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "测试-lv",
"api": {
"id": "100828841",
"method": "post",
"path": "/test/lv",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "250615294",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/55438752"
},
"title": "",
"minItems": 5,
"maxItems": 10,
"uniqueItems": true
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"keywords": {
"type": "string",
"mock": {
"mock": "@word"
}
}
},
"x-apifox-orders": [
"keywords"
],
"required": [
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 42,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\nfor(var i=0;i<responseJson.data.length;i++) {\r\n responseJson.data[i].value=i+1+\"\"\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "测试-transter",
"api": {
"id": "102194528",
"method": "post",
"path": "/test/transfer",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "253628965",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"$ref": "#/definitions/56177186"
},
"title": "",
"minItems": 5,
"maxItems": 10,
"uniqueItems": true
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"type": "object",
"properties": {
"keywords": {
"type": "string",
"mock": {
"mock": "@word"
}
}
},
"x-apifox-orders": [
"keywords"
],
"required": [
"keywords"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 48,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\nfor(var i=0;i<responseJson.data.length;i++) {\r\n responseJson.data[i].key=i+1+\"\"\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "测试-表格",
"api": {
"id": "108409337",
"method": "post",
"path": "/test/table",
"parameters": {},
"auth": {},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "267041893",
"code": 200,
"name": "成功",
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码",
"additionalProperties": false
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述",
"additionalProperties": false
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数",
"additionalProperties": false
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数",
"additionalProperties": false
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer",
"additionalProperties": false
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer",
"additionalProperties": false
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {
"input": {
"type": "string",
"mock": {
"mock": "@cword"
},
"additionalProperties": false
},
"radio": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"additionalProperties": false
},
"radioGroup": {
"type": "string",
"mock": {
"mock": "@pick(['1','2','3','4'])"
}
},
"rate": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
}
},
"slider": {
"type": "integer",
"mock": {
"mock": "@integer(1, 50)"
}
},
"switch": {
"type": "boolean",
"mock": {
"mock": "@boolean"
}
},
"autoComplete": {
"type": "string",
"mock": {
"mock": "@cword"
},
"title": "自动完成"
},
"cascader": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"checkboxGroup": {
"type": "string",
"mock": {
"mock": "@pick(['1','2','3','4'])"
}
},
"datepicker": {
"type": "string",
"mock": {
"mock": "@date(\"yyyy-MM-dd\")"
}
},
"rangepicker": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@date(\"yyyy-MM-dd\")"
}
},
"minItems": 2,
"maxItems": 2
},
"timePicker": {
"type": "string",
"mock": {
"mock": "@time"
}
},
"timeRangePicker": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@time"
}
},
"minItems": 2,
"maxItems": 2
},
"transfer": {
"type": "object",
"properties": {
"selectedKeys": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@pick(['1','2','3','4'])"
}
},
"uniqueItems": true
}
},
"x-apifox-orders": [
"selectedKeys"
],
"required": [
"selectedKeys"
]
},
"treeSelect": {
"type": "string",
"mock": {
"mock": "@pick(['220000199204108526','350000197504207868','370000198003231796'])"
}
},
"upload": {
"type": "string",
"mock": {
"mock": "@id"
}
}
},
"x-apifox-orders": [
"input",
"radio",
"radioGroup",
"rate",
"slider",
"switch",
"autoComplete",
"cascader",
"checkboxGroup",
"datepicker",
"rangepicker",
"timePicker",
"timeRangePicker",
"transfer",
"treeSelect",
"upload"
],
"required": [
"input",
"radio",
"radioGroup",
"rate",
"slider",
"switch",
"autoComplete",
"cascader",
"checkboxGroup",
"datepicker",
"rangepicker",
"timePicker",
"timeRangePicker",
"transfer",
"treeSelect",
"upload"
]
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"contentType": "json"
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"$ref": "#/definitions/20317075"
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 60,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {},
"isDefaultUrlEncoding": 1
},
"mockScript": {
"enable": true,
"value": "var responseJson = fox.mockResponse.json();\r\nfor(var i=0;i<responseJson.data.rows.length;i++) {\r\n if(i%2==0) {\r\n responseJson.data.rows[i].cascader=[\r\n \"210000197902144152\",\r\n \"46000019930712278X\",\r\n \"370000198003231796\",\r\n \"220000199204108526\"\r\n ]\r\n responseJson.data.rows[i].checkboxGroup = '1,2'\r\n } else {\r\n responseJson.data.rows[i].cascader=[\r\n \"350000199112168045\",\r\n \"450000199104116169\",\r\n \"820000201109265461\",\r\n \"310000199605166470\"\r\n ]\r\n responseJson.data.rows[i].checkboxGroup = '2,3'\r\n }\r\n if(i==4) {\r\n responseJson.data.rows[i].cascader=[\r\n \"350000199112168045\",\r\n \"330000200504209709\"\r\n ]\r\n responseJson.data.rows[i].checkboxGroup = ['1','2','4']\r\n }\r\n}\r\nfox.mockResponse.setBody(responseJson);"
},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "检验sa-token是否登录",
"api": {
"id": "284576836",
"method": "post",
"path": "/testSaToken",
"parameters": {},
"auth": {
"type": "bearer",
"bearer": {
"token": "ea8ca060-8fbd-4c82-a40c-8f96f4f64a8a"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "655833219",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"$ref": "#/definitions/16178298"
},
"description": "",
"contentType": "json",
"mediaType": "",
"oasExtensions": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "none",
"parameters": [],
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 100,
"cases": [],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.655833219"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": "",
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
},
{
"name": "通用下拉接口",
"api": {
"id": "247510697",
"method": "post",
"path": "/{module}/{tableName}/select",
"parameters": {
"query": [],
"path": [
{
"id": "module#0",
"name": "module",
"required": true,
"type": "string",
"enable": true
},
{
"id": "tableName#0",
"name": "tableName",
"required": true,
"type": "string",
"enable": true
}
],
"cookie": [],
"header": []
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"commonParameters": {
"query": [],
"body": [],
"cookie": [],
"header": []
},
"responses": [
{
"id": "590590191",
"code": 200,
"name": "成功",
"headers": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"title": "返回的数据",
"type": "array",
"items": {
"$ref": "#/definitions/55438752"
}
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
},
"description": "",
"contentType": "json",
"mediaType": ""
}
],
"responseExamples": [],
"requestBody": {
"type": "application/json",
"parameters": [],
"jsonSchema": {
"x-apifox-overrides": {},
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序",
"mock": {
"mock": "id"
}
},
"keywords": {
"type": "string",
"title": "关键字",
"mock": {
"mock": "@word"
}
},
"includeType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "包含类型",
"description": "1:增加;2:仅查询includeIds的数据"
},
"includeIds": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "",
"description": "包含指定id"
},
"searchKeys": {
"type": "string",
"title": "关键字对应的列名",
"description": "多个使用英文逗号分割",
"mock": {
"mock": "@word"
}
},
"labelKey": {
"type": "string",
"mock": {
"mock": "name"
},
"title": "label的取值"
},
"extFieldNames": {
"type": "string",
"mock": {
"mock": "name"
},
"title": "扩展信息",
"description": "返回数据会放在ext中"
},
"valueKey": {
"type": "string",
"mock": {
"mock": "id"
},
"title": "value的取值"
}
},
"x-apifox-refs": {},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords",
"searchKeys",
"includeType",
"includeIds",
"labelKey",
"valueKey",
"extFieldNames"
],
"required": [
"pageNum",
"pageSize",
"keywords",
"includeType",
"includeIds",
"searchKeys",
"labelKey",
"valueKey",
"extFieldNames"
]
},
"oasExtensions": ""
},
"description": "",
"tags": [],
"status": "developing",
"serverId": "",
"operationId": "",
"sourceUrl": "",
"ordering": 0,
"cases": [
{
"id": 222193579,
"type": "http",
"path": null,
"name": "下拉角色列表",
"responseId": 590590191,
"parameters": {
"query": [],
"path": [
{
"id": "module#0",
"name": "module",
"relatedId": "module#0",
"enable": true,
"isDelete": false,
"value": "sys",
"description": "",
"relatedName": "module"
},
{
"id": "tableName#0",
"name": "tableName",
"relatedId": "tableName#0",
"enable": true,
"isDelete": false,
"value": "role",
"description": "",
"relatedName": "tableName"
}
],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"pageNum\": 1,\r\n \"pageSize\": 10,\r\n \"includeType\": 1,\r\n \"labelKey\": \"name\",\r\n \"valueKey\": \"id\",\r\n \"keywords\":\"管理\",\r\n \"searchKeys\":\"name,code\"\r\n}",
"generateMode": "normal"
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": "{\"id\":\"temp.47bf93f5-8f2c-4d27-818d-a14984eade48\",\"cursor\":{\"position\":0,\"iteration\":0,\"length\":1,\"cycles\":1,\"empty\":false,\"eof\":false,\"bof\":true,\"cr\":false,\"ref\":\"47bf93f5-8f2c-4d27-818d-a14984eade48\",\"requestIndex\":0,\"httpRequestId\":\"4fb1907d-ce22-4c89-9ceb-98bf7d028a5a\"},\"type\":\"http\",\"response\":{\"id\":\"a8b4c7f1-ad60-4bd9-9871-5fdc3f8707b9\",\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"request-no\",\"value\":\"3f1f9244-ac45-4d8e-83b2-31d5301f35ce\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Transfer-Encoding\",\"value\":\"chunked\"},{\"key\":\"Date\",\"value\":\"Mon, 23 Dec 2024 12:41:34 GMT\"},{\"key\":\"Keep-Alive\",\"value\":\"timeout=60\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"}],\"trailer\":[],\"stream\":{\"type\":\"Buffer\",\"data\":[123,34,99,111,100,101,34,58,48,44,34,109,115,103,34,58,34,230,136,144,229,138,159,34,44,34,100,97,116,97,34,58,91,123,34,108,97,98,101,108,34,58,34,233,187,152,232,174,164,232,167,146,232,137,178,34,44,34,118,97,108,117,101,34,58,34,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,49,34,44,34,118,97,108,117,101,34,58,34,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,50,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,49,49,50,49,52,55,50,53,49,50,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,51,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,52,48,50,49,56,51,51,55,50,56,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,52,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,54,52,57,52,51,55,53,57,51,54,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,53,34,44,34,118,97,108,117,101,34,58,34,49,53,53,49,48,53,52,55,49,55,56,50,55,56,57,49,50,48,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,230,181,139,232,175,149,232,167,146,232,137,178,49,34,44,34,118,97,108,117,101,34,58,34,49,53,56,51,57,54,50,50,49,54,57,48,51,54,52,55,50,51,51,34,44,34,101,120,116,34,58,110,117,108,108,125,93,125]},\"cookie\":[],\"responseTime\":18,\"responseSize\":436,\"type\":\"http\",\"tempFilePath\":\"\",\"timingPhases\":{\"prepare\":1.865199999883771,\"wait\":0.7132999999448657,\"dns\":0,\"tcp\":0,\"firstByte\":14.307500000111759,\"download\":2.1713000000454485,\"process\":0.05439999978989363,\"total\":19.111699999775738}},\"request\":{\"url\":{\"protocol\":\"http\",\"port\":\"8080\",\"path\":[\"sys\",\"role\",\"select\"],\"host\":[\"localhost\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"User-Agent\",\"value\":\"Apifox/1.0.0 (https://apifox.com)\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Authorization\",\"value\":\"Bearer 53c8eaf7-7c20-4326-8af0-f13e68759d31\",\"system\":true},{\"key\":\"Accept\",\"value\":\"*/*\",\"system\":true},{\"key\":\"Host\",\"value\":\"localhost:8080\",\"system\":true},{\"key\":\"Accept-Encoding\",\"value\":\"gzip, deflate, br\",\"system\":true},{\"key\":\"Connection\",\"value\":\"keep-alive\",\"system\":true},{\"key\":\"Content-Length\",\"value\":173,\"system\":true}],\"method\":\"POST\",\"baseUrl\":\"http://localhost:8080\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\r\\n \\\"pageNum\\\": 1,\\r\\n \\\"pageSize\\\": 10,\\r\\n \\\"includeType\\\": 1,\\r\\n \\\"labelKey\\\": \\\"remark\\\",\\r\\n \\\"valueKey\\\": \\\"id\\\",\\r\\n \\\"keywords\\\":\\\"管理\\\",\\r\\n \\\"searchKeys\\\":\\\"name,code\\\"\\r\\n}\",\"generateMode\":\"normal\",\"type\":\"application/json\"},\"auth\":{\"type\":\"bearer\",\"bearer\":[{\"type\":\"any\",\"value\":\"53c8eaf7-7c20-4326-8af0-f13e68759d31\",\"key\":\"token\"}]},\"type\":\"http\"},\"history\":{\"execution\":{\"verbose\":false,\"sessions\":{},\"data\":[{\"request\":{\"method\":\"POST\",\"href\":\"http://localhost:8080/sys/role/select\",\"headers\":[{\"key\":\"User-Agent\",\"value\":\"Apifox/1.0.0 (https://apifox.com)\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Authorization\",\"value\":\"Bearer 53c8eaf7-7c20-4326-8af0-f13e68759d31\"},{\"key\":\"Accept\",\"value\":\"*/*\"},{\"key\":\"Host\",\"value\":\"localhost:8080\"},{\"key\":\"Accept-Encoding\",\"value\":\"gzip, deflate, br\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"},{\"key\":\"Content-Length\",\"value\":\"173\"}],\"httpVersion\":\"1.1\"},\"response\":{\"statusCode\":200,\"headers\":[{\"key\":\"request-no\",\"value\":\"3f1f9244-ac45-4d8e-83b2-31d5301f35ce\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Transfer-Encoding\",\"value\":\"chunked\"},{\"key\":\"Date\",\"value\":\"Mon, 23 Dec 2024 12:41:34 GMT\"},{\"key\":\"Keep-Alive\",\"value\":\"timeout=60\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"}],\"httpVersion\":\"1.1\"},\"timings\":{\"start\":1734957694128,\"requestStart\":1734957694130,\"offset\":{\"request\":1.865199999883771,\"socket\":2.5784999998286366,\"response\":16.885999999940395,\"end\":19.057299999985844,\"lookup\":2.5784999998286366,\"connect\":2.5784999998286366,\"done\":19.111699999775738}}}]}},\"responseValidation\":{\"schema\":{\"valid\":true,\"message\":\"\",\"errors\":null},\"responseCode\":{\"valid\":true}},\"passed\":true,\"timings\":{\"started\":1734957694112,\"preProcessorsStarted\":1734957694121,\"preProcessorsCompleted\":1734957694128,\"postProcessorsStarted\":1734957694151,\"postProcessorsCompleted\":1734957694151,\"completed\":1734957694153},\"metaInfo\":{\"httpApiId\":247510697,\"httpApiCaseId\":222193579,\"httpApiName\":\"通用下拉接口\",\"httpApiPath\":\"/{module}/{tableName}/select\",\"httpApiMethod\":\"post\",\"httpApiCaseName\":\"下拉角色列表\"}}",
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
},
{
"id": 222193580,
"type": "http",
"path": null,
"name": "下拉用户列表-包含手机号",
"responseId": 590590191,
"parameters": {
"query": [],
"path": [
{
"id": "module#0",
"name": "module",
"relatedId": "module#0",
"enable": true,
"isDelete": false,
"value": "sys",
"description": "",
"relatedName": "module"
},
{
"id": "tableName#0",
"name": "tableName",
"relatedId": "tableName#0",
"enable": true,
"isDelete": false,
"value": "user",
"description": "",
"relatedName": "tableName"
}
],
"cookie": [],
"header": []
},
"commonParameters": {
"query": [],
"body": [],
"header": [],
"cookie": []
},
"requestBody": {
"parameters": [],
"data": "{\r\n \"pageNum\": 1,\r\n \"pageSize\": 10,\r\n \"includeType\": 1,\r\n \"labelKey\": \"realName\",\r\n \"valueKey\": \"id\",\r\n \"keywords\":\"\",\r\n \"searchKeys\":\"userName,realName,mobilePhone\",\r\n \"extFieldNames\":\"userName,mobilePhone\"\r\n}",
"generateMode": "normal"
},
"auth": {
"type": "bearer",
"bearer": {
"token": "{{token}}"
}
},
"securityScheme": {},
"advancedSettings": {
"disabledSystemHeaders": {}
},
"requestResult": "{\"id\":\"temp.22be5dfb-ee6e-4469-9d69-f719b52d5720\",\"cursor\":{\"position\":0,\"iteration\":0,\"length\":1,\"cycles\":1,\"empty\":false,\"eof\":false,\"bof\":true,\"cr\":false,\"ref\":\"22be5dfb-ee6e-4469-9d69-f719b52d5720\",\"requestIndex\":0,\"httpRequestId\":\"b8e8e529-73b7-452a-a86a-0d3c3d6b0eb5\"},\"type\":\"http\",\"response\":{\"id\":\"5b9ab889-8d79-43b3-8000-5442049c12ad\",\"status\":\"OK\",\"code\":200,\"header\":[{\"key\":\"request-no\",\"value\":\"8a6f6d2c-81aa-41dd-a860-365dbffe796e\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Transfer-Encoding\",\"value\":\"chunked\"},{\"key\":\"Date\",\"value\":\"Mon, 23 Dec 2024 12:37:13 GMT\"},{\"key\":\"Keep-Alive\",\"value\":\"timeout=60\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"}],\"trailer\":[],\"stream\":{\"type\":\"Buffer\",\"data\":[123,34,99,111,100,101,34,58,48,44,34,109,115,103,34,58,34,230,136,144,229,138,159,34,44,34,100,97,116,97,34,58,91,123,34,108,97,98,101,108,34,58,34,233,187,152,232,174,164,232,167,146,232,137,178,34,44,34,118,97,108,117,101,34,58,34,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,49,34,44,34,118,97,108,117,101,34,58,34,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,50,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,49,49,50,49,52,55,50,53,49,50,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,51,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,52,48,50,49,56,51,51,55,50,56,50,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,52,34,44,34,118,97,108,117,101,34,58,34,49,53,53,48,56,52,57,52,54,52,57,52,51,55,53,57,51,54,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,232,167,146,232,137,178,53,34,44,34,118,97,108,117,101,34,58,34,49,53,53,49,48,53,52,55,49,55,56,50,55,56,57,49,50,48,49,34,44,34,101,120,116,34,58,110,117,108,108,125,44,123,34,108,97,98,101,108,34,58,34,230,181,139,232,175,149,232,167,146,232,137,178,49,34,44,34,118,97,108,117,101,34,58,34,49,53,56,51,57,54,50,50,49,54,57,48,51,54,52,55,50,51,51,34,44,34,101,120,116,34,58,110,117,108,108,125,93,125]},\"cookie\":[],\"responseTime\":18,\"responseSize\":436,\"type\":\"http\",\"tempFilePath\":\"\",\"timingPhases\":{\"prepare\":1.4714999999850988,\"wait\":0.3385000000707805,\"dns\":0,\"tcp\":0,\"firstByte\":15.328999999910593,\"download\":1.8652999999467283,\"process\":0.048700000159442425,\"total\":19.053000000072643}},\"request\":{\"url\":{\"protocol\":\"http\",\"port\":\"8080\",\"path\":[\"sys\",\"user\",\"select\"],\"host\":[\"localhost\"],\"query\":[],\"variable\":[]},\"header\":[{\"key\":\"User-Agent\",\"value\":\"Apifox/1.0.0 (https://apifox.com)\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Authorization\",\"value\":\"Bearer 53c8eaf7-7c20-4326-8af0-f13e68759d31\",\"system\":true},{\"key\":\"Accept\",\"value\":\"*/*\",\"system\":true},{\"key\":\"Host\",\"value\":\"localhost:8080\",\"system\":true},{\"key\":\"Accept-Encoding\",\"value\":\"gzip, deflate, br\",\"system\":true},{\"key\":\"Connection\",\"value\":\"keep-alive\",\"system\":true},{\"key\":\"Content-Length\",\"value\":236,\"system\":true}],\"method\":\"POST\",\"baseUrl\":\"http://localhost:8080\",\"body\":{\"mode\":\"raw\",\"raw\":\"{\\r\\n \\\"pageNum\\\": 1,\\r\\n \\\"pageSize\\\": 10,\\r\\n \\\"includeType\\\": 1,\\r\\n \\\"labelKey\\\": \\\"realName\\\",\\r\\n \\\"labelValue\\\": \\\"id\\\",\\r\\n \\\"keywords\\\":\\\"\\\",\\r\\n \\\"searchKeys\\\":\\\"userName,realName,mobilePhone\\\",\\r\\n \\\"extFieldNames\\\":\\\"userName,mobilePhone\\\"\\r\\n}\",\"generateMode\":\"normal\",\"type\":\"application/json\"},\"auth\":{\"type\":\"bearer\",\"bearer\":[{\"type\":\"any\",\"value\":\"53c8eaf7-7c20-4326-8af0-f13e68759d31\",\"key\":\"token\"}]},\"type\":\"http\"},\"history\":{\"execution\":{\"verbose\":false,\"sessions\":{},\"data\":[{\"request\":{\"method\":\"POST\",\"href\":\"http://localhost:8080/sys/user/select\",\"headers\":[{\"key\":\"User-Agent\",\"value\":\"Apifox/1.0.0 (https://apifox.com)\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Authorization\",\"value\":\"Bearer 53c8eaf7-7c20-4326-8af0-f13e68759d31\"},{\"key\":\"Accept\",\"value\":\"*/*\"},{\"key\":\"Host\",\"value\":\"localhost:8080\"},{\"key\":\"Accept-Encoding\",\"value\":\"gzip, deflate, br\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"},{\"key\":\"Content-Length\",\"value\":\"236\"}],\"httpVersion\":\"1.1\"},\"response\":{\"statusCode\":200,\"headers\":[{\"key\":\"request-no\",\"value\":\"8a6f6d2c-81aa-41dd-a860-365dbffe796e\"},{\"key\":\"Content-Type\",\"value\":\"application/json\"},{\"key\":\"Transfer-Encoding\",\"value\":\"chunked\"},{\"key\":\"Date\",\"value\":\"Mon, 23 Dec 2024 12:37:13 GMT\"},{\"key\":\"Keep-Alive\",\"value\":\"timeout=60\"},{\"key\":\"Connection\",\"value\":\"keep-alive\"}],\"httpVersion\":\"1.1\"},\"timings\":{\"start\":1734957433501,\"requestStart\":1734957433503,\"offset\":{\"request\":1.4714999999850988,\"socket\":1.8100000000558794,\"response\":17.138999999966472,\"end\":19.0042999999132,\"lookup\":1.8100000000558794,\"connect\":1.8100000000558794,\"done\":19.053000000072643}}}]}},\"responseValidation\":{\"schema\":{\"valid\":true,\"message\":\"\",\"errors\":null},\"responseCode\":{\"valid\":true}},\"passed\":true,\"timings\":{\"started\":1734957433493,\"preProcessorsStarted\":1734957433495,\"preProcessorsCompleted\":1734957433501,\"postProcessorsStarted\":1734957433523,\"postProcessorsCompleted\":1734957433523,\"completed\":1734957433526},\"metaInfo\":{\"httpApiId\":247510697,\"httpApiCaseId\":222193580,\"httpApiName\":\"通用下拉接口\",\"httpApiPath\":\"/{module}/{tableName}/select\",\"httpApiMethod\":\"post\",\"httpApiCaseName\":\"下拉用户列表-包含手机号\"}}",
"visibility": "INHERITED",
"moduleId": 2323449,
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
],
"mocks": [],
"customApiFields": "{}",
"advancedSettings": {
"disabledSystemHeaders": {}
},
"mockScript": {},
"codeSamples": [],
"commonResponseStatus": {},
"responseChildren": [
"BLANK.590590191"
],
"visibility": "INHERITED",
"moduleId": 2323449,
"oasExtensions": null,
"type": "http",
"preProcessors": [],
"postProcessors": [],
"inheritPostProcessors": {},
"inheritPreProcessors": {}
}
}
]
}
],
"socketCollection": [],
"docCollection": [],
"webSocketCollection": [],
"socketIOCollection": [],
"responseCollection": [
{
"_databaseId": 1295896,
"updatedAt": "2023-07-21T13:55:55.000Z",
"name": "Root",
"type": "root",
"children": [],
"moduleId": 2323449,
"parentId": 0,
"id": 1295896,
"ordering": [],
"items": []
}
],
"schemaCollection": [
{
"id": 2046207,
"name": "根目录",
"visibility": "SHARED",
"moduleId": 2323449,
"items": [
{
"id": 2746733,
"name": "权限相关",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "LoginVO",
"displayName": "",
"id": "#/definitions/20317074",
"description": "登录返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"token": {
"mock": {
"mock": "@id"
},
"type": "string",
"title": "访问凭证"
},
"userId": {
"title": "用户IID",
"mock": {
"mock": "@id"
},
"type": "string"
},
"refreshToken": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "刷新token"
}
},
"x-apifox-orders": [
"token",
"refreshToken",
"userId"
],
"required": [
"token",
"userId",
"refreshToken"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "AntMenuTreeVO",
"displayName": "",
"id": "#/definitions/20317076",
"description": "ant菜单树",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"label": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "菜单名称"
},
"value": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "菜单ID"
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/20317076"
}
},
"ext": {
"type": "object",
"properties": {},
"title": "扩展信息",
"description": "菜单额外扩展信息",
"x-apifox-orders": []
}
},
"x-apifox-orders": [
"label",
"value",
"ext",
"children"
],
"required": [
"label",
"value",
"children",
"ext"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 2049175,
"name": "Schemas",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "Entity",
"displayName": "",
"id": "#/definitions/13131057",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"title": "Entity",
"additionalProperties": {
"type": "object",
"x-apifox-orders": []
},
"x-apifox-orders": []
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "IdParam",
"displayName": "",
"id": "#/definitions/13740113",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "id"
}
},
"title": "IdParam",
"x-apifox-orders": [
"id"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "IdsParam",
"displayName": "",
"id": "#/definitions/13740115",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"ids": {
"type": "array",
"description": "ids集合",
"items": {
"type": "integer",
"format": "int64"
}
}
},
"title": "IdsParam",
"x-apifox-orders": [
"ids"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "Role",
"displayName": "",
"id": "#/definitions/13740118",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "string",
"description": "唯一编码"
},
"id": {
"type": "integer",
"format": "int64",
"description": "角色ID"
},
"name": {
"type": "string",
"description": "角色名称"
},
"roleType": {
"type": "integer",
"format": "int32",
"description": "角色类型"
}
},
"title": "Role",
"x-apifox-orders": [
"code",
"id",
"name",
"roleType"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "RolePageParam",
"displayName": "",
"id": "#/definitions/13740116",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"isCount": {
"type": "boolean",
"description": "是否查询总数"
},
"m_BT_id": {
"type": "array",
"items": {
"type": "integer",
"format": "int64"
}
},
"m_EQ_code": {
"type": "string"
},
"m_EQ_name": {
"type": "string"
},
"m_LIKE_name": {
"type": "string"
},
"m_r_IN_roleType": {
"type": "array",
"items": {
"type": "integer",
"format": "int32"
}
},
"orderBy": {
"type": "string",
"description": "排序字段"
},
"pageNum": {
"type": "integer",
"format": "int32",
"description": "当前页码"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "每页大小"
}
},
"title": "RolePageParam",
"x-apifox-orders": [
"isCount",
"m_BT_id",
"m_EQ_code",
"m_EQ_name",
"m_LIKE_name",
"m_r_IN_roleType",
"orderBy",
"pageNum",
"pageSize"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "User",
"displayName": "",
"id": "#/definitions/13740117",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "integer",
"format": "int64",
"description": "用户ID"
},
"password": {
"type": "string"
},
"userName": {
"type": "string",
"description": "用户名"
}
},
"title": "User",
"x-apifox-orders": [
"id",
"password",
"userName"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "UserPageParam",
"displayName": "",
"id": "#/definitions/13740119",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"isCount": {
"type": "boolean",
"description": "是否查询总数"
},
"orderBy": {
"type": "string",
"description": "排序字段"
},
"pageNum": {
"type": "integer",
"format": "int32",
"description": "当前页码"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "每页大小"
}
},
"title": "UserPageParam",
"x-apifox-orders": [
"isCount",
"orderBy",
"pageNum",
"pageSize"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonPage«Role»",
"displayName": "",
"id": "#/definitions/13740123",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32",
"description": "当前页"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "每页大小"
},
"recordCount": {
"type": "integer",
"format": "int32",
"description": "记录总数"
},
"rows": {
"type": "array",
"description": "数据",
"items": {
"$ref": "#/definitions/13740118"
}
},
"totalPage": {
"type": "integer",
"format": "int32",
"description": "总页数"
}
},
"title": "CommonPage«Role»",
"x-apifox-orders": [
"pageNum",
"pageSize",
"recordCount",
"rows",
"totalPage"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonPage«User»",
"displayName": "",
"id": "#/definitions/13740121",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"pageNum": {
"type": "integer",
"format": "int32",
"description": "当前页"
},
"pageSize": {
"type": "integer",
"format": "int32",
"description": "每页大小"
},
"recordCount": {
"type": "integer",
"format": "int32",
"description": "记录总数"
},
"rows": {
"type": "array",
"description": "数据",
"items": {
"$ref": "#/definitions/13740117"
}
},
"totalPage": {
"type": "integer",
"format": "int32",
"description": "总页数"
}
},
"title": "CommonPage«User»",
"x-apifox-orders": [
"pageNum",
"pageSize",
"recordCount",
"rows",
"totalPage"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult«CommonPage«Role»»",
"displayName": "",
"id": "#/definitions/13740122",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "状态码(0:成功,其他失败)"
},
"data": {
"$ref": "#/definitions/13740123"
},
"msg": {
"type": "string",
"description": "消息描述"
}
},
"title": "CommonResult«CommonPage«Role»»",
"x-apifox-orders": [
"code",
"data",
"msg"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult«CommonPage«User»»",
"displayName": "",
"id": "#/definitions/13740124",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "状态码(0:成功,其他失败)"
},
"data": {
"$ref": "#/definitions/13740121"
},
"msg": {
"type": "string",
"description": "消息描述"
}
},
"title": "CommonResult«CommonPage«User»»",
"x-apifox-orders": [
"code",
"data",
"msg"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult«Role»",
"displayName": "",
"id": "#/definitions/13740127",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "状态码(0:成功,其他失败)"
},
"data": {
"$ref": "#/definitions/13740118"
},
"msg": {
"type": "string",
"description": "消息描述"
}
},
"title": "CommonResult«Role»",
"x-apifox-orders": [
"code",
"data",
"msg"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult«User»",
"displayName": "",
"id": "#/definitions/13740125",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "状态码(0:成功,其他失败)"
},
"data": {
"$ref": "#/definitions/13740117"
},
"msg": {
"type": "string",
"description": "消息描述"
}
},
"title": "CommonResult«User»",
"x-apifox-orders": [
"code",
"data",
"msg"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult«object»",
"displayName": "",
"id": "#/definitions/13740126",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"format": "int32",
"description": "状态码(0:成功,其他失败)"
},
"data": {
"type": "object",
"description": "返回的数据",
"x-apifox-orders": []
},
"msg": {
"type": "string",
"description": "消息描述"
}
},
"title": "CommonResult«object»",
"x-apifox-orders": [
"code",
"data",
"msg"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 2746734,
"name": "sys-系统设置",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"id": 2746736,
"name": "vo",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "SelectVO",
"displayName": "",
"id": "#/definitions/20317077",
"description": "字典选择",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"label": {
"type": "string",
"title": "显示名称",
"mock": {
"mock": "@ctitle"
}
},
"value": {
"type": "string",
"title": "值",
"mock": {
"mock": "@id"
}
},
"ext": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "扩展信息"
}
},
"x-apifox-orders": [
"label",
"value",
"ext"
],
"required": [
"label",
"value"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "OnlineUserVO",
"displayName": "",
"id": "#/definitions/131193815",
"description": "在线用户",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"device": {
"type": "string",
"title": "登录设备",
"mock": {
"mock": "@word"
}
},
"userName": {
"type": "string",
"title": "登录账号",
"mock": {
"mock": "@word"
}
},
"realName": {
"type": "string",
"title": "姓名",
"mock": {
"mock": "@cname"
}
},
"loginBrowser": {
"type": "string",
"title": "浏览器",
"mock": {
"mock": "@word"
}
},
"loginIp": {
"type": "string",
"title": "登录IP",
"mock": {
"mock": "@ip"
}
},
"tokenValue": {
"type": "string",
"title": "会话凭证",
"mock": {
"mock": "@id"
}
},
"loginTime": {
"type": "string",
"title": "登录时间",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
}
}
},
"x-apifox-orders": [
"device",
"userName",
"realName",
"loginBrowser",
"loginIp",
"loginTime",
"tokenValue"
],
"required": [
"device",
"userName",
"realName",
"loginBrowser",
"loginIp",
"tokenValue",
"loginTime"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "RoleVO",
"displayName": "",
"id": "#/definitions/20317078",
"description": "角色返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"roleType": {
"type": "integer",
"title": "角色类型",
"description": "dict.sys_role_role_type",
"mock": {
"mock": "@pick([1,2,3])"
}
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "备注"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"name": {
"type": "string",
"mock": {
"mock": "@cname"
},
"title": "角色名称"
},
"id": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用"
},
"createTime": {
"type": "string",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
}
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"enabled",
"roleType",
"remark",
"createTime"
],
"required": [
"name",
"roleType",
"remark",
"code",
"id",
"enabled",
"createTime"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "MenuVO",
"displayName": "",
"id": "#/definitions/20317079",
"description": "菜单",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "菜单名称",
"description": "route.meta.title"
},
"parentId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "父ID"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序",
"description": "route.meta.orderNo"
},
"path": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "路由地址",
"description": "route.path"
},
"component": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "组件路径",
"description": "相对于/@/views/,route.component"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单唯一编码",
"description": "route.name"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单图标",
"description": "route.meta.icon"
},
"isShow": {
"title": "是否显示(1是,0否)",
"description": "!route.meta.hideMenu",
"mock": {
"mock": "@pick([1,0])"
},
"type": "integer"
},
"isLink": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否链接(1是,0否)",
"description": "route.meta.isLink"
},
"ext": {
"type": "object",
"properties": {
"affix": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否固定",
"description": "route.meta.affix"
},
"frameSrc": {
"type": "string",
"title": "iframe地址",
"description": "route.meta.frameSrc"
},
"currentActiveMenu": {
"type": "string",
"title": "当前活跃菜单",
"description": "仅一个子元素时,子需指定值为父的route.name"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"affix",
"frameSrc",
"currentActiveMenu"
],
"required": [
"affix",
"frameSrc",
"currentActiveMenu"
]
},
"openType": {
"type": "string",
"title": "打开方式",
"mock": {
"mock": "@pick([0,1,2,3])"
},
"description": "0:无;1:组件;2:内链;3:外链"
},
"isCache": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否缓存",
"description": "!route.meta.ignoreKeepAlive"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "菜单类型(1:菜单;2:按钮;3:接口)",
"description": "dict.sys_menu_type"
},
"url": {
"type": "string",
"mock": {
"mock": "@url"
},
"title": "内外链接"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"isSync": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否同步",
"description": "route.isSync"
},
"appCode": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "应用编码",
"description": "用于区分前端应用"
}
},
"x-apifox-orders": [
"id",
"appCode",
"parentId",
"name",
"code",
"type",
"sort",
"path",
"component",
"icon",
"isShow",
"isLink",
"url",
"enabled",
"openType",
"isCache",
"isSync",
"ext"
],
"required": [
"id",
"name",
"parentId",
"path",
"component",
"code",
"icon",
"isShow",
"isLink",
"ext",
"openType",
"isCache",
"type",
"url",
"enabled",
"isSync",
"appCode"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "UserVO",
"displayName": "",
"id": "#/definitions/20317080",
"description": "用户返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"title": "主键",
"additionalProperties": false,
"x-apifox-mock": "{{$person.idCard}}"
},
"userName": {
"type": "string",
"title": "用户名",
"additionalProperties": false,
"x-apifox-mock": "{{$lorem.word(locale='en')}}"
},
"realName": {
"type": "string",
"title": "姓名",
"additionalProperties": false,
"x-apifox-mock": "{{$person.fullName(locale='zh_CN')}}"
},
"mobilePhone": {
"type": "string",
"title": "手机号",
"description": "可用于登录-唯一",
"additionalProperties": false,
"x-apifox-mock": "{{$phone.mobile}}"
},
"email": {
"type": "string",
"title": "邮箱",
"additionalProperties": false,
"x-apifox-mock": "{{$internet.email}}"
},
"sex": {
"type": "integer",
"title": "性别",
"description": "dict.sex",
"x-apifox-mock": "@pick(['1','2','3'])"
},
"isLocked": {
"type": "integer",
"title": "是否锁定",
"description": "1是;0否 dict.yes_no",
"additionalProperties": false,
"x-apifox-mock": "@pick([0,1])"
},
"deptId": {
"type": "string",
"title": "所属部门ID",
"description": "table.sys_dept.id",
"additionalProperties": false,
"x-apifox-mock": "@pick([\"1\",\"11\",\"12\",\"13\",\"111\",\"112\",\"2\",\"21\",\"22\",\"23\",\"3\",\"31\",\"32\",\"4\",\"41\",\"42\",\"5\",\"51\"])"
},
"postId": {
"type": "string",
"title": "所属岗位ID",
"description": "table.sys_post.id",
"additionalProperties": false,
"x-apifox-mock": "{{$person.idCard}}"
},
"avatar": {
"type": "string",
"title": "头像地址",
"additionalProperties": false,
"x-apifox-mock": "@image(\"200x200\")"
},
"remark": {
"type": "string",
"title": "备注",
"additionalProperties": false,
"x-apifox-mock": "{{$lorem.paragraph(locale='zh_CN')}}"
},
"adminType": {
"type": "integer",
"title": "管理员类型",
"description": "1;超级管理员;2普通管理;dict.sys_user_admin_type",
"x-apifox-mock": "@pick([1,2])"
},
"tel": {
"type": "string",
"title": "联系电话",
"description": "其他联系电话",
"additionalProperties": false,
"x-apifox-mock": "{{$phone.mobile}}"
},
"nickName": {
"type": "string",
"title": "昵称",
"additionalProperties": false,
"x-apifox-mock": "{{$person.fullName(locale='zh_CN')}}"
},
"birthday": {
"type": "string",
"title": "出生日期",
"additionalProperties": false,
"x-apifox-mock": "{{$date.anytime|format('yyyy-MM-dd')}}"
},
"roleIds": {
"type": "string",
"x-apifox-mock": "@pick(['1,2','2,3',1,3])"
},
"createTime": {
"type": "string",
"x-apifox-mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"roleCodes": {
"type": "array",
"items": {
"type": "string",
"x-apifox-mock": "@pick(['R_SUPER'])"
},
"uniqueItems": true
},
"deptName": {
"type": "string",
"title": "所属部门名称",
"x-apifox-mock": "{{$lorem.sentence(locale='zh_CN')}}"
},
"roleNames": {
"type": "array",
"items": {
"type": "string",
"x-apifox-mock": "{{$person.fullName(locale='zh_CN')}}"
},
"title": "角色名称集合",
"minItems": 3,
"maxItems": 12
},
"lastLoginTime": {
"type": "string",
"title": "上次登录的时间",
"x-apifox-mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"attachment1": {
"type": "string",
"title": "附件1",
"x-apifox-mock": "1,2,3"
},
"attachment2": {
"type": "string",
"title": "附件2",
"x-apifox-mock": "1,2"
},
"attachment3": {
"type": "string",
"title": "附件3",
"x-apifox-mock": "1,2"
}
},
"x-apifox-orders": [
"id",
"userName",
"realName",
"nickName",
"avatar",
"mobilePhone",
"tel",
"email",
"adminType",
"sex",
"birthday",
"isLocked",
"deptId",
"deptName",
"postId",
"remark",
"roleCodes",
"roleNames",
"lastLoginTime",
"roleIds",
"createTime",
"attachment1",
"attachment2",
"attachment3"
],
"required": [
"id",
"userName",
"realName",
"mobilePhone",
"tel",
"email",
"sex",
"isLocked",
"deptId",
"postId",
"avatar",
"remark",
"adminType",
"nickName",
"birthday",
"roleIds",
"createTime",
"roleCodes",
"deptName",
"lastLoginTime",
"attachment1",
"attachment2",
"attachment3"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DeptVO",
"displayName": "",
"id": "#/definitions/20317081",
"description": "部门返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"parentId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "父ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "部门名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用(1:是;0:否)",
"description": "yes_no"
},
"mainLeaderId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "分管领导ID",
"description": "sys_user.id"
},
"leaderIdList": {
"title": "部门负责人ID",
"description": "sys_user.id",
"mock": {
"mock": "@id"
},
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
}
}
},
"x-apifox-orders": [
"id",
"parentId",
"name",
"code",
"sort",
"enabled",
"leaderIdList",
"mainLeaderId",
"remark"
],
"required": [
"id",
"parentId",
"name",
"code",
"sort",
"leaderIdList",
"mainLeaderId",
"remark",
"enabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "PostVO",
"displayName": "",
"id": "#/definitions/20317082",
"description": "岗位返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "岗位名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用(1是,0否)"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DictVO",
"displayName": "",
"id": "#/definitions/20317083",
"description": "字典返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字典名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"groupCode": {
"type": "string",
"mock": {
"mock": "@pick(['default'])"
},
"title": "分组编码"
},
"dataType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "数据类型"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"dataType",
"groupCode",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled",
"groupCode",
"dataType"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DictItemVO",
"displayName": "",
"id": "#/definitions/20317084",
"description": "字典项返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字典项名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码",
"description": "唯一编码或值"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"dictId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "字典ID"
}
},
"x-apifox-orders": [
"id",
"dictId",
"name",
"code",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled",
"dictId"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "ConfigVO",
"displayName": "",
"id": "#/definitions/20317085",
"description": "配置返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "配置ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "配置名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"content": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "配置内容"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"groupCode": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "分组编码",
"description": "方便对同一类型分组"
},
"isSys": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否系统",
"description": "1是0否,系统配置不可修改"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"groupCode",
"content",
"isSys",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"content",
"isSys",
"enabled",
"remark",
"groupCode"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "NoticeVO",
"displayName": "",
"id": "#/definitions/20317086",
"description": "通知公告返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"title": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "标题"
},
"content": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "内容"
},
"publishTime": {
"type": "string",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"title": "发布时间"
},
"state": {
"type": "integer",
"mock": {
"mock": "@pick([0,1,2])"
},
"title": "发布状态",
"description": "0:草稿;1:已发布;2已撤回"
},
"variable": {
"type": "string",
"mock": {
"mock": "{}"
},
"title": "扩展参数",
"description": "用于存放渲染模板数据及点击处理参数"
},
"userIdList": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"description": "接收用户ID集合"
},
"userIds": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "接收用户ID",
"description": "多个用英文逗号拼接"
},
"cancelTime": {
"type": "string",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"title": "撤销时间",
"description": "通知公告被取消时的时间"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "类型",
"description": "dict.sys_notice_type(1:流程处理;2:系统消息)"
}
},
"x-apifox-orders": [
"id",
"title",
"content",
"type",
"publishTime",
"cancelTime",
"state",
"userIdList",
"userIds",
"variable"
],
"required": [
"id",
"title",
"content",
"publishTime",
"state",
"variable",
"userIdList",
"userIds",
"cancelTime",
"type"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 2746737,
"name": "param",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "RoleParam",
"displayName": "",
"id": "#/definitions/13740114",
"description": "角色入参",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": [
"string",
"null"
],
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "修改时必填"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "角色名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"roleType": {
"type": "string",
"mock": {
"mock": "@pick(['1','2','3'])"
},
"title": "角色类型",
"description": "dict.sys_role_role_type"
},
"remark": {
"type": [
"string",
"null"
],
"mock": {
"mock": "@cparagraph"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"roleType",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"roleType",
"remark",
"enabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "UserParam",
"displayName": "",
"id": "#/definitions/13740120",
"description": "用户参数实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"password": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "用户密码"
},
"userName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "用户名"
},
"realName": {
"type": "string",
"mock": {
"mock": "@cname"
},
"title": "姓名"
},
"mobilePhone": {
"type": "string",
"mock": {
"mock": "@phone"
},
"title": "手机号",
"description": "可用于登录-唯一"
},
"email": {
"type": "string",
"mock": {
"mock": "@email"
},
"title": "邮箱"
},
"sex": {
"type": "integer",
"mock": {
"mock": "@pick(['1','2','3'])"
},
"title": "性别",
"description": "dict.sex"
},
"isLocked": {
"type": "integer",
"mock": {
"mock": "@pick([0,1])"
},
"title": "是否锁定",
"description": "1是;0否 dict.yes_no"
},
"deptId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "所属部门ID",
"description": "table.sys_dept.id"
},
"postId": {
"type": "string",
"title": "所属岗位ID",
"mock": {
"mock": "@id"
},
"description": "table.sys_post.id"
},
"avatar": {
"type": "string",
"mock": {
"mock": "@image"
},
"title": "头像地址"
},
"remark": {
"type": "string",
"mock": {
"mock": "@cparagraph"
},
"title": "备注"
},
"adminType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "管理员类型",
"description": "1;超级管理员;2普通管理;dict.sys_user_admin_type"
},
"tel": {
"type": "string",
"mock": {
"mock": "@phone"
},
"title": "联系电话",
"description": "其他联系电话"
},
"nickName": {
"type": "string",
"mock": {
"mock": "@cname"
},
"title": "昵称"
}
},
"x-apifox-orders": [
"id",
"userName",
"realName",
"nickName",
"avatar",
"password",
"mobilePhone",
"tel",
"email",
"adminType",
"sex",
"isLocked",
"deptId",
"postId",
"remark"
],
"required": [
"id",
"userName",
"realName",
"password",
"mobilePhone",
"tel",
"email",
"sex",
"isLocked",
"deptId",
"postId",
"avatar",
"remark",
"adminType",
"nickName"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "MenuParam",
"displayName": "",
"id": "#/definitions/20317087",
"description": "菜单入参",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "菜单名称",
"description": "route.meta.title"
},
"parentId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "父ID"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序",
"description": "route.meta.orderNo"
},
"path": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "路由地址",
"description": "route.path"
},
"component": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "组件路径",
"description": "相对于/@/views/,route.component"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单唯一编码",
"description": "route.name"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单图标",
"description": "route.meta.icon"
},
"isShow": {
"title": "是否显示(1是,0否)",
"description": "!route.meta.hideMenu",
"mock": {
"mock": "@pick([1,0])"
},
"type": "integer"
},
"isLink": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否链接(1是,0否)",
"description": "route.meta.isLink"
},
"ext": {
"type": "object",
"properties": {
"affix": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否固定",
"description": "route.meta.affix"
},
"frameSrc": {
"type": "string",
"title": "iframe地址",
"description": "route.meta.frameSrc"
},
"currentActiveMenu": {
"type": "string",
"title": "当前活跃菜单",
"description": "仅一个子元素时,子需指定值为父的route.name"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"affix",
"frameSrc",
"currentActiveMenu"
],
"required": [
"affix",
"frameSrc",
"currentActiveMenu"
]
},
"openType": {
"type": "string",
"title": "打开方式",
"mock": {
"mock": "@pick([0,1,2,3])"
},
"description": "0:无;1:组件;2:内链;3:外链"
},
"isCache": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否缓存",
"description": "!route.meta.ignoreKeepAlive"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "菜单类型(1:菜单;2:按钮;3:接口)",
"description": "dict.sys_menu_type"
},
"url": {
"type": "string",
"title": "内外链接",
"mock": {
"mock": "@url(\"http\")"
}
},
"enabled": {
"type": "string",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"isSync": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否同步",
"description": "route.meta.isSync"
},
"appCode": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "应用编码",
"description": "用于区分不同前端应用"
}
},
"x-apifox-orders": [
"id",
"appCode",
"parentId",
"name",
"code",
"type",
"sort",
"path",
"component",
"icon",
"isShow",
"isLink",
"url",
"enabled",
"openType",
"isCache",
"isSync",
"ext"
],
"required": [
"id",
"name",
"parentId",
"path",
"component",
"code",
"icon",
"isShow",
"isLink",
"ext",
"openType",
"isCache",
"type",
"url",
"enabled",
"isSync",
"appCode"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "SyncRouteParam",
"displayName": "",
"id": "#/definitions/20317088",
"description": "同步前端路由",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "菜单名称",
"description": "route.meta.title"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序",
"description": "route.meta.orderNo"
},
"path": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "路由地址",
"description": "route.path"
},
"component": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "组件路径",
"description": "相对于/@/views/,route.component"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单唯一编码",
"description": "route.name"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "菜单图标",
"description": "route.meta.icon"
},
"isShow": {
"title": "是否显示(1是,0否)",
"description": "!route.meta.hideMenu",
"mock": {
"mock": "@pick([1,0])"
},
"type": "integer"
},
"isLink": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否链接(1是,0否)",
"description": "route.meta.isLink"
},
"ext": {
"type": "object",
"properties": {
"affix": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否固定",
"description": "route.meta.affix"
},
"hideChildrenInMenu": {
"type": "string",
"title": "是否子菜单(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"icon": {
"type": "string",
"title": "菜单图标",
"mock": {
"mock": "@word"
}
},
"orderNo": {
"type": "string",
"title": "排序"
},
"perms": {
"type": "array",
"items": {
"type": "string"
},
"title": "路由地址列表"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"affix",
"hideChildrenInMenu",
"icon",
"orderNo",
"perms"
],
"required": [
"affix",
"hideChildrenInMenu",
"icon",
"orderNo",
"perms"
]
},
"openType": {
"type": "string",
"title": "打开方式",
"mock": {
"mock": "@pick([0,1,2,3])"
},
"description": "0:无;1:组件;2:内链;3:外链"
},
"isCache": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否缓存",
"description": "!route.meta.ignoreKeepAlive"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "菜单类型(1:菜单;2:按钮;3:接口)",
"description": "dict.sys_menu_type"
},
"enabled": {
"type": "string",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"children": {
"title": "子菜单",
"$ref": "#/definitions/20317088"
}
},
"x-apifox-orders": [
"name",
"code",
"type",
"sort",
"path",
"component",
"icon",
"isShow",
"isLink",
"enabled",
"openType",
"isCache",
"ext",
"children"
],
"required": [
"name",
"path",
"component",
"code",
"icon",
"isShow",
"isLink",
"ext",
"openType",
"isCache",
"type",
"enabled",
"children"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DeptParam",
"displayName": "",
"id": "#/definitions/20317089",
"description": "部门入参",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"parentId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "父ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "部门名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用(1:是;0:否)",
"description": "yes_no"
},
"mainLeaderId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "分管领导ID",
"description": "sys_user.id"
},
"leaderIds": {
"title": "部门负责人ID",
"description": "sys_user.id",
"mock": {
"mock": "@id"
},
"type": "string"
}
},
"x-apifox-orders": [
"id",
"parentId",
"name",
"code",
"sort",
"enabled",
"leaderIds",
"mainLeaderId",
"remark"
],
"required": [
"id",
"parentId",
"name",
"code",
"sort",
"leaderIds",
"mainLeaderId",
"remark",
"enabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "PostParam",
"displayName": "",
"id": "#/definitions/20317090",
"description": "岗位入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "岗位名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DictParam",
"displayName": "",
"id": "#/definitions/20317091",
"description": "字典入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字典名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"groupCode": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "分组编码"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"groupCode",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled",
"groupCode"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "DictItemParam",
"displayName": "",
"id": "#/definitions/20317092",
"description": "字典项入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "岗位ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字典项名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码",
"description": "唯一编码或值"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"enabled": {
"type": "integer",
"title": "是否启用(1是,0否)",
"mock": {
"mock": "@pick([1,0])"
}
},
"dictId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "字典ID"
}
},
"x-apifox-orders": [
"id",
"dictId",
"name",
"code",
"sort",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"sort",
"remark",
"enabled",
"dictId"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "ConfigParam",
"displayName": "",
"id": "#/definitions/20317093",
"description": "配置入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "配置ID"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "配置名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"content": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "配置内容"
},
"enabled": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否启用"
},
"remark": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "备注"
},
"groupCode": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "分组编码",
"description": "方便对同一类型分组"
},
"isSys": {
"type": "integer",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否系统",
"description": "1是0否,系统配置不可修改"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"groupCode",
"content",
"isSys",
"enabled",
"remark"
],
"required": [
"id",
"name",
"code",
"content",
"isSys",
"enabled",
"remark",
"groupCode"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "NoticeParam",
"displayName": "",
"id": "#/definitions/20317094",
"description": "通知公告入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"title": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "标题"
},
"content": {
"type": "string",
"mock": {
"mock": "@csentence"
},
"title": "内容"
},
"publishTime": {
"type": "string",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"title": "发布时间"
},
"state": {
"type": "integer",
"mock": {
"mock": "@pick([0,1,2])"
},
"title": "发布状态",
"description": "0:草稿;1:已发布;2已撤回"
},
"variable": {
"type": "string",
"mock": {
"mock": "{}"
},
"title": "扩展参数",
"description": "用于存放渲染模板数据及点击处理参数"
},
"userIdList": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"description": "接收用户ID集合"
},
"userIds": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "接收用户ID",
"description": "多个用英文逗号拼接"
},
"type": {
"type": "integer",
"mock": {
"mock": "@pick([1,2])"
},
"title": "类型",
"description": "dict.sys_notice_type(1:流程处理;2:系统消息)"
}
},
"x-apifox-orders": [
"id",
"title",
"content",
"type",
"publishTime",
"state",
"userIdList",
"userIds",
"variable"
],
"required": [
"id",
"title",
"content",
"publishTime",
"state",
"variable",
"userIdList",
"userIds",
"type"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
}
]
},
{
"id": 2363129,
"name": "基础模型",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "LVTree",
"displayName": "",
"id": "#/definitions/55438459",
"description": "树型实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"label": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "显示文本",
"additionalProperties": false
},
"value": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "隐藏值",
"additionalProperties": false
},
"children": {
"type": "array",
"items": {
"$ref": "#/definitions/55438459"
}
}
},
"x-apifox-orders": [
"label",
"value",
"children"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "LV",
"displayName": "",
"id": "#/definitions/55438752",
"description": "树型实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"label": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "显示文本",
"additionalProperties": false
},
"value": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "隐藏值",
"additionalProperties": false
}
},
"x-apifox-orders": [
"label",
"value"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "TransferVO",
"displayName": "",
"id": "#/definitions/56177186",
"description": "穿梭框",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"key": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "key"
},
"title": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "标题"
},
"description": {
"type": "string",
"mock": {
"mock": "@cparagraph"
},
"title": "描述"
},
"disabled": {
"type": "boolean",
"mock": {
"mock": "@boolean"
},
"title": "是否禁用"
}
},
"x-apifox-orders": [
"key",
"title",
"description",
"disabled"
],
"required": [
"key",
"title",
"description",
"disabled"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonResult",
"displayName": "",
"id": "#/definitions/16178298",
"description": "基础返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {},
"x-apifox-orders": [],
"title": "返回的数据"
}
},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonPageResult",
"displayName": "",
"id": "#/definitions/20317072",
"description": "通用分页返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "object",
"properties": {
"recordCount": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "总记录数"
},
"totalPage": {
"type": "integer",
"mock": {
"mock": "@integer(1, 10)"
},
"title": "总页数"
},
"pageSize": {
"title": "每页大小",
"mock": {
"mock": "10"
},
"type": "integer"
},
"pageNum": {
"title": "当前页码",
"mock": {
"mock": "1"
},
"type": "integer"
},
"rows": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"title": "数据",
"minItems": 10,
"maxItems": 10
}
},
"x-apifox-orders": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
],
"required": [
"recordCount",
"totalPage",
"pageSize",
"pageNum",
"rows"
]
}
},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "CommonListResult",
"displayName": "",
"id": "#/definitions/20317073",
"description": "基础返回",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"code": {
"type": "integer",
"mock": {
"mock": "0"
},
"title": "状态码"
},
"msg": {
"type": "string",
"mock": {
"mock": "成功"
},
"title": "消息描述"
},
"data": {
"type": "array",
"items": {
"type": "object",
"properties": {},
"x-apifox-orders": []
},
"title": ""
}
},
"x-apifox-orders": [
"code",
"msg",
"data"
],
"required": [
"code",
"msg",
"data"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "PageParam",
"displayName": "",
"id": "#/definitions/20317075",
"description": "分页入参",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"pageNum": {
"mock": {
"mock": "1"
},
"type": "integer",
"title": "当前页码"
},
"pageSize": {
"type": "integer",
"mock": {
"mock": "10"
},
"title": "每页大小"
},
"orderBy": {
"type": "string",
"title": "排序",
"mock": {
"mock": "id"
}
},
"keywords": {
"type": "string"
}
},
"x-apifox-orders": [
"pageNum",
"pageSize",
"orderBy",
"keywords"
],
"required": [
"pageNum",
"pageSize",
"keywords"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 7408472,
"name": "演示",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "DemoVO",
"displayName": "",
"id": "#/definitions/76272639",
"description": "",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"name": {
"type": "string",
"title": "名称\t",
"mock": {
"mock": "@ctitle"
}
},
"inputTextArea": {
"type": "string",
"title": "多行文本",
"mock": {
"mock": "@ctitle"
}
},
"autoComplete": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "自动完成"
},
"mSwitch": {
"type": "integer",
"title": "开关",
"mock": {
"mock": "@pick([1,0])"
}
},
"apiSelect": {
"type": "string",
"title": "远程下拉",
"mock": {
"mock": "@id"
}
},
"dict": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "字典"
},
"apiTreeSelect": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "远程树"
},
"apiRadioGroup": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "远程单选组",
"mock": {
"mock": "@id"
}
},
"apiCheckboxGroup": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "远程多选组",
"mock": {
"mock": "@id"
}
},
"datePicker": {
"type": "string",
"mock": {
"mock": "@date(\"yyyy-MM-dd\")"
},
"title": "日期"
},
"rangePicker": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@date(\"yyyy-MM-dd\")"
}
},
"title": "日期区间选择",
"minItems": 2,
"maxItems": 2
},
"apiCascader": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@id"
}
},
"title": "远程级联选择"
},
"upload": {
"type": "string",
"title": "文件上传",
"mock": {
"mock": "@image"
}
}
},
"x-apifox-orders": [
"id",
"name",
"inputTextArea",
"autoComplete",
"mSwitch",
"apiSelect",
"dict",
"apiTreeSelect",
"apiRadioGroup",
"apiCheckboxGroup",
"datePicker",
"rangePicker",
"apiCascader",
"upload"
],
"required": [
"id",
"name",
"inputTextArea",
"autoComplete",
"mSwitch",
"apiSelect",
"dict",
"apiTreeSelect",
"apiRadioGroup",
"apiCheckboxGroup",
"datePicker",
"rangePicker",
"apiCascader",
"upload"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 11870057,
"name": "dev-在线开发",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"id": 11870058,
"name": "vo",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "SchemaFieldVO",
"displayName": "",
"id": "#/definitions/132444916",
"description": "数据模型字段返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "数据模型字段ID"
},
"schemaId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "数据模型ID"
},
"fieldName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "字段名称"
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字段注释"
},
"fieldSize": {
"type": "integer",
"mock": {
"mock": "@integer(1, 1000)"
},
"title": "字段长度"
},
"isPrimary": {
"mock": {
"mock": "@pick([0,1])"
},
"type": "integer",
"title": "是否主键",
"description": "dict.yes_no"
},
"component": {
"type": "string",
"mock": {
"mock": "@pick(['Input','ApiSelect','Dict'])"
},
"title": "表单组件",
"description": "dict.schema_field_component"
},
"dataType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3,4,5,6])"
},
"description": "dict.dev_schema_field_data_type",
"title": "数据类型"
},
"nullable": {
"type": "integer",
"mock": {
"mock": "@pick([0,1])"
},
"title": "允许为空",
"description": "dict.yes_no"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"ext": {
"type": "object",
"properties": {
"searchType": {
"type": "string",
"mock": {
"mock": "@pick(['EQ','LIKE','BT'])"
},
"title": "搜索类型"
},
"search": {
"title": "是否搜索",
"type": "boolean"
},
"placeholder": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "辅助语"
},
"help": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "提示语"
},
"addHide": {
"title": "新增隐藏",
"type": "boolean"
},
"editHide": {
"title": "编辑隐藏",
"type": "boolean"
},
"listHide": {
"title": "列表隐藏",
"type": "boolean"
},
"viewHide": {
"title": "查看隐藏",
"type": "boolean"
},
"addDisabled": {
"title": "新增禁止",
"type": "boolean"
},
"editDisabled": {
"title": "编辑禁止",
"type": "boolean"
},
"required": {
"title": "是否必填",
"type": "boolean"
},
"span": {
"title": "栅格占位格数",
"mock": {
"mock": "@integer(0, 24)"
},
"type": "integer"
},
"searchSpan": {
"type": "integer",
"title": "搜索栅格占位格数",
"mock": {
"mock": "@integer(0, 24)"
}
},
"authType": {
"type": "integer",
"mock": {
"mock": "@pick([1,2,3,4,5,6,7,8])"
},
"title": "权限类型",
"description": "用于简单区分字段权限,例:(1自建;2共建;3加盟;)"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"searchType",
"search",
"placeholder",
"help",
"addHide",
"editHide",
"listHide",
"viewHide",
"addDisabled",
"editDisabled",
"required",
"span",
"searchSpan",
"authType"
],
"required": [
"searchType",
"search",
"placeholder",
"help",
"addHide",
"editHide",
"listHide",
"viewHide",
"addDisabled",
"editDisabled",
"required",
"span",
"searchSpan",
"authType"
]
},
"fieldCamelName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "字段小驼峰"
},
"helpMessageList": {
"type": "array",
"items": {
"type": "string"
},
"title": "提示语集合"
},
"listSort": {
"type": "integer",
"title": "列表字段排序",
"mock": {
"mock": "@integer(60, 100)"
}
},
"searchSort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "搜索字段排序"
}
},
"x-apifox-orders": [
"id",
"schemaId",
"fieldName",
"fieldCamelName",
"remark",
"fieldSize",
"dataType",
"isPrimary",
"nullable",
"component",
"sort",
"listSort",
"searchSort",
"helpMessageList",
"ext"
],
"required": [
"id",
"schemaId",
"fieldName",
"remark",
"fieldSize",
"dataType",
"isPrimary",
"nullable",
"component",
"sort",
"ext",
"fieldCamelName",
"helpMessageList",
"listSort",
"searchSort"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "SchemaGroupVO",
"displayName": "",
"id": "#/definitions/132444917",
"description": "模型分组返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键"
},
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "分组名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "图标"
},
"schemaList": {
"type": "array",
"items": {
"$ref": "#/definitions/132444918"
}
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "备注"
},
"sort": {
"type": "string",
"title": "排序",
"mock": {
"mock": "@integer(10000)"
}
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"icon",
"remark",
"sort",
"schemaList"
],
"required": [
"id",
"name",
"code",
"icon",
"schemaList",
"remark",
"sort"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "SchemaVO",
"displayName": "",
"id": "#/definitions/132444918",
"description": "数据模型返回实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "数据模型主键"
},
"tableName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "表名称"
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "表注释"
},
"tableType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "表类型",
"description": "dict.dev_schema_table_type"
},
"formType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "表单类型",
"description": "dict.dev_schema_form_type"
},
"isTree": {
"type": "string",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否树型",
"description": "dict.yes_no"
},
"variable": {
"type": "string",
"mock": {
"mock": "{}"
},
"title": "扩展属性JSON"
},
"ext": {
"type": "object",
"properties": {
"formStyle": {
"type": "integer",
"title": "表单风格",
"mock": {
"mock": "@pick([1,2,3,4])"
},
"description": "一列、两列、三列、四列"
},
"labelWidth": {
"type": "string",
"mock": {
"mock": "100px"
},
"title": "标签宽度"
},
"searchLabelWidth": {
"type": "string",
"mock": {
"mock": "100px"
},
"title": "搜索标签宽度"
},
"layout": {
"type": "string",
"mock": {
"mock": "@pick(['horizontal','vertical','inline'])"
},
"title": "表单布局"
},
"searchLayout": {
"type": "string",
"mock": {
"mock": "@pick(['horizontal','vertical','inline'])"
},
"title": "搜索表单布局"
},
"customAuthTypeList": {
"type": "array",
"items": {
"type": "object",
"properties": {
"label": {
"type": "string",
"mock": {
"mock": "@cname"
},
"title": "权限名"
},
"value": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "权限码"
}
},
"x-apifox-orders": [
"label",
"value"
],
"required": [
"label",
"value"
]
},
"title": "自定义功能权限"
},
"defaultAuthTypeList": {
"type": "array",
"items": {
"type": "string",
"mock": {
"mock": "@pick([\"list\",\"save\"])"
}
},
"uniqueItems": true,
"minItems": 2,
"maxItems": 2
},
"async": {
"type": "boolean",
"mock": {
"mock": "@boolean"
},
"title": "是否异步元数据"
},
"hideMenu": {
"type": "boolean",
"mock": {
"mock": "@boolean"
},
"title": "隐藏菜单"
},
"ignoreSync": {
"type": "boolean",
"mock": {
"mock": "@boolean"
},
"title": "忽略同步"
},
"isCreateRoute": {
"type": "boolean",
"mock": {
"mock": "@boolean"
},
"title": "是否创建路由"
}
},
"title": "扩展属性JSON对象",
"description": "由variable字符串转成json对象",
"x-apifox-orders": [
"formStyle",
"labelWidth",
"async",
"hideMenu",
"ignoreSync",
"isCreateRoute",
"searchLabelWidth",
"layout",
"searchLayout",
"defaultAuthTypeList",
"customAuthTypeList"
],
"required": [
"formStyle",
"labelWidth",
"searchLabelWidth",
"layout",
"searchLayout",
"customAuthTypeList",
"defaultAuthTypeList",
"async",
"hideMenu",
"ignoreSync",
"isCreateRoute"
]
},
"moduleName": {
"type": "string",
"mock": {
"mock": "dev"
},
"title": "模块名"
},
"schemaGroupId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "分组ID"
},
"otherRemark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "额外说明"
},
"sort": {
"type": "number",
"mock": {
"mock": "@integer(10000)"
},
"title": "排序"
},
"icon": {
"type": "string",
"mock": {
"mock": "@image"
},
"title": "图标"
},
"searchFormKeys": {
"type": "string",
"mock": {
"mock": "@word"
},
"description": "可用于排序",
"title": "搜索表单key"
},
"listKeys": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "列表key",
"description": "可用于排序"
},
"tableCamelName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "小驼峰"
},
"className": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "类名称"
},
"columns": {
"type": "array",
"items": {
"$ref": "#/definitions/132444916"
},
"title": "列信息"
},
"schemaGroup": {
"title": "分组信息",
"$ref": "#/definitions/132444917"
},
"updateTime": {
"type": "string",
"mock": {
"mock": "@datetime(\"yyyy-MM-dd HH:mm:ss\")"
},
"title": "更新时间"
}
},
"x-apifox-orders": [
"id",
"schemaGroupId",
"moduleName",
"tableName",
"tableCamelName",
"className",
"remark",
"otherRemark",
"tableType",
"formType",
"isTree",
"sort",
"icon",
"searchFormKeys",
"listKeys",
"updateTime",
"variable",
"columns",
"ext",
"schemaGroup"
],
"required": [
"id",
"tableName",
"remark",
"tableType",
"formType",
"isTree",
"variable",
"ext",
"moduleName",
"schemaGroupId",
"otherRemark",
"sort",
"icon",
"searchFormKeys",
"listKeys",
"tableCamelName",
"className",
"columns",
"schemaGroup",
"updateTime"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
},
{
"id": 11870059,
"name": "param",
"visibility": "INHERITED",
"moduleId": 2323449,
"items": [
{
"name": "SchemaParam",
"displayName": "",
"id": "#/definitions/132444919",
"description": "数据模型入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "数据模型主键"
},
"tableName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "表名称"
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "表注释"
},
"tableType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "表类型",
"description": "dict.dev_schema_table_type"
},
"formType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3])"
},
"title": "表单类型",
"description": "dict.dev_schema_form_type"
},
"isTree": {
"type": "string",
"mock": {
"mock": "@pick([1,0])"
},
"title": "是否树型",
"description": "dict.yes_no"
},
"variable": {
"type": "string",
"mock": {
"mock": "{}"
},
"title": "扩展属性JSON"
},
"applicationId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "应用ID",
"description": "如果前端传值,则使用前端值,如果前端不传,则使用默认值"
},
"schemaGroupId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "分组ID"
},
"otherRemark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "额外说明"
}
},
"x-apifox-orders": [
"id",
"applicationId",
"tableName",
"remark",
"otherRemark",
"tableType",
"formType",
"isTree",
"schemaGroupId",
"variable"
],
"required": [
"id",
"tableName",
"remark",
"tableType",
"formType",
"isTree",
"variable",
"applicationId",
"schemaGroupId",
"otherRemark"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "SchemaFieldParam",
"displayName": "",
"id": "#/definitions/132444920",
"description": "数据模型字段入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "数据模型字段ID"
},
"schemaId": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "数据模型ID"
},
"fieldName": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "字段名称"
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "字段注释"
},
"fieldSize": {
"type": "integer",
"mock": {
"mock": "@integer(1, 1000)"
},
"title": "字段长度"
},
"isPrimary": {
"mock": {
"mock": "@pick([0,1])"
},
"type": "integer",
"title": "是否主键",
"description": "dict.yes_no"
},
"component": {
"type": "string",
"mock": {
"mock": "@pick(['Input','Select','Dict'])"
},
"title": "表单组件",
"description": "dict.schema_field_component"
},
"dataType": {
"type": "string",
"mock": {
"mock": "@pick([1,2,3,4,5,6])"
},
"description": "dict.dev_schema_field_data_type",
"title": "数据类型"
},
"nullable": {
"type": "integer",
"mock": {
"mock": "@pick([0,1])"
},
"title": "允许为空",
"description": "dict.yes_no"
},
"sort": {
"type": "integer",
"mock": {
"mock": "@integer(60, 100)"
},
"title": "排序"
},
"ext": {
"type": "object",
"properties": {
"searchType": {
"type": "string",
"mock": {
"mock": "@pick(['EQ','LIKE','BT'])"
},
"title": "搜索类型"
},
"search": {
"title": "是否搜索",
"type": "boolean"
},
"placeholder": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "辅助语"
},
"help": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "提示语"
},
"addHide": {
"title": "新增隐藏",
"type": "boolean"
},
"editHide": {
"title": "编辑隐藏",
"type": "boolean"
},
"listHide": {
"title": "列表隐藏",
"type": "boolean"
},
"viewHide": {
"title": "查看隐藏",
"type": "boolean"
},
"addDisabled": {
"title": "新增禁止",
"type": "boolean"
},
"editDisabled": {
"title": "编辑禁止",
"type": "boolean"
},
"required": {
"title": "是否必填",
"type": "boolean"
}
},
"title": "扩展属性",
"x-apifox-orders": [
"searchType",
"search",
"placeholder",
"help",
"addHide",
"editHide",
"listHide",
"viewHide",
"addDisabled",
"editDisabled",
"required"
],
"required": [
"searchType",
"search",
"placeholder",
"help",
"addHide",
"editHide",
"listHide",
"viewHide",
"addDisabled",
"editDisabled",
"required"
]
},
"variable": {
"type": "string",
"mock": {
"mock": "{}"
},
"title": "扩展属性JSON",
"description": "与ext对应"
}
},
"x-apifox-orders": [
"id",
"schemaId",
"fieldName",
"remark",
"fieldSize",
"dataType",
"isPrimary",
"nullable",
"component",
"sort",
"variable",
"ext"
],
"required": [
"id",
"schemaId",
"fieldName",
"remark",
"fieldSize",
"dataType",
"isPrimary",
"nullable",
"component",
"sort",
"ext",
"variable"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
},
{
"name": "SchemaGroupParam",
"displayName": "",
"id": "#/definitions/132444921",
"description": "模型分组入参实体",
"schema": {
"jsonSchema": {
"type": "object",
"properties": {
"name": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "分组名称"
},
"code": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "唯一编码"
},
"icon": {
"type": "string",
"mock": {
"mock": "@word"
},
"title": "图标"
},
"remark": {
"type": "string",
"mock": {
"mock": "@ctitle"
},
"title": "备注"
},
"id": {
"type": "string",
"mock": {
"mock": "@id"
},
"title": "主键",
"description": "更新时必填"
},
"sort": {
"type": "string",
"mock": {
"mock": "@integer(10000)"
},
"title": "排序"
}
},
"x-apifox-orders": [
"id",
"name",
"code",
"icon",
"sort",
"remark"
],
"required": [
"name",
"code",
"icon",
"remark",
"id",
"sort"
]
}
},
"visibility": "INHERITED",
"moduleId": 2323449
}
]
}
]
}
]
}
],
"securitySchemeCollection": [],
"requestCollection": [
{
"name": "根目录",
"children": [],
"ordering": [
"requestFolder.1305702"
],
"items": []
}
],
"apiTestCaseCollection": [
{
"name": "Root",
"children": [
{
"name": "默认分组",
"description": null,
"children": [],
"items": []
}
],
"items": []
}
],
"testCaseReferences": [],
"environments": [],
"commonScripts": [
{
"name": "设置token",
"content": "pm.test(\"验证是否登录成功\", function () {\r\n var jsonData = pm.response.json();\r\n pm.expect(jsonData.code).to.eql(0);\r\n pm.environment.set(\"token\", jsonData.data.token);\r\n});\r\n",
"runMode": "independent",
"description": "",
"ordering": 20,
"stickyOrdering": 0,
"id": "376759"
},
{
"name": "设置全局token",
"content": "\r\npm.test(\"测试是否登录成功\", function () {\r\n var jsonData = pm.response.json();\r\n pm.expect(jsonData.code).to.eql(0);\r\n pm.environment.set(\"token\", jsonData.data.token);\r\n});\r\n",
"runMode": "independent",
"description": "登录或刷新token后,设置全局token",
"ordering": 0,
"stickyOrdering": 0,
"id": "384194"
},
{
"name": "退出删除token",
"content": "\r\npm.test(\"退出删除token\", function () {\r\n var jsonData = pm.response.json();\r\n pm.expect(jsonData.code).to.eql(0);\r\n pm.environment.set(\"token\", '');\r\n});\r\n",
"runMode": "independent",
"description": "",
"ordering": 10,
"stickyOrdering": 0,
"id": "539245"
}
],
"databaseConnections": [],
"globalVariables": [
{
"id": "1299731",
"variables": [
{
"name": "CODE",
"value": "0",
"description": "",
"isBindInitial": true,
"initialValue": "0",
"isSync": true
}
]
}
],
"moduleVariables": [
{
"id": "2323449",
"variables": []
}
],
"commonParameters": null,
"projectSetting": {
"id": "1017195",
"auth": {},
"securityScheme": {},
"gateway": [],
"language": "zh-CN",
"apiStatuses": [
"developing",
"testing",
"released",
"deprecated"
],
"mockSettings": {},
"preProcessors": [],
"postProcessors": [],
"advancedSettings": {
"enableJsonc": false,
"enableBigint": false,
"responseValidate": true,
"isDefaultUrlEncoding": 2,
"enableTestScenarioSetting": false,
"enableYAPICompatScript": false,
"publishedDocUrlRules": {
"defaultRule": "RESOURCE_KEY_ONLY",
"resourceKeyStandard": "LEGACY",
"enableResourceKeyStandard": true
}
},
"initialDisabledMockIds": [],
"servers": [
{
"id": "default",
"name": "默认服务"
}
],
"cloudMock": {
"security": "free",
"enable": true,
"tokenKey": "apifoxToken"
}
},
"customFunctions": [],
"projectAssociations": []
}