const dayjs = require("dayjs"); const { querySql, sof_sofawa_ga, op } = require("../../middleware/baseModel"); module.exports = { "POST /sofaware/last": async (ctx, next) => { let row = { version: "1.5.0", officialUrl: "https://shopant.baozun.com/plug/#/", updateDate: "2024-05-10", downUrl: "https://bztic-shopant-files.oss-cn-shanghai.aliyuncs.com/prod/split_video/split_video_latest.zip" } return ctx.success(row) }, "POST /sofaware/ga": async (ctx, next) => { let row = ctx.getBody(); const res = await sof_sofawa_ga.create(row); return ctx.success(res); }, };