This commit is contained in:
张成
2025-11-21 16:53:49 +08:00
commit 8309808835
286 changed files with 32656 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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);
},
};