Antiloveg лет назад: 8
Родитель
Сommit
18d1a542d5

+ 2 - 2
src/main/java/com/goafanti/common/controller/PreviewController.java

@@ -300,14 +300,14 @@ public class PreviewController extends BaseApiController {
 
 	private void handleIntellectualPropertyPreview(HttpServletResponse response, OrgIntellectualProperty oip,
 			AttachmentType attachmentType) {
-		if (attachmentType == AttachmentType.TECH_PRODUCT) {
+		if (attachmentType == AttachmentType.PROPERTY_RIGHT) {
 			downloadFile(response, oip.getPropertyRightDownloadFileName(), oip.getPropertyRightUrl());
 		}
 	}
 
 	private void handleAchievementPreview(HttpServletResponse response, OrgTechAchievement ota,
 			AttachmentType attachmentType) {
-		if (attachmentType == AttachmentType.TECH_PRODUCT) {
+		if (attachmentType == AttachmentType.ACHIEVEMENT) {
 			downloadFile(response, ota.getEnclosureDownloadFileName(), ota.getEnclosureUrl());
 		}
 	}

+ 1 - 1
src/main/resources/props/config_dev.properties

@@ -51,7 +51,7 @@ session.validate.timespan=18000000
 
 app.name=AFT
 
-static.host=//afts.hnzhiming.com/1.0.22
+static.host=//afts.hnzhiming.com/1.0.23
 
 upload.path=/data/wwwroot/aft/upload
 upload.private.path=/data/upload

+ 1 - 1
src/main/resources/props/config_local.properties

@@ -53,7 +53,7 @@ session.validate.timespan=18000000
 
 app.name=AFT
 
-static.host=//afts.hnzhiming.com/1.0.22
+static.host=//afts.hnzhiming.com/1.0.23
 
 upload.path=/Users/xiaolong/Sites/upload
 upload.private.path=/Users/xiaolong/Sites/doc

+ 1 - 1
src/main/resources/props/config_prod.properties

@@ -51,4 +51,4 @@ session.validate.timespan=18000000
 
 app.name=AFT
 
-static.host=//afts.hnzhiming.com/1.0.22
+static.host=//afts.hnzhiming.com/1.0.23

+ 1 - 1
src/main/resources/props/config_test.properties

@@ -53,7 +53,7 @@ session.validate.timespan=18000000
 
 app.name=AFT
 
-static.host=//aftts.hnzhiming.com/1.0.22
+static.host=//aftts.hnzhiming.com/1.0.23
 
 upload.path=/data/aft/public/upload
 upload.private.path=/data/aft/private/upload