开启 Dubbo Provider 参数校验
This commit is contained in:
@@ -13,7 +13,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
|
||||
@Service(version = "${dubbo.provider.AdminRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.AdminRpc.version}")
|
||||
public class AdminRpcImpl implements AdminRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -16,7 +16,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 部门 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.DepartmentRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.DepartmentRpc.version}")
|
||||
public class DepartmentRpcImpl implements DepartmentRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -15,7 +15,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 数据字典 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.DataDictRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.DataDictRpc.version}")
|
||||
public class DataDictRpcImpl implements DataDictRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -10,7 +10,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
|
||||
@Service(version = "${dubbo.provider.OAuth2Rpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.OAuth2Rpc.version}")
|
||||
public class OAuth2RpcImpl implements OAuth2Rpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -17,7 +17,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 权限 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.PermissionRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.PermissionRpc.version}")
|
||||
public class PermissionRpcImpl implements PermissionRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -16,7 +16,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 资源 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.ResourceRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.ResourceRpc.version}")
|
||||
public class ResourceRpcImpl implements ResourceRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -19,7 +19,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 角色 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.RoleRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.RoleRpc.version}")
|
||||
public class RoleRpcImpl implements RoleRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -14,7 +14,7 @@ import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
/**
|
||||
* 系统访问日志 Rpc 实现类
|
||||
*/
|
||||
@Service(version = "${dubbo.provider.SystemAccessLogRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.SystemAccessLogRpc.version}")
|
||||
public class SystemAccessLogRpcImpl implements SystemAccessLogRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
@@ -12,7 +12,7 @@ import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
||||
import static cn.iocoder.common.framework.vo.CommonResult.success;
|
||||
|
||||
@Service(version = "${dubbo.provider.SystemExceptionLogRpc.version}", validation = "false")
|
||||
@Service(version = "${dubbo.provider.SystemExceptionLogRpc.version}")
|
||||
public class SystemExceptionLogRpcImpl implements SystemExceptionLogRpc {
|
||||
|
||||
@Autowired
|
||||
|
||||
Reference in New Issue
Block a user