Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
R
rs-cloud-platform
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
周健威
rs-cloud-platform
Commits
c8f77afb
Commit
c8f77afb
authored
Dec 24, 2020
by
unset
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加订单商品信息
parent
69a0378d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
9 deletions
+12
-9
WXPay.java
...va/com/upyuns/platform/rs/universal/weixin/api/WXPay.java
+1
-9
pom.xml
rs-universal/rs-universal-server/pom.xml
+11
-0
No files found.
rs-universal/rs-universal-api/src/main/java/com/upyuns/platform/rs/universal/weixin/api/WXPay.java
View file @
c8f77afb
...
@@ -324,16 +324,8 @@ public class WXPay {
...
@@ -324,16 +324,8 @@ public class WXPay {
String
response_body
=
HTTPUtils
.
post
(
"https://api.mch.weixin.qq.com/pay/unifiedorder"
,
xmlStr
,
String
response_body
=
HTTPUtils
.
post
(
"https://api.mch.weixin.qq.com/pay/unifiedorder"
,
xmlStr
,
"text/xml; charset=UTF-8"
,
"UTF-8"
,
null
,
null
);
"text/xml; charset=UTF-8"
,
"UTF-8"
,
null
,
null
);
log
.
error
(
"response_body====="
+
response_body
);
log
.
error
(
"response_body====="
+
response_body
);
String
mweb_url
=
analysisXML
(
response_body
,
"
mweb
_url"
);
String
mweb_url
=
analysisXML
(
response_body
,
"
code
_url"
);
log
.
error
(
"before->append mweb_url:{},,response_body:{}"
,
mweb_url
,
response_body
);
log
.
error
(
"before->append mweb_url:{},,response_body:{}"
,
mweb_url
,
response_body
);
try
{
mweb_url
+=
"&redirect_url="
+
URLEncoder
.
encode
(
notify_url
+
"&token="
+
token
+
"&payed=1"
,
"UTF-8"
);
}
catch
(
UnsupportedEncodingException
e
)
{
log
.
error
(
e
.
getMessage
(),
e
);;
}
log
.
error
(
"after->append mweb_url:{},isIos:{}"
,
mweb_url
);
return
mweb_url
;
return
mweb_url
;
...
...
rs-universal/rs-universal-server/pom.xml
View file @
c8f77afb
...
@@ -95,6 +95,17 @@
...
@@ -95,6 +95,17 @@
<version>
0.2
</version>
<version>
0.2
</version>
<scope>
compile
</scope>
<scope>
compile
</scope>
</dependency>
</dependency>
<dependency>
<groupId>
jaxen
</groupId>
<artifactId>
jaxen
</artifactId>
<version>
1.1.1
</version>
</dependency>
<dependency>
<groupId>
dom4j
</groupId>
<artifactId>
dom4j
</artifactId>
<version>
1.6.1
</version>
</dependency>
<dependency>
<dependency>
<groupId>
com.fasterxml.jackson.module
</groupId>
<groupId>
com.fasterxml.jackson.module
</groupId>
<artifactId>
jackson-module-jaxb-annotations
</artifactId>
<artifactId>
jackson-module-jaxb-annotations
</artifactId>
...
...
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