|
@@ -73,18 +73,18 @@ public class InnerController extends BaseController {
|
|
if(StringUtils.isBlank(rtkSnCode)){
|
|
if(StringUtils.isBlank(rtkSnCode)){
|
|
throw new BusinessException(ResultCode.MISSING_REQUIRED_PARAMETERS);
|
|
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);
|
|
RtkInfo rtkInfo = rtkInfoService.getByRtkSnCode(rtkSnCode);
|