add start 手动 (menu测试

This commit is contained in:
2023-07-31 22:24:56 +08:00
parent 732be71a35
commit e31b5dc739
2 changed files with 10 additions and 7 deletions

View File

@@ -24,12 +24,13 @@ router.get("/doubanImg",async (ctx)=>{
router.get("/test", async (ctx) => {
let res = await utils.uploadImg('C:/Users/11629/Desktop/80032464_p0.jpg')
ctx.body = {
code: 0,
msg: "test",
data: res
}
// let res = await utils.uploadImg('C:/Users/11629/Desktop/80032464_p0.jpg')
// ctx.body = {
// code: 0,
// msg: "test",
// data: res
// }
global.start = true
})