Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gic-platform-auth
Overview
Overview
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
base_platform_enterprise
gic-platform-auth
Commits
0152a733
Commit
0152a733
authored
Aug 18, 2020
by
guojuxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规范
parent
3548f2a6
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
4 deletions
+0
-4
ProviderFilter.java
...ice/src/main/java/com/gic/auth/filter/ProviderFilter.java
+0
-2
AuditorApiServiceImpl.java
...om/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
+0
-1
AuthCodeApiServiceImpl.java
...m/gic/auth/service/outer/impl/AuthCodeApiServiceImpl.java
+0
-1
No files found.
gic-platform-auth-service/src/main/java/com/gic/auth/filter/ProviderFilter.java
View file @
0152a733
...
@@ -8,8 +8,6 @@ import org.apache.dubbo.rpc.*;
...
@@ -8,8 +8,6 @@ import org.apache.dubbo.rpc.*;
public
class
ProviderFilter
implements
Filter
{
public
class
ProviderFilter
implements
Filter
{
@Override
@Override
public
Result
invoke
(
Invoker
<?>
invoker
,
Invocation
invocation
)
throws
RpcException
{
public
Result
invoke
(
Invoker
<?>
invoker
,
Invocation
invocation
)
throws
RpcException
{
System
.
out
.
println
(
"进入自定义filter"
);
System
.
out
.
println
(
RpcContext
.
getContext
().
getAttachments
());
return
invoker
.
invoke
(
invocation
);
return
invoker
.
invoke
(
invocation
);
}
}
}
}
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuditorApiServiceImpl.java
View file @
0152a733
...
@@ -322,7 +322,6 @@ public class AuditorApiServiceImpl implements AuditorApiService {
...
@@ -322,7 +322,6 @@ public class AuditorApiServiceImpl implements AuditorApiService {
private
String
getTempQrCodeUrl
(
Integer
auditorId
)
{
private
String
getTempQrCodeUrl
(
Integer
auditorId
)
{
logger
.
info
(
"生成临时带参二维码 auditorId:{}"
,
auditorId
);
logger
.
info
(
"生成临时带参二维码 auditorId:{}"
,
auditorId
);
System
.
out
.
println
(
config
.
getAppkey
());
ServiceResponse
<
String
>
serviceResponse
=
weixinBaseFunService
.
getTemporaryQRcodeURL
(
config
.
getAppkey
(),
"auditor_"
+
auditorId
,
300
);
ServiceResponse
<
String
>
serviceResponse
=
weixinBaseFunService
.
getTemporaryQRcodeURL
(
config
.
getAppkey
(),
"auditor_"
+
auditorId
,
300
);
if
(
serviceResponse
.
isSuccess
())
{
if
(
serviceResponse
.
isSuccess
())
{
logger
.
info
(
"临时带参二维码生成成功:{}"
,
serviceResponse
.
getResult
());
logger
.
info
(
"临时带参二维码生成成功:{}"
,
serviceResponse
.
getResult
());
...
...
gic-platform-auth-service/src/main/java/com/gic/auth/service/outer/impl/AuthCodeApiServiceImpl.java
View file @
0152a733
...
@@ -43,7 +43,6 @@ public class AuthCodeApiServiceImpl implements AuthCodeApiService {
...
@@ -43,7 +43,6 @@ public class AuthCodeApiServiceImpl implements AuthCodeApiService {
@Override
@Override
public
ServiceResponse
<
AuthCodeDTO
>
getAuthCode
(
Integer
authCodeId
)
{
public
ServiceResponse
<
AuthCodeDTO
>
getAuthCode
(
Integer
authCodeId
)
{
System
.
out
.
println
(
"authCodeApiService:"
+
JSON
.
toJSONString
(
RpcContext
.
getContext
().
getAttachments
()));
TabSysAuthCode
sysAuthCode
=
this
.
authCodeService
.
getAuthCode
(
authCodeId
);
TabSysAuthCode
sysAuthCode
=
this
.
authCodeService
.
getAuthCode
(
authCodeId
);
return
ServiceResponse
.
success
(
EntityUtil
.
changeEntityByJSON
(
AuthCodeDTO
.
class
,
sysAuthCode
));
return
ServiceResponse
.
success
(
EntityUtil
.
changeEntityByJSON
(
AuthCodeDTO
.
class
,
sysAuthCode
));
}
}
...
...
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