deason преди 6 години
родител
ревизия
9108a79016

+ 0 - 44
examcloud-core-print-provider/pom.xml

@@ -12,50 +12,6 @@
     </parent>
 
     <dependencies>
-        <dependency>
-            <groupId>cn.com.qmth.examcloud.rmi</groupId>
-            <artifactId>examcloud-core-print-api</artifactId>
-            <version>${examcloud.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>cn.com.qmth.examcloud.rmi</groupId>
-            <artifactId>examcloud-commons-api</artifactId>
-            <version>${examcloud.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>cn.com.qmth.examcloud.rmi</groupId>
-            <artifactId>examcloud-core-examwork-api-client</artifactId>
-            <version>${examcloud.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
-        <dependency>
-            <groupId>cn.com.qmth.examcloud.rmi</groupId>
-            <artifactId>examcloud-core-questions-api-client</artifactId>
-            <version>${examcloud.version}</version>
-            <exclusions>
-                <exclusion>
-                    <groupId>cn.com.qmth.examcloud.commons</groupId>
-                    <artifactId>examcloud-commons-web</artifactId>
-                </exclusion>
-            </exclusions>
-        </dependency>
         <dependency>
             <groupId>cn.com.qmth.examcloud</groupId>
             <artifactId>examcloud-core-print-service</artifactId>

+ 55 - 0
examcloud-core-print-service/pom.xml

@@ -17,5 +17,60 @@
             <artifactId>examcloud-core-print-dao</artifactId>
             <version>${examcloud.version}</version>
         </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rmi</groupId>
+            <artifactId>examcloud-core-print-api</artifactId>
+            <version>${examcloud.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud.commons</groupId>
+                    <artifactId>examcloud-commons-web</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rmi</groupId>
+            <artifactId>examcloud-commons-api</artifactId>
+            <version>${examcloud.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud.commons</groupId>
+                    <artifactId>examcloud-commons-web</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rmi</groupId>
+            <artifactId>examcloud-core-basic-api-client</artifactId>
+            <version>${examcloud.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud.commons</groupId>
+                    <artifactId>examcloud-commons-web</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rmi</groupId>
+            <artifactId>examcloud-core-examwork-api-client</artifactId>
+            <version>${examcloud.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud.commons</groupId>
+                    <artifactId>examcloud-commons-web</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
+        <dependency>
+            <groupId>cn.com.qmth.examcloud.rmi</groupId>
+            <artifactId>examcloud-core-questions-api-client</artifactId>
+            <version>${examcloud.version}</version>
+            <exclusions>
+                <exclusion>
+                    <groupId>cn.com.qmth.examcloud.commons</groupId>
+                    <artifactId>examcloud-commons-web</artifactId>
+                </exclusion>
+            </exclusions>
+        </dependency>
     </dependencies>
 </project>

+ 1 - 1
examcloud-core-print-service/src/main/java/cn/com/qmth/examcloud/core/print/service/impl/CoursePaperServiceImpl.java

@@ -98,7 +98,7 @@ public class CoursePaperServiceImpl implements CoursePaperService {
 
         //试卷预览和答案预览地址
         String paperHtmlUrl = QUESTION_URL_PREFIX.concat("/api/ecs_ques/paper/pdf/").concat(coursePaper.getPaperId());
-        String answerHtmlUrl = QUESTION_URL_PREFIX.concat("/api/ecs_ques/paper/pdf/").concat(coursePaper.getPaperId());
+        String answerHtmlUrl = QUESTION_URL_PREFIX.concat("/api/ecs_ques/paper/answer/pdf/").concat(coursePaper.getPaperId());
 
         CoursePaper oldCoursePaper = coursePaperRepository.findByExamIdAndPaperId(coursePaper.getExamId(), coursePaper.getPaperId());
         if (oldCoursePaper != null) {