第一个mock接口
{
"head": {
"version": "11111",
"bizcode": function({
_req
}) {
return _req.body.head.bizcode
},
"retcode": "000",
"retmsg": "成功"
},
"body": function({
_req
}) {
//实时代扣接口 && MO分案查询实时代扣接口
if (_req.body.head.bizcode === '11111111') {
//"deductStatus": "@integer(2,4)",
//获取合同号数组
var contractNoDatas = _req.body.body.contractNo;
//拆分合同号
var contractNos = contractNoDatas.split(",");
//准备返回数据
var dataCopyBegin = '{"deductDate": "2019-09-04 13:50:10.0","bankName": "中国建设银行","bankCardNo": "00204760","deductAmount": "4220.35","deductStatus": "3", "deductMsg": "","contractNo":';
//拼接返回数据
var data