feat: refactoring API

This commit is contained in:
kailong321200875
2022-06-25 21:56:24 +08:00
parent 43518532f1
commit 37b75839a5
29 changed files with 198 additions and 339 deletions

View File

@@ -516,9 +516,7 @@ export default [
const { roleName } = query
return {
code: result_code,
data: {
list: roleName === 'admin' ? adminList : testList
}
data: roleName === 'admin' ? adminList : testList
}
}
}