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
39a1252b
Commit
39a1252b
authored
Feb 11, 2020
by
庄冰
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
policy notes
parent
cda82422
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
4 deletions
+44
-4
center-channel/app/base/api/impl/action/policy.js
+3
-0
center-channel/app/base/service/impl/policy/policySve.js
+6
-0
center-channel/app/config/routes/api.js
+1
-1
center-channel/app/front/entry/public/apidoc/platform/policy.md
+34
-3
No files found.
center-channel/app/base/api/impl/action/policy.js
View file @
39a1252b
...
...
@@ -37,6 +37,9 @@ class PolicyAPI extends APIBase {
case
"getPolicyNeedList"
:
//政策需求列表
opResult
=
this
.
policySve
.
getPolicyNeedList
(
pobj
);
break
;
case
"submitPolicyNeedNotes"
:
//申请信息备注提交
opResult
=
this
.
policySve
.
submitPolicyNeedNotes
(
pobj
);
break
;
default
:
opResult
=
system
.
getResult
(
null
,
"action_type参数错误"
);
break
;
...
...
center-channel/app/base/service/impl/policy/policySve.js
View file @
39a1252b
...
...
@@ -23,5 +23,11 @@ class PolicyService{
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
async
submitPolicyNeedNotes
(
pobj
){
var
url
=
this
.
centerOrderUrl
+
"action/policy/springBoard"
;
var
rtn
=
await
this
.
execClient
.
execPost
(
pobj
,
url
);
var
data
=
JSON
.
parse
(
rtn
.
stdout
);
return
data
;
}
}
module
.
exports
=
PolicyService
;
center-channel/app/config/routes/api.js
View file @
39a1252b
...
...
@@ -45,7 +45,7 @@ module.exports = function (app) {
"tmConfirm"
,
"updateTmInfo"
,
"updateNclInfo"
,
"updateContacts"
,
"updateCustomerInfo"
,
"addOrderAndDelivery"
,
"updateOrderPayStatus"
,
"getPolicyNeedList"
"updateOrderPayStatus"
,
"getPolicyNeedList"
,
"submitPolicyNeedNotes"
];
if
(
lst
.
indexOf
(
req
.
body
.
actionType
)
>=
0
)
{
var
userpin
=
req
.
headers
[
"userpin"
]
||
""
;
...
...
center-channel/app/front/entry/public/apidoc/platform/policy.md
View file @
39a1252b
...
...
@@ -3,8 +3,9 @@
1.
[
政策检索
](
#policyQuery
)
1.
[
政策申请提报
](
#submitPolicyNeed
)
1.
[
政策需求列表
](
#getPolicyNeedList
)
1.
[
需求信息备注提交
](
#submitPolicyNeedNotes
)
## **<a name="policyQuery"> 政策检索</a>**
## **<a name="policyQuery"> 政策检索
(H5)
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
...
...
@@ -61,7 +62,7 @@
}
```
## **<a name="submitPolicyNeed"> 政策申请提报</a>**
## **<a name="submitPolicyNeed"> 政策申请提报
(H5)
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
...
...
@@ -93,7 +94,7 @@
"requestId"
:
"6afebe73d2fa47dbb2dd451468b4e3ac"
}
```
## **<a name="getPolicyNeedList"> 政策需求列表</a>**
## **<a name="getPolicyNeedList"> 政策需求列表
(后台页面)
</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
...
...
@@ -153,3 +154,33 @@
"requestId"
:
"de04d31de8114cc78b5257c59ea31355"
}
```
## **<a name="submitPolicyNeedNotes"> 需求信息备注提交(后台页面)</a>**
[
返回到目录
](
#menu
)
##### URL
[
/web/action/policy/springBoard
]
#### 参数格式 `JSON`
#### HTTP请求方式 `POST`
#### 渠道执行的类型 actionType:submitPolicyNeedNotes
```
javascript
{
"actionType"
:
"submitPolicyNeedNotes"
,
"actionBody"
:
{
"needId"
:
"17"
,
"customerIntention"
:
"wyx"
,
"intentionContent"
:
"补办了"
}
}
```
#### 返回结果
```
javascript
{
"status"
:
0
,
"msg"
:
"success"
,
"data"
:
null
,
"requestId"
:
"0a4483b9b7ca4594b1bfc487d49746d2"
}
```
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