🌈 搜索
📅  最后修改于: 2022-03-11 15:01:57.496000             🧑  作者: Mango
export default async (req, res) => { if (req.method === "GET") { // function only runs if the method is GET } }