mirror of
https://gitee.com/dromara/MaxKey.git
synced 2025-12-07 01:18:27 +08:00
test build
This commit is contained in:
parent
a00f7a6939
commit
cd89f79bb3
@ -80,7 +80,6 @@ allprojects {
|
|||||||
compileJava.options.encoding = 'UTF-8'
|
compileJava.options.encoding = 'UTF-8'
|
||||||
|
|
||||||
eclipse {
|
eclipse {
|
||||||
/*设置工程字符集*/
|
|
||||||
jdt {
|
jdt {
|
||||||
File prefs = file('.settings/org.eclipse.core.resources.prefs')
|
File prefs = file('.settings/org.eclipse.core.resources.prefs')
|
||||||
if (prefs.exists()) {
|
if (prefs.exists()) {
|
||||||
|
|||||||
@ -64,7 +64,6 @@ EMAIL:forrestgump@example.com
|
|||||||
REV:20080424T195243Z
|
REV:20080424T195243Z
|
||||||
END:VCARD
|
END:VCARD
|
||||||
*/
|
*/
|
||||||
// 编码
|
|
||||||
public static void main(String[] args) {
|
public static void main(String[] args) {
|
||||||
try {
|
try {
|
||||||
|
|
||||||
@ -79,7 +78,6 @@ END:VCARD
|
|||||||
"Connsec\n" +
|
"Connsec\n" +
|
||||||
"TITLE:技术总监\n" +
|
"TITLE:技术总监\n" +
|
||||||
//"URL:http://blog.csdn.net/lidew521\n" +
|
//"URL:http://blog.csdn.net/lidew521\n" +
|
||||||
//"NOTE:呼呼测试下吧。。。\n" +
|
|
||||||
"END:VCARD";
|
"END:VCARD";
|
||||||
|
|
||||||
String str1 = "BEGIN:VCARD\n" +
|
String str1 = "BEGIN:VCARD\n" +
|
||||||
@ -96,7 +94,6 @@ END:VCARD
|
|||||||
"END:VCARD\n" ;
|
"END:VCARD\n" ;
|
||||||
|
|
||||||
System.out.println(str);
|
System.out.println(str);
|
||||||
//String str = "CN:男;COP:公司;ZW:职务";// 二维码内容
|
|
||||||
String path = "D:\\hwy.png";
|
String path = "D:\\hwy.png";
|
||||||
BitMatrix byteMatrix;
|
BitMatrix byteMatrix;
|
||||||
byteMatrix = new MultiFormatWriter().encode(new String(str1.getBytes("UTF-8"),"iso-8859-1"),
|
byteMatrix = new MultiFormatWriter().encode(new String(str1.getBytes("UTF-8"),"iso-8859-1"),
|
||||||
|
|||||||
@ -29,7 +29,7 @@ public class FallbackController {
|
|||||||
public Map<String , Object> defaultFallback() {
|
public Map<String , Object> defaultFallback() {
|
||||||
Map<String , Object> map = new HashMap<>();
|
Map<String , Object> map = new HashMap<>();
|
||||||
map.put("code", 1);
|
map.put("code", 1);
|
||||||
map.put("message", "服务异常");
|
map.put("message", "Successful");
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user