mirror of
https://github.com/nocobase/nocobase
synced 2024-11-16 11:56:47 +00:00
11 lines
207 B
TypeScript
11 lines
207 B
TypeScript
|
import Mock from 'mockjs';
|
||
|
|
||
|
export async function check(req: any, res: any) {
|
||
|
res.json({
|
||
|
data: {
|
||
|
username: `username - ${Mock.mock('@string')}`,
|
||
|
token: Mock.mock('@string'),
|
||
|
},
|
||
|
});
|
||
|
}
|