Files
张成 8309808835 1
2025-11-21 16:53:49 +08:00

16 lines
595 B
JavaScript

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);
},
};