Commit 721070ae by zhangjingdong

添加车辆管家、用户拉黑、房产认证

parent 393cd99d
No preview for this file type
...@@ -162,7 +162,6 @@ ...@@ -162,7 +162,6 @@
<foldersAlwaysOnTop value="true" /> <foldersAlwaysOnTop value="true" />
</navigator> </navigator>
<panes> <panes>
<pane id="Scope" />
<pane id="ProjectPane"> <pane id="ProjectPane">
<subPane> <subPane>
<expand> <expand>
...@@ -183,6 +182,7 @@ ...@@ -183,6 +182,7 @@
<select /> <select />
</subPane> </subPane>
</pane> </pane>
<pane id="Scope" />
</panes> </panes>
</component> </component>
<component name="PropertiesComponent"> <component name="PropertiesComponent">
...@@ -284,18 +284,18 @@ ...@@ -284,18 +284,18 @@
<window_info anchor="bottom" id="TODO" order="6" weight="0.32969698" /> <window_info anchor="bottom" id="TODO" order="6" weight="0.32969698" />
<window_info anchor="bottom" id="Event Log" order="7" side_tool="true" /> <window_info anchor="bottom" id="Event Log" order="7" side_tool="true" />
<window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" /> <window_info anchor="bottom" id="Database Changes" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Run" order="2" weight="0.32969698" />
<window_info anchor="bottom" id="Version Control" order="7" weight="0.32969698" /> <window_info anchor="bottom" id="Version Control" order="7" weight="0.32969698" />
<window_info anchor="bottom" id="Python Console" order="7" weight="0.32969698" /> <window_info anchor="bottom" id="Python Console" order="7" weight="0.32969698" />
<window_info anchor="bottom" id="Run" order="2" weight="0.32969698" />
<window_info anchor="bottom" id="Terminal" order="7" weight="0.32969698" /> <window_info anchor="bottom" id="Terminal" order="7" weight="0.32969698" />
<window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.5334539" visible="true" weight="0.29756796" /> <window_info active="true" content_ui="combo" id="Project" order="0" sideWeight="0.5334539" visible="true" weight="0.3018598" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="right" id="Database" order="3" /> <window_info anchor="right" id="Database" order="3" />
<window_info anchor="right" id="SciView" order="3" /> <window_info anchor="right" id="SciView" order="3" />
<window_info id="Structure" order="1" side_tool="true" weight="0.25" /> <window_info id="Structure" order="1" side_tool="true" weight="0.25" />
<window_info id="Favorites" order="2" sideWeight="0.46654612" side_tool="true" weight="0.26752505" />
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" /> <window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
<window_info id="Favorites" order="2" sideWeight="0.46654612" side_tool="true" weight="0.26752505" />
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" /> <window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" />
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" /> <window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" /> <window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" /> <window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
......
No preview for this file type
{
{
"id": "ef75ce69-8735-4fe0-8143-9606ee21bb01",
"name": "房产认证和住户管理_manage",
"values": [
{
"key": "gateway-user",
"value": "https://usergwtest.bgycc.com",
"enabled": true
},
{
"key": "user_phone",
"value": "13410480252",
"enabled": true
},
{
"key": "access-Token",
"value": "7b4928ce54754b82b25ffad3b49f90a7",
"enabled": true
},
{
"key": "account_Id",
"value": "90483",
"enabled": true
},
{
"key": "room_Id",
"value": "18542500000027",
"enabled": true
},
{
"key": "cst_name",
"value": "\"自动测试\"",
"enabled": true
},
{
"key": "customer_Type",
"value": "TENANT",
"enabled": true
},
{
"key": "face_Img",
"value": "https://platformcdn.bgycc.com/test/15590146338671bb69fb4f7054c3791e98ffdc88b0ee3.png'",
"enabled": true
},
{
"key": "modify_Time",
"value": "2019-05-28 11:41:39",
"enabled": true
},
{
"key": "user_Img",
"value": null,
"enabled": true
},
{
"key": "room_Id2",
"value": "18542500000026",
"enabled": true
},
{
"key": "id_3",
"value": "11814",
"enabled": true
},
{
"key": "end_Time",
"value": "2023-05-29 23:59:59",
"enabled": true
},
{
"key": "start_Time",
"value": "2023-05-29 00:00:00",
"enabled": true
},
{
"key": "card_Id",
"value": "\"332332198808080808\"",
"enabled": true
},
{
"key": "identity_Card",
"value": "\"44052119780517452X\"",
"description": {
"content": "",
"type": "text/plain"
},
"enabled": true
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2019-05-28T08:18:36.736Z",
"_postman_exported_using": "Postman/6.6.1"
}
\ No newline at end of file
{
{
"info": {
"_postman_id": "4fe409ba-6656-44a2-bae1-687380533c43",
"name": "用户拉黑",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "用户登录",
"event": [
{
"listen": "test",
"script": {
"id": "104d4846-b5c6-46b1-a08b-3b6e7000cc25",
"exec": [
"// console.log(\"----------------responseBody--------------\"+responseBody);",
"var jsonData = JSON.parse(responseBody);",
"// console.log(\"----------------jsonData.data.accessToken--------------\"+jsonData.data.accessToken);",
"",
"if(jsonData.data !== null || jsonData.data !==\"\")",
"{",
" tests[\"accessToken\"] = true;",
" postman.setEnvironmentVariable(\"access-Token\",jsonData.data.accessToken);",
" ",
"}",
"else",
"{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"accessToken\"]=false;",
"}",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"userPhone\": {{user_phone}},\n \"userPassword\": {{userPassword}},\n \"equipment\": \"32bba7423e5f3feca\",\n \"channelId\": 1\n}"
},
"url": "{{gateway-user}}/app/login"
},
"response": []
},
{
"name": "拉黑用户",
"event": [
{
"listen": "test",
"script": {
"id": "84adc3c4-ce53-4b7d-91dc-8c39f7db75ef",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"userId\": 91131,\n \"blackUserId\": 91873\n}"
},
"url": "{{gateway-user}}/user/black/add"
},
"response": []
},
{
"name": "移除黑名单",
"event": [
{
"listen": "test",
"script": {
"id": "84adc3c4-ce53-4b7d-91dc-8c39f7db75ef",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"userId\": 91131,\n \"blackUserId\": 91873\n}"
},
"url": "{{gateway-user}}/user/black/delete"
},
"response": []
},
{
"name": "黑名单列表",
"event": [
{
"listen": "test",
"script": {
"id": "84adc3c4-ce53-4b7d-91dc-8c39f7db75ef",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"userId\": 91131,\n \"blackUserId\": 91873\n}"
},
"url": "{{gateway-user}}/user/black/list/get/91131"
},
"response": []
}
]
}
\ No newline at end of file
{
{
"id": "36373cfa-2fde-4e36-802b-a17816e85091",
"name": "用户拉黑_manage",
"values": [
{
"key": "user_phone",
"value": "\"18670340158\"",
"enabled": true,
"type": "text"
},
{
"key": "userPassword",
"value": "\"123456\"",
"enabled": true,
"type": "text"
},
{
"key": "gateway-user",
"value": "https://usergwtest.bgycc.com",
"enabled": true,
"type": "text"
},
{
"key": "access-Token",
"value": "20f88706236b4c8eb23034858b9cfdf3",
"enabled": true,
"type": "text"
},
{
"key": "id",
"value": "[object Object]",
"enabled": true,
"type": "text"
},
{
"key": "user_id",
"value": "147",
"enabled": true,
"type": "text"
},
{
"key": "carNum",
"value": "粤EL618T",
"enabled": true,
"type": "text"
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2019-05-28T08:49:27.883Z",
"_postman_exported_using": "Postman/6.1.4"
}
\ No newline at end of file
{
{
"info": {
"_postman_id": "6d914adb-1513-444b-9152-3e8dba95ff8e",
"name": "车辆管理",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "用户登录",
"event": [
{
"listen": "test",
"script": {
"id": "104d4846-b5c6-46b1-a08b-3b6e7000cc25",
"exec": [
"// console.log(\"----------------responseBody--------------\"+responseBody);",
"var jsonData = JSON.parse(responseBody);",
"// console.log(\"----------------jsonData.data.accessToken--------------\"+jsonData.data.accessToken);",
"",
"if(jsonData.data !== null || jsonData.data !==\"\")",
"{",
" tests[\"accessToken\"] = true;",
" postman.setEnvironmentVariable(\"access-Token\",jsonData.data.accessToken);",
" ",
"}",
"else",
"{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"accessToken\"]=false;",
"}",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"userPhone\": {{user_phone}},\n \"userPassword\": {{userPassword}},\n \"equipment\": \"32bba7423e5f3feca\",\n \"channelId\": 1\n}"
},
"url": "{{gateway-user}}/app/login"
},
"response": []
},
{
"name": "插入车辆信息",
"event": [
{
"listen": "test",
"script": {
"id": "587ed404-61d0-469c-af27-f160ecde9086",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"carNum\": \"粤EL618T\"\n}"
},
"url": "{{gateway-user}}/car/add"
},
"response": []
},
{
"name": "查询车辆信息",
"event": [
{
"listen": "test",
"script": {
"id": "0006e6d5-1003-41a7-bd14-d67dad69a384",
"type": "text/javascript",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"",
"if(jsonData.data !== null || jsonData.data !==\"\")",
"{",
" tests[\"list\"] = true;",
" postman.setEnvironmentVariable(\"user_id\",jsonData.data.list[0].id);",
" postman.setEnvironmentVariable(\"carNum\",jsonData.data.list[0].carNum);",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
]
}
}
],
"request": {
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"code\": \"粤EL618T\"\n}"
},
"url": {
"raw": "{{gateway-user}}/car/getpagebyid?p=1&c=10",
"host": [
"{{gateway-user}}"
],
"path": [
"car",
"getpagebyid"
],
"query": [
{
"key": "p",
"value": "1"
},
{
"key": "c",
"value": "10"
}
]
}
},
"response": []
},
{
"name": "删除车辆",
"event": [
{
"listen": "test",
"script": {
"id": "587ed404-61d0-469c-af27-f160ecde9086",
"exec": [
"var jsonData = JSON.parse(responseBody);",
"if(jsonData.code === \"0\")",
"{",
" tests[\"code\"] = true;",
"}",
"else{",
" console.log(\"接口返回错误:\"+jsonData.msg);",
" tests[\"code\"+jsonData.msg]=false;",
"}",
""
],
"type": "text/javascript"
}
}
],
"request": {
"method": "DELETE",
"header": [
{
"key": "Content-Type",
"value": "application/json"
},
{
"key": "access-token",
"value": "{{access-Token}}"
}
],
"body": {
"mode": "raw",
"raw": "{\n \"code\": {{carNum}}\n}"
},
"url": {
"raw": "{{gateway-user}}/car/delete?id={{user_id}}",
"host": [
"{{gateway-user}}"
],
"path": [
"car",
"delete"
],
"query": [
{
"key": "id",
"value": "{{user_id}}"
}
]
}
},
"response": []
}
]
}
\ No newline at end of file
{
{
"id": "fd505054-9161-45c9-911f-61a01261d0da",
"name": "车辆管理_manage",
"values": [
{
"key": "user_phone",
"value": "\"18670340158\"",
"enabled": true,
"type": "text"
},
{
"key": "userPassword",
"value": "\"123456\"",
"enabled": true,
"type": "text"
},
{
"key": "gateway-user",
"value": "https://usergwtest.bgycc.com",
"enabled": true,
"type": "text"
},
{
"key": "access-Token",
"value": "4a6bd58b8ac044ce96555c6c02e4d3c0",
"enabled": true,
"type": "text"
}
],
"_postman_variable_scope": "environment",
"_postman_exported_at": "2019-05-28T08:49:50.709Z",
"_postman_exported_using": "Postman/6.1.4"
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment