mock.js 219 Bytes RawBlameHistoryPermalink 1 2 3 4 5 6 7 8 9 const Mock = require('mockjs'); Mock.mock("/api/v1/financial/contracts/contract/project/acceptancs", 'post', res => { console.log("project add successful"); console.log(res.body); return { encode: 200 } })