diff --git a/.roadhogrc.mock.js b/.roadhogrc.mock.js index 9cba6adcff040858d0e2d05a2a3790109dc9f067..3ca65934bac23c91d0254efd0255a124dca2a8cd 100644 --- a/.roadhogrc.mock.js +++ b/.roadhogrc.mock.js @@ -59,7 +59,7 @@ const proxy = { $body: postRule, }, 'POST /api/forms': (req, res) => { - res.send('Ok'); + res.send({ message: 'Ok' }); }, 'GET /api/tags': mockjs.mock({ 'list|100': [{ name: '@city', 'value|1-100': 150, 'type|0-2': 1 }]