| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780 |
- {
- "project": {
- "name": "校园报修",
- "description": "",
- "details": {
- "variable": [],
- "servers": [
- {
- "server_id": "default",
- "name": "默认服务"
- }
- ],
- "markList": [
- {
- "key": "developing",
- "name": "开发中",
- "color": "#3A86FF",
- "is_default": true
- },
- {
- "key": "complated",
- "name": "已完成",
- "color": "#2BA58F",
- "is_default": true
- },
- {
- "key": "modifying",
- "name": "需修改",
- "color": "#EC4646",
- "is_default": true
- }
- ],
- "script": {
- "pre_script": "",
- "test": ""
- },
- "request": {
- "query": [
- {
- "is_checked": "1",
- "type": "Text",
- "key": "",
- "value": "",
- "description": ""
- }
- ],
- "header": [
- {
- "is_checked": "1",
- "type": "Text",
- "key": "",
- "value": "",
- "description": ""
- }
- ],
- "body": [
- {
- "is_checked": "1",
- "type": "Text",
- "key": "",
- "value": "",
- "description": ""
- }
- ]
- }
- }
- },
- "apis": [
- {
- "target_type": "folder",
- "name": "校园报修管理端",
- "mark": "developing",
- "sort": 1,
- "tags": [],
- "request": {
- "description": ""
- },
- "children": [
- {
- "target_type": "api",
- "name": "注册接口",
- "mark": "complated",
- "sort": 1,
- "tags": [],
- "method": "POST",
- "mock": "{}",
- "mock_url": "/repair/api/login/Register",
- "request": {
- "url": "{{url}}/repair/api/login/Register",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "body": {
- "mode": "json",
- "parameter": [
- {
- "description": "",
- "is_checked": 1,
- "key": "files",
- "type": "File",
- "not_null": "1",
- "field_type": "File",
- "value": "D:\\upload\\3d323299-583e-4765-b9d5-50fdf40cdc1a.jpg"
- }
- ],
- "raw": "{\r\n \"account\": \"admin\",\r\n \"password\": \"123456\",\r\n \"phone\":\"123456789\",\r\n \"username\":\"ceshi\",\r\n \"cardNumber\":\"sdadasdasad\",\r\n \"schoolId\":\"1\"\r\n}",
- "raw_para": [],
- "raw_schema": []
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": -1,
- "code": 200,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "{}",
- "schema": {
- "type": "object"
- }
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 201,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "系统设置数据查询",
- "mark": "complated",
- "sort": 2,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/repairSystemSetting/queryRepairSystemSetting",
- "request": {
- "url": "{{url}}/repair/api/repairSystemSetting/queryRepairSystemSetting",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "body": {
- "mode": "form-data",
- "parameter": [],
- "raw": "",
- "raw_para": [],
- "raw_schema": []
- },
- "header": {
- "parameter": [
- {
- "description": "用户标识",
- "field_type": "String",
- "is_checked": 1,
- "key": "user_head",
- "value": "16084D92FEDF19A31AD05ED28073756C3D20D41DA43F8F78FC84ACF77BEDEDB34BEDAE6870358C8A6BCEF6448DA00228",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "token",
- "field_type": "String",
- "is_checked": 1,
- "key": "token",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd29yZCI6IkI5QUQyOUQ1N0IwMTk0RTU1NDc3NkQ1QzE3QjM1NUM2IiwiZXhwIjoxNjk1NzE2OTU0LCJpYXQiOjE2OTU2MzA1NTQsImFjY291bnQiOiJhZG1pbiJ9.wZPVOkNTWfYHPJ-staSUQKFC8TJQYZIkdV1wNc_8RAE",
- "not_null": 1,
- "type": "Text"
- }
- ]
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": -1,
- "code": 200,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "{}",
- "schema": {
- "type": "object"
- }
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 201,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "登录接口",
- "mark": "complated",
- "sort": 1,
- "tags": [],
- "method": "POST",
- "mock": "{}",
- "mock_url": "/repair/api/login/Login",
- "request": {
- "url": "{{url}}/repair/api/login/Login",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "body": {
- "mode": "json",
- "parameter": [
- {
- "description": "",
- "is_checked": 1,
- "key": "files",
- "type": "File",
- "not_null": "1",
- "field_type": "File",
- "value": "D:\\upload\\3d323299-583e-4765-b9d5-50fdf40cdc1a.jpg"
- }
- ],
- "raw": "{\r\n \"account\":\"admin\",\r\n \"password\":\"123456\"\r\n}",
- "raw_para": [],
- "raw_schema": []
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": -1,
- "code": 200,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "{}",
- "schema": {
- "type": "object"
- }
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 201,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "报修区域统计",
- "mark": "complated",
- "sort": 12,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/repairRecord/repairArea",
- "request": {
- "url": "{{url}}/repair/api/repairRecord/repairArea?state=0¤tPage=1&pageCount=10",
- "description": "报修校区统计",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "body": {
- "mode": "form-data",
- "parameter": [],
- "raw": "",
- "raw_para": [],
- "raw_schema": []
- },
- "header": {
- "parameter": [
- {
- "description": "用户标识",
- "field_type": "String",
- "is_checked": 1,
- "key": "user_head",
- "value": "16084D92FEDF19A31AD05ED28073756C3D20D41DA43F8F78FC84ACF77BEDEDB34BEDAE6870358C8A6BCEF6448DA00228",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "token",
- "field_type": "String",
- "is_checked": 1,
- "key": "token",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd29yZCI6IkI5QUQyOUQ1N0IwMTk0RTU1NDc3NkQ1QzE3QjM1NUM2IiwiZXhwIjoxNjk1NzE2OTU0LCJpYXQiOjE2OTU2MzA1NTQsImFjY291bnQiOiJhZG1pbiJ9.wZPVOkNTWfYHPJ-staSUQKFC8TJQYZIkdV1wNc_8RAE",
- "not_null": 1,
- "type": "Text"
- }
- ]
- },
- "query": {
- "parameter": [
- {
- "description": "状态\n全部:0\n本年:1\n本月:2\n本周:3\n今天:4",
- "field_type": "Integer",
- "is_checked": 1,
- "key": "state",
- "value": "0",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "页数",
- "field_type": "Integer",
- "is_checked": 1,
- "key": "currentPage",
- "value": "1",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "当前页面显示数据条数",
- "field_type": "String",
- "is_checked": 1,
- "key": "pageCount",
- "value": "10",
- "not_null": 1,
- "type": "Text"
- }
- ]
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": -1,
- "code": 200,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "{}",
- "schema": {
- "type": "object"
- }
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 201,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "报修校区统计",
- "mark": "complated",
- "sort": 11,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/repairRecord/repairCampus",
- "request": {
- "url": "{{url}}/repair/api/repairRecord/repairCampus?state=0",
- "description": "报修校区统计",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "body": {
- "mode": "form-data",
- "parameter": [],
- "raw": "",
- "raw_para": [],
- "raw_schema": []
- },
- "header": {
- "parameter": [
- {
- "description": "用户标识",
- "field_type": "String",
- "is_checked": 1,
- "key": "user_head",
- "value": "16084D92FEDF19A31AD05ED28073756C3D20D41DA43F8F78FC84ACF77BEDEDB34BEDAE6870358C8A6BCEF6448DA00228",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "token",
- "field_type": "String",
- "is_checked": 1,
- "key": "token",
- "value": "eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJwYXNzd29yZCI6IkI5QUQyOUQ1N0IwMTk0RTU1NDc3NkQ1QzE3QjM1NUM2IiwiZXhwIjoxNjk1NzE2OTU0LCJpYXQiOjE2OTU2MzA1NTQsImFjY291bnQiOiJhZG1pbiJ9.wZPVOkNTWfYHPJ-staSUQKFC8TJQYZIkdV1wNc_8RAE",
- "not_null": 1,
- "type": "Text"
- }
- ]
- },
- "query": {
- "parameter": [
- {
- "description": "状态\n全部:0\n本年:1\n本月:2\n本周:3\n今天:4",
- "field_type": "Integer",
- "is_checked": 1,
- "key": "state",
- "value": "0",
- "not_null": 1,
- "type": "Text"
- }
- ]
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": -1,
- "code": 200,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "{}",
- "schema": {
- "type": "object"
- }
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 201,
- "contentType": "json",
- "verifyType": "mock",
- "mock": "",
- "schema": {
- "type": "object"
- }
- }
- }
- },
- "children": []
- }
- ]
- },
- {
- "target_type": "folder",
- "name": "校园报修移动端",
- "mark": "developing",
- "sort": 3,
- "tags": [],
- "request": {
- "description": ""
- },
- "children": [
- {
- "target_type": "api",
- "name": "微信授权",
- "mark": "developing",
- "sort": 14,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/login/XOpenid",
- "request": {
- "url": "{{url}}/repair/api/login/XOpenid?code=&userId=",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "query": {
- "parameter": [
- {
- "description": "微信code",
- "field_type": "String",
- "is_checked": 1,
- "key": "code",
- "value": "",
- "not_null": 1,
- "type": "Text"
- },
- {
- "description": "用户ID",
- "field_type": "Integer",
- "is_checked": 1,
- "key": "userId",
- "value": "",
- "not_null": 1,
- "type": "Text"
- }
- ]
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": 1,
- "code": 200,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": {}
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 404,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": {}
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "微校授权",
- "mark": "developing",
- "sort": 13,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/login/Openid",
- "request": {
- "url": "{{url}}/repair/api/login/Openid?wxcode=",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- },
- "query": {
- "parameter": [
- {
- "description": "小程序的微校code",
- "field_type": "String",
- "is_checked": 1,
- "key": "wxcode",
- "value": "",
- "not_null": 1,
- "type": "Text"
- }
- ]
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": 1,
- "code": 200,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": []
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 404,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": []
- }
- }
- },
- "children": []
- },
- {
- "target_type": "api",
- "name": "查看后端代码版本",
- "mark": "developing",
- "sort": 12,
- "tags": [],
- "method": "GET",
- "mock": "{}",
- "mock_url": "/repair/api/login/queryReduce",
- "request": {
- "url": "{{url}}/repair/api/login/queryReduce",
- "description": "",
- "event": {
- "pre_script": "",
- "test": ""
- }
- },
- "response": {
- "success": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "成功",
- "isDefault": 1,
- "code": 200,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": {}
- }
- },
- "error": {
- "raw": "",
- "parameter": [],
- "expect": {
- "name": "失败",
- "isDefault": -1,
- "code": 404,
- "contentType": "json",
- "verifyType": "schema",
- "mock": "",
- "schema": {}
- }
- }
- },
- "children": []
- }
- ]
- }
- ],
- "envs": [
- {
- "env_id": "-1",
- "list": {
- "url": {
- "type": "1",
- "value": "http://101.42.162.31:8088/",
- "current_value": "http://101.42.162.31:8088/"
- }
- },
- "name": "默认环境",
- "pre_url": "",
- "pre_urls": {
- "default": ""
- }
- },
- {
- "env_id": "-2",
- "list": {},
- "name": "Mock环境",
- "pre_url": "https://console-mock.apipost.cn/mock/3227c6b0-40a8-4217-957f-9b15e0b349b7/",
- "pre_urls": {
- "default": "https://console-mock.apipost.cn/mock/3227c6b0-40a8-4217-957f-9b15e0b349b7/"
- }
- },
- {
- "env_id": "02e56d91-9777-4e3c-88a8-9a23469f0895",
- "list": {
- "url": {
- "current_value": "https://chtech.ncjti.edu.cn/campusMaintenance/repair-api",
- "type": "1",
- "value": "https://chtech.ncjti.edu.cn/campusMaintenance/repair-api",
- "description": ""
- }
- },
- "name": "线上地址",
- "pre_url": "",
- "pre_urls": {
- "default": ""
- }
- },
- {
- "env_id": "2012c6be-bb94-4abe-92ba-c3aa0fdbac91",
- "list": {
- "url": {
- "current_value": "https://chtech.ncjti.edu.cn/campusMaintenance/repair-api",
- "type": "1",
- "value": "https://chtech.ncjti.edu.cn/campusMaintenance/repair-api",
- "description": ""
- }
- },
- "name": "测试环境",
- "pre_url": "",
- "pre_urls": {
- "default": ""
- }
- },
- {
- "env_id": "503688d4-e4ae-49ed-9063-9066c930aa1a",
- "list": {
- "url": {
- "current_value": "http://52bun2.natappfree.cc",
- "type": "1",
- "value": "http://52bun2.natappfree.cc",
- "description": ""
- }
- },
- "name": "内网",
- "pre_url": "",
- "pre_urls": {
- "default": ""
- }
- },
- {
- "env_id": "bcdbae83-6c5d-465c-ae0c-d45f26f51959",
- "list": {
- "url": {
- "type": "1",
- "value": "http://localhost:8080/",
- "current_value": "http://localhost:8080/"
- }
- },
- "name": "本地",
- "pre_url": "",
- "pre_urls": {
- "default": ""
- }
- }
- ],
- "models": []
- }
|