Commit 0152a733 by guojuxing

规范

parent 3548f2a6
...@@ -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);
} }
} }
...@@ -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());
......
...@@ -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));
} }
......
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