const API = require("../../lib/API"); const { BaseStdResponse } = require("../../BaseStdResponse"); class GetAppVersion extends API { constructor() { super(); this.setPath('/Public/GetAppVersion') this.setMethod('GET') } async onRequest(req, res) { res.json({ ...BaseStdResponse.OK, data: { version: '1.2', msg: '\n更新内容:\n人脸采集功能上线,步道乐跑开启人脸识别后可立即启用' } }) } } module.exports.GetAppVersion = GetAppVersion