Browse Source

20210409v1.5

recovery
zy_Java 4 years ago
parent
commit
ab3caa18b8
  1. 5
      tall/src/main/java/com/ccsens/tall/service/TaskDeliverService.java
  2. 7
      tall/src/main/resources/application-dev.yml
  3. 7
      tall/src/main/resources/application-prod.yml
  4. 5
      tall/src/main/resources/application-test.yml
  5. 2
      util/src/main/java/com/ccsens/util/PropUtil.java

5
tall/src/main/java/com/ccsens/tall/service/TaskDeliverService.java

@ -332,9 +332,10 @@ public class TaskDeliverService implements ITaskDeliverService {
business.setOperation(WebConstant.Wps.USER_OPERATION_NEW);
business.setPrivilege(WebConstant.Wps.PROJECT_PRIVILEGE_READ);
wpsService.saveFile(business);
}else {
throw new BaseException(CodeEnum.NOT_DELIVER_FILE);
}
// else {
// throw new BaseException(CodeEnum.NOT_DELIVER_FILE);
// }
}
/**

7
tall/src/main/resources/application-dev.yml

@ -41,8 +41,9 @@ file:
domain: http://localhost:7030/v1.0/
imgDomain: http://localhost:7030/v1.0/uploads
#filedeal: http://localhost:8001/file/query
filedeal: https://test.tall.wiki/file/query
project:
# redis是否需要加载 0:否 1 是
redisUpdate: 1
redisUpdateUrl: http://localhost:8001/constant/updateAll/
redisUpdate: 0
redisUpdateUrl: http://localhost:8001/constant/updateAll/
filedeal: https://test.tall.wiki/file/query

7
tall/src/main/resources/application-prod.yml

@ -46,8 +46,9 @@ file:
path: /home/cloud/tall/uploads/
domain: https://www.tall.wiki/gateway/tall/v1.0/
imgDomain: https://www.tall.wiki/gateway/tall/v1.0/uploads
filedeal: https://www.tall.wiki/filedeal/file/query
project:
# redis是否需要加载 0:否 1 是
redisUpdate: 1
redisUpdateUrl: https://www.tall.wiki/filedeal/constant/updateAll/
redisUpdate: 0
redisUpdateUrl: https://www.tall.wiki/filedeal/constant/updateAll/
filedeal: https://www.tall.wiki/filedeal/file/query

5
tall/src/main/resources/application-test.yml

@ -46,11 +46,12 @@ file:
path: /home/cloud/tall/uploads/
domain: https://test.tall.wiki/gateway/tall/v1.0/
imgDomain: https://test.tall.wiki/gateway/tall/v1.0/uploads
filedeal: https://test.tall.wiki/filedeal/file/query
project:
# redis是否需要加载 0:否 1 是
redisUpdate: 1
redisUpdate: 0
redisUpdateUrl: http://127.0.0.1:8001/constant/updateAll/
filedeal: https://test.tall.wiki/filedeal/file/query
#file:
# domain: http://192.168.0.99/gateway/tall/v1.0/
# imgDomain: http://192.168.0.99/gateway/tall/v1.0/uploads

2
util/src/main/java/com/ccsens/util/PropUtil.java

@ -109,7 +109,7 @@ public class PropUtil {
public void setAccessPath(String accessPath) {
PropUtil.accessPath = accessPath;
}
@Value("${filedeal:}")
@Value("${project.filedeal:}")
public void setFiledeal(String filedeal) {
PropUtil.filedeal = filedeal;
}

Loading…
Cancel
Save