Commit 815db2e0 by zhangjingdong

添加资讯

parent 3ab7d57a
No preview for this file type
...@@ -2,13 +2,7 @@ ...@@ -2,13 +2,7 @@
<project version="4"> <project version="4">
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="243b24f3-3df7-4c72-bf73-8de81d5ca458" name="Default" comment=""> <list default="true" id="243b24f3-3df7-4c72-bf73-8de81d5ca458" name="Default" comment="">
<change beforePath="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/企业墙/企业墙.postman_collection.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/企业墙/企业墙.postman_collection.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" afterDir="false" /> <change beforePath="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/推荐位/推荐位_manage.postman_environment.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/推荐位/推荐位_manage.postman_environment.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json" afterDir="false" />
<change beforePath="$PROJECT_DIR$/碧合app/活动/活动_manage.postman_environment.json" beforeDir="false" afterPath="$PROJECT_DIR$/碧合app/活动/活动_manage.postman_environment.json" afterDir="false" />
</list> </list>
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" /> <option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
<option name="TRACKING_ENABLED" value="true" /> <option name="TRACKING_ENABLED" value="true" />
...@@ -22,11 +16,11 @@ ...@@ -22,11 +16,11 @@
</component> </component>
<component name="FileEditorManager"> <component name="FileEditorManager">
<leaf SIDE_TABS_SIZE_LIMIT_KEY="300"> <leaf SIDE_TABS_SIZE_LIMIT_KEY="300">
<file leaf-file-name="execute_automation_scripts.py" pinned="false" current-in-tab="true"> <file leaf-file-name="execute_automation_scripts.py" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"> <entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="216"> <state relative-caret-position="198">
<caret line="12" column="58" lean-forward="true" selection-start-line="12" selection-start-column="58" selection-end-line="12" selection-end-column="58" /> <caret line="11" column="37" lean-forward="true" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="37" />
<folding> <folding>
<element signature="e#18#29#0" expanded="true" /> <element signature="e#18#29#0" expanded="true" />
</folding> </folding>
...@@ -52,16 +46,20 @@ ...@@ -52,16 +46,20 @@
</provider> </provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="广场圈子_manage.postman_environment.json" pinned="false" current-in-tab="false"> <file leaf-file-name="广场圈子_manage.postman_environment.json" pinned="false" current-in-tab="true">
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子_manage.postman_environment.json"> <entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子_manage.postman_environment.json">
<provider selected="true" editor-type-id="text-editor" /> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126">
<caret line="7" column="27" lean-forward="true" selection-start-line="7" selection-start-column="27" selection-end-line="7" selection-end-column="27" />
</state>
</provider>
</entry> </entry>
</file> </file>
<file leaf-file-name="广场圈子.postman_collection.json" pinned="false" current-in-tab="false"> <file leaf-file-name="广场圈子.postman_collection.json" pinned="false" current-in-tab="false">
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json"> <entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4067"> <state relative-caret-position="54">
<caret line="1294" column="68" selection-start-line="1294" selection-start-column="68" selection-end-line="1294" selection-end-column="68" /> <caret line="3" column="19" selection-start-line="3" selection-start-column="19" selection-end-line="3" selection-end-column="19" />
</state> </state>
</provider> </provider>
</entry> </entry>
...@@ -126,9 +124,9 @@ ...@@ -126,9 +124,9 @@
<option value="$PROJECT_DIR$/碧合app/活动/活动_manage.postman_environment.json" /> <option value="$PROJECT_DIR$/碧合app/活动/活动_manage.postman_environment.json" />
<option value="$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json" /> <option value="$PROJECT_DIR$/碧合app/活动/活动.postman_collection.json" />
<option value="$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json" /> <option value="$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json" />
<option value="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" />
<option value="$PROJECT_DIR$/碧合app/企业墙/企业墙.postman_collection.json" /> <option value="$PROJECT_DIR$/碧合app/企业墙/企业墙.postman_collection.json" />
<option value="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" /> <option value="$PROJECT_DIR$/碧合app/execute_automation_scripts.py" />
<option value="$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json" />
</list> </list>
</option> </option>
</component> </component>
...@@ -261,11 +259,11 @@ ...@@ -261,11 +259,11 @@
<window_info anchor="bottom" id="TODO" order="6" /> <window_info anchor="bottom" id="TODO" order="6" />
<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 active="true" anchor="bottom" id="Run" order="2" visible="true" weight="0.32969698" /> <window_info anchor="bottom" id="Run" order="2" visible="true" weight="0.32969698" />
<window_info anchor="bottom" id="Version Control" order="7" /> <window_info anchor="bottom" id="Version Control" order="7" />
<window_info anchor="bottom" id="Python Console" order="7" /> <window_info anchor="bottom" id="Python Console" order="7" />
<window_info anchor="bottom" id="Terminal" order="7" weight="0.32969698" /> <window_info anchor="bottom" id="Terminal" order="7" weight="0.32969698" />
<window_info content_ui="combo" id="Project" order="0" visible="true" weight="0.2639485" /> <window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.2639485" />
<window_info anchor="bottom" id="Docker" order="7" show_stripe_button="false" /> <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" />
...@@ -374,9 +372,6 @@ ...@@ -374,9 +372,6 @@
<entry file="file://$PROJECT_DIR$/碧合app/.html.html" /> <entry file="file://$PROJECT_DIR$/碧合app/.html.html" />
<entry file="file://$PROJECT_DIR$/碧合app/活动2018-11-27_20:00:34.html" /> <entry file="file://$PROJECT_DIR$/碧合app/活动2018-11-27_20:00:34.html" />
<entry file="file://$PROJECT_DIR$/碧合app/活动2018-11-28_09:34:00.html" /> <entry file="file://$PROJECT_DIR$/碧合app/活动2018-11-28_09:34:00.html" />
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子_manage.postman_environment.json">
<provider selected="true" editor-type-id="text-editor" />
</entry>
<entry file="file://$PROJECT_DIR$/碧合app/推荐位/推荐位_manage.postman_environment.json"> <entry file="file://$PROJECT_DIR$/碧合app/推荐位/推荐位_manage.postman_environment.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="324"> <state relative-caret-position="324">
...@@ -391,13 +386,6 @@ ...@@ -391,13 +386,6 @@
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="4067">
<caret line="1294" column="68" selection-start-line="1294" selection-start-column="68" selection-end-line="1294" selection-end-column="68" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json"> <entry file="file://$PROJECT_DIR$/碧合app/推荐位/推荐位.postman_collection.json">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="337"> <state relative-caret-position="337">
...@@ -421,13 +409,27 @@ ...@@ -421,13 +409,27 @@
</entry> </entry>
<entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py"> <entry file="file://$PROJECT_DIR$/碧合app/execute_automation_scripts.py">
<provider selected="true" editor-type-id="text-editor"> <provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="216"> <state relative-caret-position="198">
<caret line="12" column="58" lean-forward="true" selection-start-line="12" selection-start-column="58" selection-end-line="12" selection-end-column="58" /> <caret line="11" column="37" lean-forward="true" selection-start-line="11" selection-start-column="37" selection-end-line="11" selection-end-column="37" />
<folding> <folding>
<element signature="e#18#29#0" expanded="true" /> <element signature="e#18#29#0" expanded="true" />
</folding> </folding>
</state> </state>
</provider> </provider>
</entry> </entry>
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子.postman_collection.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="54">
<caret line="3" column="19" selection-start-line="3" selection-start-column="19" selection-end-line="3" selection-end-column="19" />
</state>
</provider>
</entry>
<entry file="file://$PROJECT_DIR$/碧合app/广场圈子/广场圈子_manage.postman_environment.json">
<provider selected="true" editor-type-id="text-editor">
<state relative-caret-position="126">
<caret line="7" column="27" lean-forward="true" selection-start-line="7" selection-start-column="27" selection-end-line="7" selection-end-column="27" />
</state>
</provider>
</entry>
</component> </component>
</project> </project>
\ No newline at end of file
No preview for this file type
{ {
{ {
"info": { "info": {
"_postman_id": "1b88a215-5865-4eb5-8adf-5b5930aa07ba", "_postman_id": "1b88a215-5865-4eb5-8adf-5b5930aa07ba",
"name": "科技小镇圈子", "name": "广场圈子",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json" "schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
}, },
"item": [ "item": [
......
{
{
"variables": [],
"info": {
"name": "资讯",
"_postman_id": "0b136222-ee66-0a10-9241-df880eea79e8",
"description": "",
"schema": "https://schema.getpostman.com/json/collection/v2.0.0/collection.json"
},
"item": [
{
"name": "用户登录",
"event": [
{
"listen": "test",
"script": {
"type": "text/javascript",
"exec": [
"var jsonData =JSON.parse(responseBody);//获取body中返回的所有参数\r",
"postman.setEnvironmentVariable(\"accessToken\",jsonData.data.accessToken);//把返回参数中的keys设置为环境变量\r",
""
]
}
}
],
"request": {
"url": "https://usergwtest.bgycc.com/app/login",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {
"mode": "raw",
"raw": "{\r\n \"channelId\":4,\r\n \"equipment\": \"9999\",\r\n \"userPassword\": \"123456\",\r\n \"userPhone\": \"18027365045\"\r\n}"
},
"description": ""
},
"response": []
},
{
"name": "按照时间顺序查询所有新闻",
"request": {
"url": "https://operationgwtest.bgycc.com/manager/news/list/order/by/time/1?p=1&c=10",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
}
],
"body": {},
"description": ""
},
"response": []
},
{
"name": "根据小镇id,查看启用的新闻分类,以及新闻列表",
"request": {
"url": "{{user_url}}manager/news/getstartnewsclassifylist/townid/1",
"method": "GET",
"header": [
{
"key": "Content-Type",
"value": "application/x-www-form-urlencoded",
"description": ""
},
{
"key": "townid",
"value": "{{townid}}",
"description": ""
}
],
"body": {},
"description": ""
},
"response": []
},
{
"name": "通过ID获取新闻",
"request": {
"url": "{{user_url}}app/news/{id}",
"method": "POST",
"header": [
{
"key": "Content-Type",
"value": "application/json",
"description": ""
}
],
"body": {},
"description": ""
},
"response": []
},
{
"name": "通过小镇id获取新闻配置方式",
"request": {
"url": "",
"method": "GET",
"header": [],
"body": {},
"description": ""
},
"response": []
},
{
"name": "临时获取潼湖的新闻接口",
"request": {
"url": "",
"method": "GET",
"header": [],
"body": {},
"description": ""
},
"response": []
}
]
}
\ No newline at end of file
{
{
"id": "38fa6631-a35b-b05e-dd44-8b71e729364b",
"name": "资讯_manage",
"values": [
{
"key": "townId",
"value": "1",
"enabled": true,
"type": "text"
},
{
"key": "usermane",
"value": "hrf",
"enabled": true,
"type": "text"
},
{
"key": "password",
"value": "123456",
"enabled": true,
"type": "text"
},
{
"key": "user_url",
"value": "https://usergwtest.bgycc.com/",
"enabled": true,
"type": "text"
},
{
"key": "id",
"value": "12",
"enabled": true,
"type": "text"
},
{
"key": "access-Token",
"value": "7563606acd1844f9ab6b45d9eaccb1dc",
"enabled": true,
"type": "text"
},
{
"key": "newid",
"value": "15",
"enabled": true,
"type": "text"
}
],
"timestamp": 1545201648859,
"_postman_variable_scope": "environment",
"_postman_exported_at": "2018-12-19T08:07:30.330Z",
"_postman_exported_using": "Postman/4.9.3"
}
\ 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