mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-30 03:03:13 +08:00
add
This commit is contained in:
@ -73,6 +73,7 @@ public class SystemController {
|
||||
if(appVersionVO == null){
|
||||
appVersionVO = new AppVersionVO();
|
||||
appVersionVO.setVersion(currentVersion);
|
||||
appVersionVO.setType("manual");
|
||||
}
|
||||
DataResult<Config> updateType = configService.find(UPDATE_TYPE);
|
||||
if(updateType.getData() != null){
|
||||
|
@ -76,7 +76,7 @@ public class SystemUtils {
|
||||
}
|
||||
}
|
||||
|
||||
private static final String LATEST_VERSION_URL = "https://test.sqlgpt.cn/api/client/version/check/v3?version=%s&type=wechat&userId=%s";
|
||||
private static final String LATEST_VERSION_URL = "https://test.sqlgpt.cn/gateway/api/client/version/check/v3?version=%s&type=wechat&userId=%s";
|
||||
|
||||
public static AppVersionVO getLatestVersion(String version, String type, String userId) {
|
||||
String url = String.format(LATEST_VERSION_URL, version, type, userId);
|
||||
|
Reference in New Issue
Block a user