java110
2020-05-25 d828f12c1ee74acb0c761b682c3135bcbd06fa0e
Api/src/main/java/com/java110/api/smo/impl/ApiServiceSMOImpl.java
@@ -85,7 +85,7 @@
                reqJson = decrypt(reqJson, headers);
            }
            //1.0 创建数据流
            //1.0 创建数据流 appId serviceCode
            dataFlow = DataFlowFactory.newInstance(ApiDataFlow.class).builder(reqJson, headers);
            //2.0 加载配置信息
@@ -244,7 +244,7 @@
        if (!StringUtil.isNullOrNone(dataFlow.getAppRoutes().get(0).getSecurityCode())) {
            String sign = AuthenticationFactory.apiDataFlowMd5(dataFlow);
            if (!sign.equals(dataFlow.getReqSign().toLowerCase())) {
                throw new NoAuthorityException(ResponseConstant.RESULT_CODE_NO_AUTHORITY_ERROR, "签名失败");
                throw new NoAuthorityException(ResponseConstant.RESULT_CODE_NO_AUTHORITY_ERROR, "签名失败"+sign);
            }
        }