Commit 403bbdda by 王昆

gsb

parent 6675a4c5
......@@ -5,8 +5,22 @@ class TestApi {
}
async testBankfour(obj) {
let rs = await this.bmorderSve.bankfour(1868);
return rs;
let ids = obj.ids;
let result = [];
if (!ids) {
return result;
}
for (let id of ids) {
try {
let rs = await this.bmorderSve.bankfour(id);
result.push({id: id, rs: rs});
} catch (e) {
console.log(e.stack);
result.push({id: id, msg: e.message})
}
}
return result;
}
}
module.exports = TestApi;
\ No newline at end of file
......@@ -47,7 +47,7 @@ class BmorderService extends ServiceBase {
userBankNo: biz.bankno,
userMobile: biz.legal_mobile,
nonceStr: nonceStr,
}
};
// 签名
var signArr = [];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment