22 lines
541 B
TypeScript
22 lines
541 B
TypeScript
// @ts-ignore
|
|
import { Request, Response } from 'express';
|
|
|
|
export default {
|
|
'PUT /api/rule': (req: Request, res: Response) => {
|
|
res.status(200).send({
|
|
key: 89,
|
|
disabled: true,
|
|
href: 'https://umijs.org/',
|
|
avatar: 'https://gw.alipayobjects.com/zos/rmsportal/udxAbMEhpwthVVcjLXik.png',
|
|
name: '邵艳',
|
|
owner: 'Martinez',
|
|
desc: '之们自业养族无队比律北列。',
|
|
callNo: 80,
|
|
status: 88,
|
|
updatedAt: '3*Yz',
|
|
createdAt: '^^Xr&kA',
|
|
progress: 96,
|
|
});
|
|
},
|
|
};
|