Forráskód Böngészése

配置Japidoc,修改配置项

郭超 4 éve
szülő
commit
5e49b65191

+ 24 - 11
pom.xml

@@ -127,10 +127,23 @@
 <!--            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
 <!--        </dependency>-->
         <!-- https://mvnrepository.com/artifact/com.alibaba.cloud/spring-cloud-starter-alibaba-nacos-discovery -->
+
+
+        <!--暂时注释-->
+<!--        <dependency>-->
+<!--            <groupId>com.alibaba.cloud</groupId>-->
+<!--            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>-->
+<!--            <version>2.1.0.RELEASE</version>-->
+<!--        </dependency>-->
+
         <dependency>
-            <groupId>com.alibaba.cloud</groupId>
-            <artifactId>spring-cloud-starter-alibaba-nacos-discovery</artifactId>
-            <version>2.1.0.RELEASE</version>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-lang3</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.commons</groupId>
+            <artifactId>commons-io</artifactId>
+            <version>1.3.2</version>
         </dependency>
 
         <dependency>
@@ -164,15 +177,15 @@
         </dependency>
 
 
-        <dependency>
-            <groupId>org.springframework.boot</groupId>
-            <artifactId>spring-boot-starter-data-redis</artifactId>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>org.springframework.boot</groupId>-->
+<!--            <artifactId>spring-boot-starter-data-redis</artifactId>-->
+<!--        </dependency>-->
 
-        <dependency>
-            <groupId>org.springframework.session</groupId>
-            <artifactId>spring-session-data-redis</artifactId>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>org.springframework.session</groupId>-->
+<!--            <artifactId>spring-session-data-redis</artifactId>-->
+<!--        </dependency>-->
     </dependencies>
 
     <dependencyManagement>

+ 0 - 19
src/main/java/edu/nju/configuration/CustomSessionDefaultRedisSerializer.java

@@ -1,19 +0,0 @@
-package edu.nju.configuration;
-
-import lombok.extern.slf4j.Slf4j;
-import org.springframework.data.redis.serializer.GenericJackson2JsonRedisSerializer;
-
-@Slf4j
-public class CustomSessionDefaultRedisSerializer extends GenericJackson2JsonRedisSerializer {
-
-    @Override
-    public Object deserialize(byte[] bytes) {
-        Object deserialObj = null;
-        try {
-            deserialObj = super.deserialize(bytes);
-        }catch (Exception e){
-            log.warn("deserialize session Object error!", e);
-        }
-        return deserialObj;
-    }
-}

+ 0 - 93
src/main/java/edu/nju/configuration/RedisSessionConfiguration.java

@@ -1,93 +0,0 @@
-package edu.nju.configuration;
-
-import com.fasterxml.jackson.annotation.JsonAutoDetect;
-import com.fasterxml.jackson.annotation.PropertyAccessor;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.springframework.beans.factory.annotation.Value;
-import org.springframework.context.annotation.Bean;
-import org.springframework.context.annotation.Configuration;
-import org.springframework.data.redis.cache.RedisCacheConfiguration;
-import org.springframework.data.redis.cache.RedisCacheManager;
-import org.springframework.data.redis.cache.RedisCacheWriter;
-import org.springframework.data.redis.connection.RedisConnectionFactory;
-import org.springframework.data.redis.serializer.Jackson2JsonRedisSerializer;
-import org.springframework.data.redis.serializer.RedisSerializationContext;
-import org.springframework.data.redis.serializer.RedisSerializer;
-import org.springframework.session.data.redis.config.annotation.web.http.EnableRedisHttpSession;
-import org.springframework.session.web.http.CookieSerializer;
-import org.springframework.session.web.http.DefaultCookieSerializer;
-
-import java.time.Duration;
-import java.util.HashMap;
-import java.util.Map;
-
-@Configuration
-@EnableRedisHttpSession
-public class RedisSessionConfiguration {
-
-    @Value("${website.domain}")
-    private String domainName;
-
-    @Value("${cache.expire.duration}")
-    private int expireDuration;
-
-    @Bean
-    public CookieSerializer cookieSerializer() {
-        DefaultCookieSerializer serializer = new DefaultCookieSerializer();
-        serializer.setCookiePath("/");
-        serializer.setDomainName(domainName);
-        /**
-         * 划重点,Spring-Session 2.x版本与1.x版本有较大差异
-         * 由于内嵌tomcat版本不同,2.x版本默认开启Base64Encoding,同时使用1.x和2.x版本会导致Session不一致
-         * 此项目SpringBoot版本与用户中心相差较大,无法调整版本适配
-         */
-        serializer.setUseBase64Encoding(false);
-        return serializer;
-    }
-
-    @Bean
-    RedisSerializer<Object> springSessionDefaultRedisSerializer() {
-        return new CustomSessionDefaultRedisSerializer();
-    }
-
-    /**
-     * 最新版,设置redis缓存过期时间
-     */
-
-    @Bean
-    public RedisCacheManager cacheManager(RedisConnectionFactory redisConnectionFactory) {
-        return new RedisCacheManager(
-                RedisCacheWriter.nonLockingRedisCacheWriter(redisConnectionFactory),
-                this.getRedisCacheConfigurationWithTtl(expireDuration), // 默认策略,未配置的 key 会使用这个
-                this.getRedisCacheConfigurationMap() // 指定 key 策略
-        );
-    }
-
-    private Map<String, RedisCacheConfiguration> getRedisCacheConfigurationMap() {
-        Map<String, RedisCacheConfiguration> redisCacheConfigurationMap = new HashMap<>();
-        //SsoCache和BasicDataCache进行过期时间配置
-        redisCacheConfigurationMap.put("messageCache", this.getRedisCacheConfigurationWithTtl(30 * 60));
-
-        //自定义设置缓存时间
-        redisCacheConfigurationMap.put("userCache", this.getRedisCacheConfigurationWithTtl(expireDuration));
-
-        return redisCacheConfigurationMap;
-    }
-
-    private RedisCacheConfiguration getRedisCacheConfigurationWithTtl(Integer seconds) {
-        Jackson2JsonRedisSerializer<Object> jackson2JsonRedisSerializer = new Jackson2JsonRedisSerializer<>(Object.class);
-        ObjectMapper om = new ObjectMapper();
-        om.setVisibility(PropertyAccessor.ALL, JsonAutoDetect.Visibility.ANY);
-        om.enableDefaultTyping(ObjectMapper.DefaultTyping.NON_FINAL);
-        jackson2JsonRedisSerializer.setObjectMapper(om);
-        RedisCacheConfiguration redisCacheConfiguration = RedisCacheConfiguration.defaultCacheConfig();
-        redisCacheConfiguration = redisCacheConfiguration.serializeValuesWith(
-                RedisSerializationContext
-                        .SerializationPair
-                        .fromSerializer(jackson2JsonRedisSerializer)
-        ).entryTtl(Duration.ofSeconds(seconds));
-
-        return redisCacheConfiguration;
-    }
-
-}

+ 1 - 1
src/main/java/edu/nju/util/DataMaskingUtil.java

@@ -1,7 +1,7 @@
 package edu.nju.util;
 
 import com.google.common.base.Strings;
-import org.apache.commons.lang.StringUtils;
+import org.apache.commons.lang3.StringUtils;
 
 /**
  * 数据脱敏工具类

+ 107 - 107
src/main/resources/apidoc/V1.0/apidoc.log

@@ -1,214 +1,214 @@
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:06 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find java src paths:  [/Users/guochao/Desktop/project/crowdsource-backend/src/main/java/]
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: project type not set, try to figure out...
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start find controllers in path : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : DeleteController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ReviewJobController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ReviewAnalyzeController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ExtraController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : RecommendController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ExportController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : AnalyzeController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : AnnotationController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : DataController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ReviewController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : UploadController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : HistoryController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : GraphController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : RelationController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : OAuthController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : OssController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ReportController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : NodeController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : ReviewPaperController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: find controller file : CrowdsourcingToReviewController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : DeleteController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : DeleteController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ReviewJobController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ReviewJobController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ReviewAnalyzeController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ReviewAnalyzeController.java
-五月 10, 2021 7:50:07 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:07 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ExtraController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ExtraController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : RecommendController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : RecommendController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ExportController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ExportController.java
-五月 10, 2021 7:50:09 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:09 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : AnalyzeController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : AnalyzeController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : AnnotationController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : AnnotationController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : DataController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : DataController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ReviewController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ReviewController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : UploadController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : UploadController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : HistoryController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : HistoryController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : GraphController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : GraphController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : RelationController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : RelationController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : OAuthController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : OAuthController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : OssController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : OssController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ReportController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ReportController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : NodeController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : NodeController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : ReviewPaperController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : ReviewPaperController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to parse controller file : CrowdsourcingToReviewController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to parse controller file : CrowdsourcingToReviewController.java
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: generate api docs start...
-五月 10, 2021 7:50:10 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/DeleteController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/DeleteController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewJobController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewJobController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewAnalyzeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewAnalyzeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ExtraController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ExtraController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/RecommendController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/RecommendController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ExportController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ExportController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/AnalyzeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/AnalyzeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/AnnotationController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/AnnotationController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/DataController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/DataController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/UploadController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/UploadController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/HistoryController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/HistoryController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/GraphController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/GraphController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/RelationController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/RelationController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/OAuthController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/OAuthController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/OssController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/OssController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReportController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReportController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/NodeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/NodeController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewPaperController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/ReviewPaperController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: start to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/CrowdsourcingToReviewController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: success to generate docs for controller file : /Users/guochao/Desktop/project/crowdsource-backend/src/main/java/edu/nju/controller/CrowdsourcingToReviewController.java
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: generate index start !!!
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: generate index done !!!
-五月 10, 2021 7:50:11 下午 io.github.yedaxia.apidocs.LogUtils info
+五月 11, 2021 6:32:10 下午 io.github.yedaxia.apidocs.LogUtils info
 信息: info: generate api docs done !!!

+ 0 - 0
src/main/resources/apidoc/V1.0/apidoc.log.lck


+ 7 - 26
src/main/resources/application.yml

@@ -1,23 +1,4 @@
 
-spring:
-  redis:
-    host: 59.42.10.53
-    port: 6379
-    password: '#2019@callforttest@!'
-    jedis:
-      pool:
-        max-active: 8
-        max-idle: 8
-        max-wait: -1
-        min-idle: 0
-    database: 6
-
-cache:
-  expire:
-    duration: 86400
-website:
-  domain: mooctest.net
-
 # 配置输出日志
 logging:
   level:
@@ -27,10 +8,10 @@ logging:
     reactor.ipc.netty: DEBUG
 
 #开启端点
-management:
-  endpoints:
-    web:
-      exposure:
-        include: '*'
-  security:
-    enabled: false
+#management:
+#  endpoints:
+#    web:
+#      exposure:
+#        include: '*'
+#  security:
+#    enabled: false