import { defineMock } from "umi"; export default defineMock({ "GET /api/token": (_, res) => { res.send({ status: "ok", data: 'token', }); }, });