Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
石光
vjifen-common
Commits
6562ef1c
Commit
6562ef1c
authored
1 year ago
by
石光
Browse files
Options
Download
Email Patches
Plain Diff
rpc增加方法级权限和调用日志
parent
f70683c7
main
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12 additions
and
0 deletions
+12
-0
vjf-common-rpc/src/main/java/com/vjf/common/rpc/service/RpcInterfaceServiceImpl.java
...a/com/vjf/common/rpc/service/RpcInterfaceServiceImpl.java
+2
-0
vjf-common-rpc/src/main/resources/mapper/rpc/RpcAppMethodMapper.xml
...-rpc/src/main/resources/mapper/rpc/RpcAppMethodMapper.xml
+5
-0
vjf-common-rpc/src/main/resources/mapper/rpc/RpcMethodLogMapper.xml
...-rpc/src/main/resources/mapper/rpc/RpcMethodLogMapper.xml
+5
-0
No files found.
vjf-common-rpc/src/main/java/com/vjf/common/rpc/service/RpcInterfaceServiceImpl.java
View file @
6562ef1c
...
...
@@ -15,6 +15,7 @@ import com.vjf.common.util.TokenGenerator;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Value
;
import
org.springframework.scheduling.annotation.Async
;
import
org.springframework.stereotype.Service
;
import
java.util.Date
;
import
java.util.List
;
...
...
@@ -25,6 +26,7 @@ import java.util.List;
* Time: 18:15
* Project: vjifen-common
**/
@Service
public
class
RpcInterfaceServiceImpl
{
@Value
(
"${vjifen.rpc.method.open:false}"
)
private
Boolean
methodOpen
;
...
...
This diff is collapsed.
Click to expand it.
vjf-common-rpc/src/main/resources/mapper/rpc/RpcAppMethodMapper.xml
0 → 100644
View file @
6562ef1c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.vjf.common.rpc.mapper.RpcAppMethodMapper"
>
</mapper>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
vjf-common-rpc/src/main/resources/mapper/rpc/RpcMethodLogMapper.xml
0 → 100644
View file @
6562ef1c
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.vjf.common.rpc.mapper.RpcMethodLogMapper"
>
</mapper>
\ No newline at end of file
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help