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
e938b3af
Commit
e938b3af
authored
Feb 21, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policyTypeCount
parent
1fa3bd42
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
37 additions
and
1 deletions
+37
-1
center-channel/app/base/api/impl/action/policy.js
+3
-0
center-channel/app/front/entry/public/apidoc/platform/policy.md
+34
-1
No files found.
center-channel/app/base/api/impl/action/policy.js
View file @
e938b3af
...
...
@@ -52,6 +52,9 @@ class PolicyAPI extends APIBase {
case
"getPolicysubscribeList"
:
//获取政策订阅列表
opResult
=
this
.
policySve
.
reqPolicyApi
(
pobj
);
break
;
case
"policyTypeCount"
:
//政策类型统计计数
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 @
e938b3af
...
...
@@ -8,6 +8,7 @@
1.
[
提交政策订阅
](
#submitPolicysubscribe
)
1.
[
取消政策订阅
](
#delPolicysubscribe
)
1.
[
获取政策订阅列表
](
#getPolicysubscribeist
)
1.
[
政策类型统计计数
](
#policyTypeCount
)
## **<a name="policyQuery"> 政策检索(H5)</a>**
[
返回到目录
](
#menu
)
...
...
@@ -274,7 +275,6 @@
"requestId"
:
"6528d103010d406eaa91a2d391df4463"
}
```
## **<a name="getPolicysubscribeist"> 获取政策订阅列表</a>**
[
返回到目录
](
#menu
)
##### URL
...
...
@@ -309,3 +309,36 @@
}
```
## **<a name="policyTypeCount"> 政策类型统计计数</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:policyTypeCount
```
javascript
{
"actionType"
:
"policyTypeCount"
,
"actionBody"
:{
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:{
"rlzy"
:
144
,
"fzbt"
:
93
,
"jrdk"
:
124
,
"zdfc"
:
152
,
"ssjm"
:
91
},
"requestId"
:
"bed42cc870b04a879d485a9f501df8a1"
}
```
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