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
5965c219
Commit
5965c219
authored
May 31, 2022
by
5359
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
订单结果查询接口代码调整
parent
43d19182
Changes
8
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
252 additions
and
206 deletions
+252
-206
pom.xml
core/pom.xml
+0
-1
HlsEbankCcbTransactionServiceImpl.java
...napay/service/impl/HlsEbankCcbTransactionServiceImpl.java
+0
-21
HclcCmbPolyListenController.java
...hand/app/cmb/controllers/HclcCmbPolyListenController.java
+3
-3
HclcCmbPolyService.java
...ain/java/com/hand/app/cmb/service/HclcCmbPolyService.java
+1
-1
IHlsEbankCmbTransqryService.java
...com/hand/app/cmb/service/IHlsEbankCmbTransqryService.java
+15
-0
HclcCmbPolyServiceImpl.java
...com/hand/app/cmb/service/impl/HclcCmbPolyServiceImpl.java
+200
-180
HlsEbankCmbTransqryServiceImpl.java
.../app/cmb/service/impl/HlsEbankCmbTransqryServiceImpl.java
+18
-0
Utils.java
core/src/main/java/com/hand/app/cmb/util/Utils.java
+15
-0
No files found.
core/pom.xml
View file @
5965c219
...
...
@@ -264,7 +264,6 @@
<groupId>
org.bouncycastle
</groupId>
<artifactId>
bcprov-jdk15on
</artifactId>
<version>
1.65.01
</version>
<!-- <version>1.47</version>-->
<scope>
system
</scope>
<systemPath>
${project.basedir}/src/main/webapp/WEB-INF/lib/bcprov-jdk15on-1.65.01.jar
...
...
core/src/main/java/com/chinapay/service/impl/HlsEbankCcbTransactionServiceImpl.java
View file @
5965c219
package
com
.
chinapay
.
service
.
impl
;
import
com.alibaba.fastjson.JSONObject
;
import
com.chinapay.comm.Constants
;
import
com.chinapay.dto.HclcCupSignInfo
;
import
com.chinapay.dto.HlsEbankCcbTransaction
;
import
com.chinapay.dto.HlsWsConfig
;
import
com.chinapay.mapper.HclcCupSignInfoMapper
;
import
com.chinapay.mapper.HlsEbankCcbTransactionMapper
;
import
com.chinapay.mapper.HlsWsConfigMapper
;
import
com.chinapay.secss.SecssConstants
;
import
com.chinapay.secss.SecssUtil
;
import
com.chinapay.service.IHclcChinaPayService
;
import
com.chinapay.service.IHlsEbankCcbTransactionService
;
import
com.chinapay.util.HttpUtils
;
import
com.chinapay.util.StringUtil
;
import
com.hand.app.zhongDengWang.dto.HlsWsRequests
;
import
com.hand.app.zhongDengWang.mapper.HlsWsRequestsMapper
;
import
com.hand.hap.core.IRequest
;
import
com.hand.hap.intergration.service.IHapInterfaceHeaderService
;
import
com.hand.hap.system.service.impl.BaseServiceImpl
;
import
org.apache.commons.codec.binary.Base64
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.stereotype.Service
;
import
java.io.*
;
...
...
core/src/main/java/com/hand/app/cmb/controllers/HclcCmbPolyListenController.java
View file @
5965c219
...
...
@@ -41,9 +41,9 @@ public class HclcCmbPolyListenController extends BaseController {
* @return
*/
@ResponseBody
@RequestMapping
(
"
core
/api/public/cmb/get/qr/code/listen"
)
public
Map
<
String
,
String
>
orderStatusNotify
(
HttpServletRequest
request
,
@RequestBody
(
required
=
true
)
JSONObject
params
)
{
@RequestMapping
(
"/api/public/cmb/get/qr/code/listen"
)
public
JSONObject
orderStatusNotify
(
HttpServletRequest
request
,
@RequestBody
String
params
)
{
IRequest
iRequest
=
createRequestContext
(
request
);
return
hclcCmbPolyService
.
orderNotify
(
iRequest
,
params
);
...
...
core/src/main/java/com/hand/app/cmb/service/HclcCmbPolyService.java
View file @
5965c219
...
...
@@ -11,7 +11,7 @@ public interface HclcCmbPolyService {
JSONObject
queryOrderStatus
(
IRequest
iRequest
,
JSONObject
params
);
Map
orderNotify
(
IRequest
iRequest
,
JSONObject
params
);
JSONObject
orderNotify
(
IRequest
iRequest
,
String
params
);
JSONObject
closeOrder
(
IRequest
iRequest
,
JSONObject
params
);
...
...
core/src/main/java/com/hand/app/cmb/service/IHlsEbankCmbTransqryService.java
0 → 100644
View file @
5965c219
package
com
.
hand
.
app
.
cmb
.
service
;
import
com.hand.app.cmb.dto.HlsEbankCmbTransqry
;
import
com.hand.hap.core.ProxySelf
;
import
com.hand.hap.system.service.IBaseService
;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
public
interface
IHlsEbankCmbTransqryService
extends
IBaseService
<
HlsEbankCmbTransqry
>,
ProxySelf
<
IHlsEbankCmbTransqryService
>
{
}
core/src/main/java/com/hand/app/cmb/service/impl/HclcCmbPolyServiceImpl.java
View file @
5965c219
This diff is collapsed.
Click to expand it.
core/src/main/java/com/hand/app/cmb/service/impl/HlsEbankCmbTransqryServiceImpl.java
0 → 100644
View file @
5965c219
package
com
.
hand
.
app
.
cmb
.
service
.
impl
;
import
com.chinapay.service.IHlsEbankCcbTransactionService
;
import
com.hand.app.cmb.dto.HlsEbankCmbTransqry
;
import
com.hand.app.cmb.service.IHlsEbankCmbTransqryService
;
import
com.hand.hap.system.service.impl.BaseServiceImpl
;
import
org.springframework.stereotype.Service
;
/**
* Created with IntelliJ IDEA.
* User: lsy
* Date: 2020/2/24
* Time: 9:08
*/
@Service
public
class
HlsEbankCmbTransqryServiceImpl
extends
BaseServiceImpl
<
HlsEbankCmbTransqry
>
implements
IHlsEbankCmbTransqryService
{
}
\ No newline at end of file
core/src/main/java/com/hand/app/cmb/util/Utils.java
View file @
5965c219
...
...
@@ -171,6 +171,21 @@ public class Utils {
return
paramMap
;
}
public
static
Map
<
String
,
String
>
str2Map
(
String
str
)
{
Map
<
String
,
String
>
result
=
new
HashMap
<>();
String
[]
results
=
str
.
split
(
"&"
);
if
(
results
!=
null
&&
results
.
length
>
0
)
{
for
(
int
var
=
0
;
var
<
results
.
length
;
++
var
)
{
String
pair
=
results
[
var
];
String
[]
kv
=
pair
.
split
(
"="
,
2
);
if
(
kv
!=
null
&&
kv
.
length
==
2
)
{
result
.
put
(
kv
[
0
],
kv
[
1
]);
}
}
}
return
result
;
}
/**
* 加载properties配置文件
* @param propPath
...
...
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