Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-support-rlwx
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
rl
hls-support-rlwx
Commits
a0761508
Commit
a0761508
authored
Apr 15, 2022
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
招行聚合支付
parent
b5d9513a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
124 additions
and
0 deletions
+124
-0
HclcCmbPolyController.java
.../main/java/com/cmb/controllers/HclcCmbPolyController.java
+124
-0
No files found.
core/src/main/java/com/cmb/controllers/HclcCmbPolyController.java
0 → 100644
View file @
a0761508
/**
* Copyright (C), 2018-2021
* FileName: HclcChinaPayController
* Author: lsy
* Date: 2021/12/8 14:40
* Description:
* History:
* <author> <time> <version> <desc>
* lishuangyi 修改时间 版本号 描述
*/
package
com
.
cmb
.
controllers
;
import
com.alibaba.fastjson.JSONObject
;
import
com.chinapay.service.IHclcChinaPayService
;
import
com.hand.hap.core.IRequest
;
import
com.hand.hap.system.controllers.BaseController
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Controller
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.ResponseBody
;
import
javax.servlet.http.HttpServletRequest
;
/*
* 〈〉
*
* @author 27214
* @create 2021/12/8
* @since 1.0.0
*/
@Controller
@RequestMapping
(
value
=
{
"/r/api"
,
"/"
})
public
class
HclcCmbPolyController
extends
BaseController
{
@Autowired
IHclcChinaPayService
hclcChinaPayService
;
/**
* 4.4签约短信接口
*
* @param request
* @param params 4.4签约短信接口
* @return Map
*/
@ResponseBody
@RequestMapping
(
"/china/pay/send/sign/message"
)
public
JSONObject
sendSignMessage
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
JSONObject
jsonResult
=
new
JSONObject
();
IRequest
iRequest
=
createRequestContext
(
request
);
jsonResult
=
hclcChinaPayService
.
sendSignMessage
(
iRequest
,
params
);
return
jsonResult
;
}
/**
* 4.5签约接口
*
* @param request
* @param params 4.5签约接口
* @return Map
*/
@ResponseBody
@RequestMapping
(
"/china/pay/send/sign"
)
public
JSONObject
sendSign
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
JSONObject
jsonResult
=
new
JSONObject
();
IRequest
iRequest
=
createRequestContext
(
request
);
jsonResult
=
hclcChinaPayService
.
sendSign
(
iRequest
,
params
);
return
jsonResult
;
}
/**
* 4.9 批量交易文件上传接口
*
* @param request
* @param params 4.9 批量交易文件上传接口
* @return Map
*/
@ResponseBody
@RequestMapping
(
"/china/pay/upload/batch"
)
public
JSONObject
uploadBatch
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
JSONObject
jsonResult
=
new
JSONObject
();
IRequest
iRequest
=
createRequestContext
(
request
);
jsonResult
=
hclcChinaPayService
.
uploadBatch
(
iRequest
,
params
);
return
jsonResult
;
}
/**
* 4.11 批量交易回盘文件内容下载接口
*
* @param request
* @param params 4.11 批量交易回盘文件内容下载接口
* @return Map
*/
@ResponseBody
@RequestMapping
(
"/china/pay/download/batch"
)
public
JSONObject
downloadBatch
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
JSONObject
jsonResult
=
new
JSONObject
();
IRequest
iRequest
=
createRequestContext
(
request
);
jsonResult
=
hclcChinaPayService
.
downloadBatch
(
iRequest
,
params
);
return
jsonResult
;
}
/**
* 4.12 批量交易文件查询接口
*
* @param request
* @param params 4.12 批量交易文件查询接口
* @return Map
*/
@ResponseBody
@RequestMapping
(
"/china/pay/query/batch"
)
public
JSONObject
queryBatch
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
JSONObject
jsonResult
=
new
JSONObject
();
IRequest
iRequest
=
createRequestContext
(
request
);
jsonResult
=
hclcChinaPayService
.
queryBatch
(
iRequest
,
params
);
return
jsonResult
;
}
}
\ No newline at end of file
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