mock-data.js 273 Bytes Raw Blame History Permalink 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 // https://github.com/webx32/WxMock let Mock = require('../utils/mockSdk.js'); let config = require('../config') let env = config.MOCKAPI; Mock.mock(env + '/eatClassifyService', { data: { resultCode: 0, content: function () { return Mock.Random.ip(); } } });