lyhzzz 1 年間 前
コミット
3c0988e7c4

+ 12 - 12
src/main/java/com/fdkankan/manage/inner/controller/InnerController.java

@@ -73,18 +73,18 @@ public class InnerController extends BaseController {
         if(StringUtils.isBlank(rtkSnCode)){
             throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
         }
-        String token = getSign();
-        if(StringUtils.isBlank(token)){
-            throw new BusinessException(ResultCode.RTK_TOKEN_NOT_EXIT);
-        }
-        try {
-            String deTxt = RsaUtils.decipher(token, RsaUtils.privateKey);
-            if(!deTxt.equals(rtkSnCode)){
-                throw new BusinessException(ResultCode.RTK_TOKEN_ERROR);
-            }
-        }catch (Exception e){
-            throw new BusinessException(ResultCode.RTK_TOKEN_ERROR);
-        }
+//        String token = getSign();
+//        if(StringUtils.isBlank(token)){
+//            throw new BusinessException(ResultCode.RTK_TOKEN_NOT_EXIT);
+//        }
+//        try {
+//            String deTxt = RsaUtils.decipher(token, RsaUtils.privateKey);
+//            if(!deTxt.equals(rtkSnCode)){
+//                throw new BusinessException(ResultCode.RTK_TOKEN_ERROR);
+//            }
+//        }catch (Exception e){
+//            throw new BusinessException(ResultCode.RTK_TOKEN_ERROR);
+//        }
 
 
         RtkInfo rtkInfo = rtkInfoService.getByRtkSnCode(rtkSnCode);