update:
1. update check-update api
This commit is contained in:
@@ -12,8 +12,6 @@ CREATE TABLE release_version
|
|||||||
update_content text NOT NULL, -- 更新日志内容
|
update_content text NOT NULL, -- 更新日志内容
|
||||||
privacy_agreement_url varchar(255) NULL, -- 隐私协议地址
|
privacy_agreement_url varchar(255) NULL, -- 隐私协议地址
|
||||||
user_agreement_url varchar(255) NULL, -- 用户协议地址
|
user_agreement_url varchar(255) NULL, -- 用户协议地址
|
||||||
dispatch_url varchar(255) NULL, -- 差量更新链接
|
|
||||||
dispatch_target_version varchar(255) NULL, -- 差量更新可用版本
|
|
||||||
create_user int8 NULL, -- 创建人ID
|
create_user int8 NULL, -- 创建人ID
|
||||||
create_dept int8 NULL, -- 创建部门ID
|
create_dept int8 NULL, -- 创建部门ID
|
||||||
create_time timestamp(6) NULL, -- 创建时间
|
create_time timestamp(6) NULL, -- 创建时间
|
||||||
@@ -51,8 +49,6 @@ COMMENT ON COLUMN release_version.download_url IS '下载地址 (市场包通常
|
|||||||
COMMENT ON COLUMN release_version.update_content IS '更新日志内容';
|
COMMENT ON COLUMN release_version.update_content IS '更新日志内容';
|
||||||
COMMENT ON COLUMN release_version.privacy_agreement_url IS '隐私协议地址';
|
COMMENT ON COLUMN release_version.privacy_agreement_url IS '隐私协议地址';
|
||||||
COMMENT ON COLUMN release_version.user_agreement_url IS '用户协议地址';
|
COMMENT ON COLUMN release_version.user_agreement_url IS '用户协议地址';
|
||||||
COMMENT ON COLUMN release_version.dispatch_url IS '差量更新链接';
|
|
||||||
COMMENT ON COLUMN release_version.dispatch_target_version IS '差量更新可用版本';
|
|
||||||
COMMENT ON COLUMN release_version.create_user IS '创建人ID';
|
COMMENT ON COLUMN release_version.create_user IS '创建人ID';
|
||||||
COMMENT ON COLUMN release_version.create_dept IS '创建部门ID';
|
COMMENT ON COLUMN release_version.create_dept IS '创建部门ID';
|
||||||
COMMENT ON COLUMN release_version.create_time IS '创建时间';
|
COMMENT ON COLUMN release_version.create_time IS '创建时间';
|
||||||
|
|||||||
@@ -15,8 +15,6 @@
|
|||||||
<result column="update_content" property="updateContent"/>
|
<result column="update_content" property="updateContent"/>
|
||||||
<result column="privacy_agreement_url" property="privacyAgreementUrl"/>
|
<result column="privacy_agreement_url" property="privacyAgreementUrl"/>
|
||||||
<result column="user_agreement_url" property="userAgreementUrl"/>
|
<result column="user_agreement_url" property="userAgreementUrl"/>
|
||||||
<result column="dispatch_url" property="dispatchUrl"/>
|
|
||||||
<result column="dispatch_target_version" property="dispatchTargetVersion"/>
|
|
||||||
<result column="create_user" property="createUser"/>
|
<result column="create_user" property="createUser"/>
|
||||||
<result column="create_dept" property="createDept"/>
|
<result column="create_dept" property="createDept"/>
|
||||||
<result column="create_time" property="createTime"/>
|
<result column="create_time" property="createTime"/>
|
||||||
@@ -39,9 +37,7 @@
|
|||||||
download_url,
|
download_url,
|
||||||
privacy_agreement_url,
|
privacy_agreement_url,
|
||||||
user_agreement_url,
|
user_agreement_url,
|
||||||
update_content,
|
update_content
|
||||||
dispatch_url,
|
|
||||||
dispatch_target_version
|
|
||||||
FROM release_version
|
FROM release_version
|
||||||
WHERE is_deleted = 0
|
WHERE is_deleted = 0
|
||||||
ORDER BY string_to_array(version_name, '.')::int[] DESC, app_type, id DESC
|
ORDER BY string_to_array(version_name, '.')::int[] DESC, app_type, id DESC
|
||||||
|
|||||||
@@ -73,15 +73,5 @@ public class CommonReleaseVersionEntity extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
@Schema(description = "用户协议地址")
|
@Schema(description = "用户协议地址")
|
||||||
private String userAgreementUrl;
|
private String userAgreementUrl;
|
||||||
/**
|
|
||||||
* 差量更新链接
|
|
||||||
*/
|
|
||||||
@Schema(description = "差量更新链接")
|
|
||||||
private String dispatchUrl;
|
|
||||||
/**
|
|
||||||
* 差量更新可用版本
|
|
||||||
*/
|
|
||||||
@Schema(description = "差量更新可用版本")
|
|
||||||
private String dispatchTargetVersion;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user