Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
3d0f9b9d1b | ||
|
|
b2cbe15d8b | ||
|
|
a5426ce894 |
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user