Compare commits

..
3 Commits
Author SHA1 Message Date
timi 3d0f9b9d1b Merge pull request 'v1.0.66' (#78) from dev into master
Reviewed-on: #78
2026-11-06 15:59:05 +00:00
Timi b2cbe15d8b v1.0.66
CI / build-deploy (pull_request) Successful in 32s
CI / notify-on-failure (pull_request) Skipped
2026-11-06 23:58:41 +08:00
Timi a5426ce894 add APP_RELEASE attach 2026-11-06 23:58:29 +08:00
3 changed files with 5 additions and 3 deletions
+1 -1
View File
@@ -11,7 +11,7 @@
<groupId>com.imyeyu.timiserverapi</groupId> <groupId>com.imyeyu.timiserverapi</groupId>
<artifactId>TimiServerAPI</artifactId> <artifactId>TimiServerAPI</artifactId>
<version>1.0.65</version> <version>1.0.66</version>
<packaging>jar</packaging> <packaging>jar</packaging>
<name>TimiServerAPI</name> <name>TimiServerAPI</name>
<description>imyeyu.com API</description> <description>imyeyu.com API</description>
@@ -151,7 +151,7 @@ public class AppVersionService {
/// @return 更新响应 /// @return 更新响应
private AppUpdateCheckResponse buildResponse(AppRelease release, boolean mandatory) { private AppUpdateCheckResponse buildResponse(AppRelease release, boolean mandatory) {
String url = ServletUriComponentsBuilder.fromCurrentContextPath() String url = ServletUriComponentsBuilder.fromCurrentContextPath()
.path("/attachment/download/") .path("/attach/download/")
.path(release.getAttachmentId()) .path(release.getAttachmentId())
.toUriString(); .toUriString();
return new AppUpdateCheckResponse(release.getVersionName(), url, release.getSha256(), mandatory); return new AppUpdateCheckResponse(release.getVersionName(), url, release.getSha256(), mandatory);
@@ -62,7 +62,9 @@ public class Attachment extends UUIDEntity {
TEMP_FILE, TEMP_FILE,
MIRROR MIRROR,
APP_RELEASE
} }
protected BizType bizType; protected BizType bizType;