소스 검색

Revert "test build"

This reverts commit 1ebe6aff847b3fa7c341c2de00b2d86511c18369.
MaxKey 7 달 전
부모
커밋
e82e92abb9

+ 1 - 0
build.gradle

@@ -80,6 +80,7 @@ allprojects {
     compileJava.options.encoding = 'UTF-8'
     
     eclipse {
+        /*设置工程字符集*/
         jdt  {
             File prefs = file('.settings/org.eclipse.core.resources.prefs')
             if (prefs.exists()) {

+ 5 - 2
maxkey-common/src/test/java/org/maxkey/otp/algorithm/RQcodeTest.java

@@ -64,7 +64,8 @@ EMAIL:forrestgump@example.com
 REV:20080424T195243Z
 END:VCARD
 	 */
-	public static void main(String[] args) {
+	  // 编码  
+	public static void main(String[] args) { 
         try {  
         	
         	 String str = "BEGIN:VCARD\n" +
@@ -78,6 +79,7 @@ END:VCARD
         			    "Connsec\n" +
         			    "TITLE:技术总监\n" +
         			    //"URL:http://blog.csdn.net/lidew521\n" +
+        			    //"NOTE:呼呼测试下吧。。。\n" +
         			    "END:VCARD";
         	 
         	 String str1 = "BEGIN:VCARD\n" +
@@ -94,7 +96,8 @@ END:VCARD
         	 "END:VCARD\n" ;
         	 
         	 System.out.println(str);
-            String path = "D:\\hwy.png";
+            //String str = "CN:男;COP:公司;ZW:职务";// 二维码内容  
+            String path = "D:\\hwy.png";  
             BitMatrix byteMatrix;  
             byteMatrix = new MultiFormatWriter().encode(new String(str1.getBytes("UTF-8"),"iso-8859-1"),  
                     BarcodeFormat.QR_CODE, 300, 300);  

+ 1 - 1
maxkey-webs/maxkey-gataway/src/main/java/org/gateway/controller/FallbackController.java

@@ -29,7 +29,7 @@ public class FallbackController {
     public Map<String , Object> defaultFallback() {
         Map<String , Object> map = new HashMap<>();
         map.put("code", 1);
-        map.put("message", "Successful");
+        map.put("message", "服务异常");
         return map;
     }
 }