Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
237e5ea6
Commit
237e5ea6
authored
Jun 29, 2022
by
huyuchen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
huyc fdd代码提交
parent
0f96a352
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
10 deletions
+9
-10
FddUtil.java
...a/com/yifu/cloud/plus/v1/yifu/archives/utils/FddUtil.java
+9
-10
No files found.
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/utils/FddUtil.java
View file @
237e5ea6
...
...
@@ -37,8 +37,8 @@ public class FddUtil {
//法大大公司角色
public
static
final
String
COMPANY
=
"company"
;
@Autowired
private
FddReqLogService
reqLogService
;
@Autowired
private
FddReqLogService
reqLogService
;
@Autowired
private
RedisTemplate
<
String
,
String
>
stringRedisTemplate
;
...
...
@@ -52,7 +52,6 @@ public class FddUtil {
* @Date: 2021/1/18
* @Description: 法大大请求对象
* @return: com.fadada.api.FadadaApiClient
* @see com.yifu.cloud.v1.hr.basicArchives.utils
**/
public
FadadaApiClient
getFadadaApiClient
()
{
FadadaApiConfig
fadadaApiConfig
=
new
FadadaApiConfig
();
...
...
@@ -87,13 +86,13 @@ public class FddUtil {
}
accessToken
=
data
.
getAccessToken
();
stringValueOperations
.
set
(
accessTokenKey
,
accessToken
,
CommonConstants
.
dingleDigitIntArray
[
2
],
TimeUnit
.
HOURS
);
//记录日志
FddReqLog
fddReqLog
=
new
FddReqLog
();
fddReqLog
.
setReqData
(
"getToken"
);
fddReqLog
.
setResData
(
JSON
.
toJSONString
(
data
));
fddReqLog
.
setMethodName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getMethodName
());
fddReqLog
.
setClassName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getClassName
());
reqLogService
.
save
(
fddReqLog
);
//记录日志
FddReqLog
fddReqLog
=
new
FddReqLog
();
fddReqLog
.
setReqData
(
"getToken"
);
fddReqLog
.
setResData
(
JSON
.
toJSONString
(
data
));
fddReqLog
.
setMethodName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getMethodName
());
fddReqLog
.
setClassName
(
Thread
.
currentThread
().
getStackTrace
()[
1
].
getClassName
());
reqLogService
.
save
(
fddReqLog
);
}
return
accessToken
;
}
...
...
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