瀏覽代碼

西安交通大学新增退出接口

wangliang 2 年之前
父節點
當前提交
297af55f1c

+ 0 - 22
teachcloud-exchange-common/src/main/java/com/qmth/teachcloud/exchange/common/service/impl/CommonServiceImpl.java

@@ -109,26 +109,4 @@ public class CommonServiceImpl implements CommonService {
         response.setHeader("Access-Control-Allow-Origin", SystemConstant.PATH_MATCH);
         response.sendRedirect(stringJoiner.toString());
     }
-
-//    public static void main(String[] args) throws UnsupportedEncodingException {
-//        String signature = "Secret caabd6ddde7d4b0ca98cfd2109f14d95:j6p z/ebmCABEJXWPOYRrG96hwM";
-////        String a = URLEncoder.encode(Base64Util.encode(signature.getBytes(StandardCharsets.UTF_8)), SystemConstant.CHARSET_NAME);
-////        System.out.println(a);
-////        System.out.println(URLDecoder.decode(new String(Base64Util.decode(a), SystemConstant.CHARSET_NAME), SystemConstant.CHARSET_NAME));
-//
-//        String a2 = UriUtils.encode(signature, StandardCharsets.UTF_8);
-//        System.out.println(a2);
-//        String b2 = UriUtils.decode(a2, SystemConstant.CHARSET_NAME);
-//        System.out.println(b2);
-//
-//        String a = Base64Util.encode(signature.getBytes(StandardCharsets.UTF_8));
-//        System.out.println(a);
-//        String b = new String(Base64Util.decode(a), SystemConstant.CHARSET_NAME);
-//        System.out.println(b);
-//
-//        String a1 = URLEncoder.encode(Base64Util.encodeMime(signature.getBytes(StandardCharsets.UTF_8)), SystemConstant.CHARSET_NAME);
-//        String b1 = new String(Base64Util.decodeMime(a1), SystemConstant.CHARSET_NAME);
-//        System.out.println(b1);
-//        System.out.println(URLDecoder.decode(b1, SystemConstant.CHARSET_NAME));
-//    }
 }