const login = {
    url: '/account/login',
    type: 'post',
    response: {
        code: 200,
        msg: 'success',
        total: 1,
        data: {
            id: 1000,
            userName: 'teamwei',
            realName: '李兔饼',
            avatar: '',
            token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9',
        }
    }
}

const getAccountRole = {
    url: '/account/role',
    type: 'get',
    response: {
        code: 200,
        message: 'success',
        total: 2,
        data: [
            {
                id: 1,
                roleName: '管理员',
                createdAt: '@datetime()',
                updatedAt: '@datetime()'
            },
            {
                id: 2,
                roleName: '审核员',
                createdAt: '@datetime()',
                updatedAt: '@datetime()'
            }
        ]
    }
}

export default [
    login,
    getAccountRole,
]