xiatian 2 年 前
コミット
5fccb63b9b

+ 21 - 1
pom.xml

@@ -103,7 +103,27 @@
 			<version>2.1.13.RELEASE</version>
 		</dependency>
 	</dependencies>
-
+	<repositories>
+		<repository>
+			<id>aliyun-repos</id>
+			<url>https://maven.aliyun.com/repository/public</url>
+			<releases>
+				<enabled>true</enabled>
+			</releases>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+		<repository>
+			<id>atlassian</id>
+			<name>Central Repository</name>
+			<url>https://packages.atlassian.com/maven-3rdparty/</url>
+			<layout>default</layout>
+			<snapshots>
+				<enabled>false</enabled>
+			</snapshots>
+		</repository>
+	</repositories>
 	<build>
 		<plugins>
 			<plugin>

+ 1 - 1
src/main/java/cn/com/qmth/SpringContextHolder.java

@@ -8,7 +8,7 @@ import org.springframework.stereotype.Component;
 /**
  * spring context holder.
  *
- * @author WANGWEI
+ * @author 
  * @date 2018年7月10日
  * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
  */

+ 2 - 2
src/main/java/cn/com/qmth/importpaper/DateUtil.java

@@ -7,14 +7,14 @@ import java.util.Date;
 /**
  * 日期工具
  * 
- * @author WANGWEI
+ * @author 
  */
 public class DateUtil {
 
 	/**
 	 * patterns describing the date and time format
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 */
 	public interface DatePatterns {
 		public static final String DEFAULT = "yyyyMMddHHmmss";

+ 1 - 1
src/main/java/cn/com/qmth/importpaper/FormFilePart.java

@@ -5,7 +5,7 @@ import java.io.File;
 /**
  * 表单文件参数
  *
- * @author WANGWEI
+ * @author 
  * @date 2019年5月9日
  * @Copyright (c) 2018-? http://qmth.com.cn All Rights Reserved.
  */

+ 2 - 2
src/main/java/cn/com/qmth/importpaper/HttpMethod.java

@@ -6,9 +6,9 @@ import java.util.Map;
 /**
  * HTTP method
  *
- * @author WANGWEI
+ * @author 
  * @date 2019年4月10日
- * @Copyright (c) 2018-2020 WANGWEI [QQ:522080330] All Rights Reserved.
+ * @Copyright (c) 2018-2020  [QQ:522080330] All Rights Reserved.
  */
 public class HttpMethod {
 

+ 2 - 2
src/main/java/cn/com/qmth/importpaper/ImportPaperByCourse.java

@@ -28,8 +28,8 @@ public class ImportPaperByCourse {
 	
 	private static String paperSuff="(211)";
 
-//	private static String sourceDir = "e:\\quesDir";
-	private static String sourceDir = "e:\\courseDir";
+	private static String sourceDir = "e:\\quesDir";
+//	private static String sourceDir = "e:\\courseDir";
 //	private static String sourceDir = "D:\\2020ddimport\\ques\\excelDir";
 
 	private static String sourceQuesDir = sourceDir + "\\quesDir\\";

+ 4 - 4
src/main/java/cn/com/qmth/importpaper/JsonUtil.java

@@ -8,13 +8,13 @@ import cn.com.qmth.importpaper.DateUtil.DatePatterns;
 /**
  * 类注释
  *
- * @author WANGWEI
+ * @author 
  */
 public class JsonUtil {
 	/**
 	 * 方法注释
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param obj
 	 * @return
 	 */
@@ -27,7 +27,7 @@ public class JsonUtil {
 	/**
 	 * 方法注释
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param obj
 	 * @return
 	 */
@@ -40,7 +40,7 @@ public class JsonUtil {
 	/**
 	 * 方法注释
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param json
 	 * @param c
 	 * @return

+ 12 - 12
src/main/java/cn/com/qmth/importpaper/OKHttpUtil.java

@@ -23,9 +23,9 @@ import okhttp3.Response;
 /**
  * OKHttp
  *
- * @author WANGWEI
+ * @author 
  * @date 2018年9月6日
- * @Copyright (c) 2018-2020 WANGWEI [QQ:522080330] All Rights Reserved.
+ * @Copyright (c) 2018-2020  [QQ:522080330] All Rights Reserved.
  */
 public class OKHttpUtil {
 
@@ -38,9 +38,9 @@ public class OKHttpUtil {
 	/**
 	 * 请求体构建器
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @date 2019年4月10日
-	 * @Copyright (c) 2018-2020 WANGWEI [QQ:522080330] All Rights Reserved.
+	 * @Copyright (c) 2018-2020  [QQ:522080330] All Rights Reserved.
 	 */
 	public static interface RequestBodyBuilder {
 		RequestBody build();
@@ -49,9 +49,9 @@ public class OKHttpUtil {
 	/**
 	 * json请求体构建器
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @date 2019年4月10日
-	 * @Copyright (c) 2018-2020 WANGWEI [QQ:522080330] All Rights Reserved.
+	 * @Copyright (c) 2018-2020  [QQ:522080330] All Rights Reserved.
 	 */
 	public static final class JsonBodyBuilder implements RequestBodyBuilder {
 
@@ -93,7 +93,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求 (带json请求体)
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @param headers
@@ -108,7 +108,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求 (带请求体)
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @param headers
@@ -148,7 +148,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @return
@@ -160,7 +160,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @param headers
@@ -200,7 +200,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求 (表单)
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @param headers
@@ -247,7 +247,7 @@ public class OKHttpUtil {
 	/**
 	 * 发送请求 (包含文件表单)
 	 *
-	 * @author WANGWEI
+	 * @author 
 	 * @param httpMethod
 	 * @param url
 	 * @param headers