Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
caosy
/
fun-golf-service
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
1
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
8f405da3
authored
Sep 18, 2018
by
chongli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
退款证书路径
parent
088004da
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/ctrip/fun/golf/domain/payment/WXUtil.java
src/main/java/com/ctrip/fun/golf/domain/payment/WXUtil.java
View file @
8f405da3
...
...
@@ -214,7 +214,7 @@ public class WXUtil {
public
static
Map
<
String
,
String
>
doRefund
(
String
url
,
String
data
,
String
partner
)
throws
Exception
{
KeyStore
keyStore
=
KeyStore
.
getInstance
(
"PKCS12"
);
URL
url2
=
WXUtil
.
class
.
getClassLoader
().
getResource
(
"apiclient_cert.p12"
);
FileInputStream
instream
=
new
FileInputStream
(
new
File
(
"/opt/apiclient_cert.p12"
));
//P12文件目录
FileInputStream
instream
=
new
FileInputStream
(
new
File
(
url2
.
toURI
()
));
//P12文件目录
try
{
keyStore
.
load
(
instream
,
partner
.
toCharArray
());
}
finally
{
...
...
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