热更新版本号改为字符串格式
This commit is contained in:
@@ -23,7 +23,7 @@ export default class Update extends Service {
|
||||
});
|
||||
}
|
||||
|
||||
public async getUpdateUrl(env: string, curVersion: number, updateResUrl: string) {
|
||||
public async getUpdateUrl(env: string, curVersion: string, updateResUrl: string) {
|
||||
const ctx = this.ctx;
|
||||
if (!env || !curVersion || !updateResUrl) return ctx.service.utils.resResult(STATUS.UPDATE_INFO_ERR);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user