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
0bf171ca
Commit
0bf171ca
authored
Mar 13, 2020
by
renjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
支付宝接口
parent
13c07269
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
AccountController.java
.../browserbackend/account/controller/AccountController.java
+2
-2
AlipayReturnDto.java
...com/edgec/browserbackend/account/dto/AlipayReturnDto.java
+1
-2
No files found.
src/main/java/com/edgec/browserbackend/account/controller/AccountController.java
View file @
0bf171ca
...
@@ -282,8 +282,8 @@ public class AccountController {
...
@@ -282,8 +282,8 @@ public class AccountController {
String
by
=
request
.
getParameter
(
"by"
);
String
by
=
request
.
getParameter
(
"by"
);
AlipayReturnDto
dto
=
paymentService
.
alipayPutPayOrder
(
request
.
getUserPrincipal
().
getName
(),
amount
,
by
);
AlipayReturnDto
dto
=
paymentService
.
alipayPutPayOrder
(
request
.
getUserPrincipal
().
getName
(),
amount
,
by
);
response
.
setContentType
(
"text/html;charset=utf-8"
);
response
.
setContentType
(
"text/html;charset=utf-8"
);
response
.
getWriter
().
println
(
dto
);
response
.
getWriter
().
println
(
dto
.
getForm
()
);
response
.
getWriter
().
println
(
dto
.
getTradeNo
());
}
}
@RequestMapping
(
path
=
"/0xh5wxpayputorder/{amount}"
,
method
=
RequestMethod
.
GET
)
@RequestMapping
(
path
=
"/0xh5wxpayputorder/{amount}"
,
method
=
RequestMethod
.
GET
)
...
...
src/main/java/com/edgec/browserbackend/account/dto/AlipayReturnDto.java
View file @
0bf171ca
...
@@ -27,8 +27,7 @@ public class AlipayReturnDto {
...
@@ -27,8 +27,7 @@ public class AlipayReturnDto {
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"AlipayReturnDto{"
+
return
"{tradeNo='"
+
tradeNo
+
'\''
+
"tradeNo='"
+
tradeNo
+
'\''
+
", form='"
+
form
+
'\''
+
", form='"
+
form
+
'\''
+
'}'
;
'}'
;
}
}
...
...
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