Commit 6562ef1c authored by 石光's avatar 石光
Browse files

rpc增加方法级权限和调用日志

parent f70683c7
No related merge requests found
......@@ -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;
......
<?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
<?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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment