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
adbbe63c
Commit
adbbe63c
authored
Oct 15, 2019
by
jiaorz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增转账接口
parent
884ea18c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
AppUserAlipayBiz.java
...m/github/wxiaoqi/security/admin/biz/AppUserAlipayBiz.java
+4
-3
UserInfoController.java
...xfc/platform/universal/controller/UserInfoController.java
+0
-1
No files found.
ace-modules/ace-admin/src/main/java/com/github/wxiaoqi/security/admin/biz/AppUserAlipayBiz.java
View file @
adbbe63c
...
...
@@ -93,14 +93,15 @@ public class AppUserAlipayBiz extends BaseBiz<AppUserAlipayMapper, AppUserAlipay
if
(
StringUtils
.
isNotBlank
(
result
))
{
log
.
info
(
"【支付宝】用户授权获取用户token, {}"
,
result
);
JSONObject
jsonObject
=
JSONObject
.
parseObject
(
result
);
if
(
jsonObject
.
getJSONObject
(
"error_response"
)
==
null
)
{
String
account
=
jsonObject
.
getString
(
"userId"
);
if
(
jsonObject
.
getJSONObject
(
"error_response"
)
==
null
&&
jsonObject
.
getJSONObject
(
"alipay_user_info_share_response"
)
!=
null
)
{
JSONObject
responseObject
=
jsonObject
.
getJSONObject
(
"alipay_user_info_share_response"
);
String
account
=
responseObject
.
getString
(
"user_id"
);
if
(
account
!=
null
)
{
appUserAlipay
.
setTxAlipay
(
account
);
appUserAlipay
.
setCrtTime
(
new
Date
().
getTime
());
appUserAlipay
.
setIsDel
(
0
);
}
String
nickname
=
jsonObject
.
getString
(
"nickN
ame"
);
String
nickname
=
responseObject
.
getString
(
"nick_n
ame"
);
if
(
nickname
!=
null
)
{
appUserAlipay
.
setNickname
(
nickname
);
}
...
...
xx-universal/xx-universal-server/src/main/java/com/xxfc/platform/universal/controller/UserInfoController.java
View file @
adbbe63c
...
...
@@ -77,7 +77,6 @@ public class UserInfoController {
return
ObjectRestResponse
.
createDefaultFail
();
}
@GetMapping
(
"/app/unauth/getParam"
)
public
ObjectRestResponse
<
String
>
getParam
(
String
apiName
,
String
appName
)
{
return
ObjectRestResponse
.
succ
(
orderPayBiz
.
generateAliPayInfo
(
apiName
,
appName
));
...
...
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