Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
browser-backend
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
browser-backend
Commits
0bebe83d
Commit
0bebe83d
authored
Sep 19, 2024
by
chenchao.deng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
更换微信配置
parent
2a6459e0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
PaymentServiceImpl.java
...owserbackend/account/service/impl/PaymentServiceImpl.java
+1
-1
FGLWxConfig.java
...main/java/com/edgec/browserbackend/wxpay/FGLWxConfig.java
+4
-4
No files found.
src/main/java/com/edgec/browserbackend/account/service/impl/PaymentServiceImpl.java
View file @
0bebe83d
...
@@ -292,7 +292,7 @@ public class PaymentServiceImpl implements PaymentService {
...
@@ -292,7 +292,7 @@ public class PaymentServiceImpl implements PaymentService {
// 封装请求 微信支付 的数据
// 封装请求 微信支付 的数据
Map
<
String
,
String
>
data
=
encapsulateDataMap
(
amount
,
internalOrder
,
notifyUrl
,
ourWxPayConfig
);
Map
<
String
,
String
>
data
=
encapsulateDataMap
(
amount
,
internalOrder
,
notifyUrl
,
ourWxPayConfig
);
log
.
info
(
"data:{}"
,
JSONObject
.
toJSONString
(
data
));
// 调用微信支付接口,支付成功后会回调 notifyUrl, 并返回支付结果
// 调用微信支付接口,支付成功后会回调 notifyUrl, 并返回支付结果
WXPay
wxPay
=
new
WXPay
(
ourWxPayConfig
);
WXPay
wxPay
=
new
WXPay
(
ourWxPayConfig
);
Map
<
String
,
String
>
respData
=
wxPay
.
unifiedOrder
(
data
);
Map
<
String
,
String
>
respData
=
wxPay
.
unifiedOrder
(
data
);
...
...
src/main/java/com/edgec/browserbackend/wxpay/FGLWxConfig.java
View file @
0bebe83d
...
@@ -5,17 +5,17 @@ import java.io.InputStream;
...
@@ -5,17 +5,17 @@ import java.io.InputStream;
public
class
FGLWxConfig
extends
WXPayConfig
{
public
class
FGLWxConfig
extends
WXPayConfig
{
@Override
@Override
public
String
getAppID
()
{
public
String
getAppID
()
{
return
"wx
5a3621300bfec508
"
;
return
"wx
916a4651a3646d89
"
;
}
}
@Override
@Override
public
String
getMchID
()
{
public
String
getMchID
()
{
return
"1
553406861
"
;
return
"1
685123963
"
;
}
}
@Override
@Override
public
String
getKey
()
{
public
String
getKey
()
{
return
"
acdkgjef237ckgSriEICRe2408sdjEDC
"
;
return
"
wj0808qwertyuiopasdfghjklzxcvbnm
"
;
}
}
public
int
getHttpConnectTimeoutMs
()
{
public
int
getHttpConnectTimeoutMs
()
{
...
@@ -49,7 +49,7 @@ public class FGLWxConfig extends WXPayConfig {
...
@@ -49,7 +49,7 @@ public class FGLWxConfig extends WXPayConfig {
@Override
@Override
public
String
getBody
()
{
public
String
getBody
()
{
return
"
深圳云穹科技
-用户充值"
;
return
"
无界浏览器
-用户充值"
;
}
}
@Override
@Override
...
...
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