Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
J
jiwei-api
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
马天浩
jiwei-api
Commits
5bdc4a2c
Commit
5bdc4a2c
authored
Apr 07, 2021
by
matianhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[瑞成接口] <feat> 接入接口
- 七十九.浙江杭州民政局社会救助档案信息查询
parent
5202f30d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
53 additions
and
4 deletions
+53
-4
RequestController.java
...a/com/mth/requestsecret/controller/RequestController.java
+10
-4
SeventyNineParamVO.java
.../mth/requestsecret/vo/shuguanjuvo/SeventyNineParamVO.java
+43
-0
No files found.
src/main/java/com/mth/requestsecret/controller/RequestController.java
View file @
5bdc4a2c
...
...
@@ -1399,15 +1399,21 @@ public class RequestController {
* @param param
* @return
*/
@PostMapping
(
"/79"
)
public
ResponseEntity
<
String
>
method79
(
BaseParamVO
param
)
{
// TODO: 2020/9/2 [matianhao] 缺少请求地址
@PostMapping
(
"/mzjshjzdaxxcx"
)
public
ResponseEntity
<
String
>
mzjshjzdaxxcx
(
SeventyNineParamVO
param
)
{
// api签名
String
apiMethod
=
"m
ethod
.action"
;
String
apiMethod
=
"m
zjshjzdaxxcx
.action"
;
// api参数
MultiValueMap
<
String
,
Object
>
paramMap
=
new
LinkedMultiValueMap
<>();
paramMap
.
add
(
"name"
,
param
.
getUserName
());
paramMap
.
add
(
"cardId"
,
param
.
getIdCard
());
paramMap
.
add
(
"userName"
,
param
.
getCallerUserName
());
paramMap
.
add
(
"userCode"
,
param
.
getCallerUserCode
());
paramMap
.
add
(
"idCard"
,
param
.
getCallerIdCard
());
paramMap
.
add
(
"orgCode"
,
param
.
getCallerOrgCode
());
paramMap
.
add
(
"orgName"
,
param
.
getCallerOrgName
());
paramMap
.
add
(
"bizCode"
,
param
.
getBizCode
());
paramMap
.
add
(
"bizName"
,
param
.
getBizName
());
paramMap
.
add
(
"additional"
,
param
.
getAdditional
());
return
restTemplateService
.
commonSendRequest
(
paramMap
,
apiMethod
);
}
...
...
src/main/java/com/mth/requestsecret/vo/shuguanjuvo/SeventyNineParamVO.java
0 → 100644
View file @
5bdc4a2c
package
com
.
mth
.
requestsecret
.
vo
.
shuguanjuvo
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
/**
* @author MaTianHao
* @date 2021/4/7
*/
@EqualsAndHashCode
(
callSuper
=
true
)
@Data
public
class
SeventyNineParamVO
extends
BaseParamVO
{
/**
* 调用者用户名
*/
private
String
callerUserName
;
/**
* 调用者用户code
*/
private
String
callerUserCode
;
/**
* 调用者身份证号
*/
private
String
callerIdCard
;
/**
* 调用者组织code
*/
private
String
callerOrgCode
;
/**
* 调用者组织名称
*/
private
String
callerOrgName
;
/**
* 业务系统编码
*/
private
String
bizCode
;
/**
* 业务系统名称
*/
private
String
bizName
;
}
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