Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
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
youjj
cloud-platform
Commits
80bf3a92
Commit
80bf3a92
authored
Oct 15, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增转账接口
parent
5a6e7f81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
AppUserAlipayBiz.java
...m/github/wxiaoqi/security/admin/biz/AppUserAlipayBiz.java
+2
-2
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserAlipayBiz.java
View file @
80bf3a92
...
@@ -93,7 +93,7 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
...
@@ -93,7 +93,7 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
if
(
StringUtils
.
isNotBlank
(
result
))
{
if
(
StringUtils
.
isNotBlank
(
result
))
{
log
.
info
(
"【支付宝】用户授权获取用户token, {}"
,
result
);
log
.
info
(
"【支付宝】用户授权获取用户token, {}"
,
result
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
if
(
jsonObject
!=
null
&&
jsonObject
.
getString
(
"code"
)
!=
null
&&
jsonObject
.
getString
(
"code"
).
equals
(
"10000"
)
)
{
if
(
jsonObject
.
getJSONObject
(
"error_response"
)
==
null
)
{
String
account
=
jsonObject
.
getString
(
"userId"
);
String
account
=
jsonObject
.
getString
(
"userId"
);
if
(
account
!=
null
)
{
if
(
account
!=
null
)
{
appUserAlipay
.
setTxAlipay
(
account
);
appUserAlipay
.
setTxAlipay
(
account
);
...
@@ -108,7 +108,7 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
...
@@ -108,7 +108,7 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
insertSelectiveRe
(
appUserAlipay
);
insertSelectiveRe
(
appUserAlipay
);
return
ObjectRestResponse
.
succ
();
return
ObjectRestResponse
.
succ
();
}
else
{
}
else
{
return
ObjectRestResponse
.
createFailedResult
(
Integer
.
parseInt
(
jsonObject
.
get
String
(
"code"
)),
jsonObject
.
getString
(
"sub_msg"
));
return
ObjectRestResponse
.
createFailedResult
(
Integer
.
parseInt
(
jsonObject
.
get
JSONObject
(
"error_response"
).
getString
(
"code"
)),
jsonObject
.
getJSONObject
(
"error_response"
)
.
getString
(
"sub_msg"
));
}
}
}
}
return
ObjectRestResponse
.
createDefaultFail
();
return
ObjectRestResponse
.
createDefaultFail
();
...
...
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