mocks v2
This commit is contained in:
8
example/mock/mocks/five.js
Normal file
8
example/mock/mocks/five.js
Normal file
@ -0,0 +1,8 @@
|
||||
module.exports = {
|
||||
response: function (ctx, id, name) {
|
||||
this.body = {
|
||||
id: id,
|
||||
name: name
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user