✨ feat(web-server): 修改审核服判断逻辑为:指定版本进入审核服
This commit is contained in:
@@ -6,8 +6,10 @@ import { checkWhiteList } from 'app/pubUtils/sysUtil';
|
||||
export default class UpdateController extends Controller {
|
||||
public async getversion() {
|
||||
const { ctx } = this;
|
||||
const { version } = ctx.request.body;
|
||||
ctx.body = await ctx.service.update.getVersion(version);
|
||||
// const { version } = ctx.request.body;
|
||||
// ctx.body = await ctx.service.update.getVersion(version);
|
||||
// ! 接口已废弃
|
||||
ctx.body = ctx.service.utils.resResult(STATUS.REQUEST_FAIL);
|
||||
}
|
||||
|
||||
public async getUpdateUrl() {
|
||||
|
||||
Reference in New Issue
Block a user