這個解決不了了,跟著寫的,但是ctx有時候正確post卻返回1
似乎這個import { AddContentValidator } from "../../validators/content"有問題?
但是我用
? ? const test = {
? ? ? ? res: true
? ? }
? ? return ctx.json(test)
可以返回res: true,一旦添加json,就報錯,返回1
似乎這個import { AddContentValidator } from "../../validators/content"有問題?
但是我用
? ? const test = {
? ? ? ? res: true
? ? }
? ? return ctx.json(test)
可以返回res: true,一旦添加json,就報錯,返回1
2023-08-02
舉報