调整mock

This commit is contained in:
hooray
2021-05-10 22:30:45 +08:00
parent 5cfa088197
commit 966c5ffcec
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -5,7 +5,7 @@ module.exports = [
result: option => {
return {
error: '',
state: 1,
status: 1,
data: {
account: option.body.account,
token: '@string',
@@ -33,7 +33,7 @@ module.exports = [
}
return {
error: '',
state: 1,
status: 1,
data: {
permissions
}
+2 -2
View File
@@ -4,7 +4,7 @@ export default {
'POST /mock/member/login': (req, res) => {
return res.json(Mock.mock({
error: '',
state: 1,
status: 1,
data: {
account: req.body.account,
token: '@string',
@@ -28,7 +28,7 @@ export default {
}
return res.json({
error: '',
state: 1,
status: 1,
data: {
permissions
}