Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Z
zhichan
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
蒋勇
zhichan
Commits
3e1c402f
Commit
3e1c402f
authored
Feb 25, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policySubscribe
parent
f0cd4129
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
70 additions
and
1 deletions
+70
-1
center-channel/app/base/api/impl/action/policy.js
+3
-0
center-channel/app/front/entry/public/apidoc/platform/policy.md
+67
-1
No files found.
center-channel/app/base/api/impl/action/policy.js
View file @
3e1c402f
...
...
@@ -58,6 +58,9 @@ class PolicyAPI extends APIBase {
case
"policyTypeCount"
:
//政策类型统计计数
opResult
=
this
.
policySve
.
reqPolicyApi
(
pobj
);
break
;
case
"policySubscribeQuery"
:
//政策订阅检索列表(通过订阅信息查询订阅的政策信息)
opResult
=
this
.
policySve
.
reqPolicyApi
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/front/entry/public/apidoc/platform/policy.md
View file @
3e1c402f
...
...
@@ -10,6 +10,7 @@
1.
[
取消政策订阅
](
#delPolicysubscribe
)
1.
[
获取政策订阅列表
](
#getPolicysubscribeist
)
1.
[
政策类型统计计数
](
#policyTypeCount
)
1.
[
政策订阅检索列表(通过订阅信息查询订阅的政策信息)
](
#policySubscribeQuery
)
## **<a name="policyQuery"> 政策检索(H5)</a>**
[
返回到目录
](
#menu
)
...
...
@@ -68,7 +69,7 @@
}
```
## **<a name="policyQuery"> 政策检索(根据政策类型检索)</a>**
## **<a name="policy
Type
Query"> 政策检索(根据政策类型检索)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
...
...
@@ -398,4 +399,69 @@
"requestId"
:
"bed42cc870b04a879d485a9f501df8a1"
}
```
## **<a name="policySubscribeQuery"> 政策订阅检索列表(通过订阅信息查询订阅的政策信息)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:policySubscribeQuery
```
javascript
{
"actionType"
:
"policySubscribeQuery"
,
"actionBody"
:{
"openid"
:
"test001"
,
"policySubscribeId"
:
"2"
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:[
{
"id"
:
106
,
"policyType"
:
"jrdk"
,
"policyTypeName"
:
"金融贷款"
,
"policyDate"
:
null
,
"policyCity"
:
"北京市"
,
"policyProvince"
:
"北京市"
,
"policyLinkUrl"
:
"http://www.beijing.gov.cn/zhengce/zhengcefagui/202002/t20200206_1625493.html"
,
"policySource"
:
"京政办发〔2020〕7号"
,
"policyName"
:
"促进中小微企业持续健康发展的若干措施"
,
"policyNo"
:
"bj001"
},
{
"id"
:
107
,
"policyType"
:
"fzbt"
,
"policyTypeName"
:
"租金减免"
,
"policyDate"
:
null
,
"policyCity"
:
"北京市"
,
"policyProvince"
:
"北京市"
,
"policyLinkUrl"
:
"http://www.beijing.gov.cn/zhengce/zhengcefagui/202002/t20200206_1625493.html"
,
"policySource"
:
"京政办发〔2020〕7号"
,
"policyName"
:
"促进中小微企业持续健康发展的若干措施"
,
"policyNo"
:
"bj001"
},
{
"id"
:
111
,
"policyType"
:
"jrdk"
,
"policyTypeName"
:
"金融贷款"
,
"policyDate"
:
null
,
"policyCity"
:
"北京市"
,
"policyProvince"
:
"北京市"
,
"policyLinkUrl"
:
"http://www.beijing.gov.cn/zhengce/zhengcefagui/202002/t20200203_1622987.html"
,
"policySource"
:
"京政办发〔2020〕5号"
,
"policyName"
:
"北京市政府关于进一步支持打好肺炎疫情防控阻击战若干措施"
,
"policyNo"
:
"bj006"
},
........
],
"requestId"
:
"7c7b8cea10ba4d42975bd44f1182c37c"
}
```
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment