bigwit 4 anni fa
parent
commit
28fe561bbf
3 ha cambiato i file con 16 aggiunte e 5 eliminazioni
  1. 4 5
      pom.xml
  2. 7 0
      src/main/resources/application.yml
  3. 5 0
      src/main/resources/templates/home.html

+ 4 - 5
pom.xml

@@ -21,7 +21,6 @@
         <maven.compiler.encoding>UTF-8</maven.compiler.encoding>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <project.build.locales>zh_CN</project.build.locales>
-        <zookeeper-version>3.4.10</zookeeper-version>
     </properties>
 
     <dependencies>
@@ -168,10 +167,10 @@
 <!--            </exclusions>-->
 <!--        </dependency>-->
 
-        <dependency>
-            <groupId>org.springframework.cloud</groupId>
-            <artifactId>spring-cloud-starter-zookeeper-config</artifactId>
-        </dependency>
+<!--        <dependency>-->
+<!--            <groupId>org.springframework.cloud</groupId>-->
+<!--            <artifactId>spring-cloud-starter-zookeeper-config</artifactId>-->
+<!--        </dependency>-->
 
         <!-- Aliyun OSS -->
         <dependency>

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

@@ -63,9 +63,16 @@ spring:
 task:
   info:
     addr: http://47.98.174.59:8100/Bug/api/extra/getExamList
+  distribute:
+    url: test
 server:
   port: 9004
 report.host: 47.98.174.59:8100
+audit:
+  distribute:
+    addr: test
+mooctest:
+  host: http://101.37.175.111:8191
 report.export.addr: http://47.99.140.117:9002/generateReport
 report.export.excel.addr: http://47.98.174.59:8095/generateReport
 mongodb1.database: crowd_review_enterprise

+ 5 - 0
src/main/resources/templates/home.html

@@ -44,6 +44,11 @@
                                 <i class="fa fa-align-justify"></i>任务列表
                             </a>
                         </li>
+                        <li id="crowdSidebarMenu-addCrowdTask">
+                            <a href="/addCrowdTask">
+                                <i class="fa fa-plus"></i>新建众测任务
+                            </a>
+                        </li>
                         <li id="crowdSidebarMenu-addExcel">
                             <a href="/addExcel">
                                 <i class="fa fa-file-excel-o"></i>导入第三方项目