Commit ff9dd34a by 王昆

gsb

parent ab34cf52
......@@ -793,6 +793,14 @@ class BpoSDPJApi {
data: param,
});
console.log(`---推送---${ccashinfo.outTradeNo}--result----`, rs.data);
let notifyRes = JSON.stringify(rs.data);
if (notifyRes.length > 800) {
notifyRes = notifyRes.substring(0, 790) + "...";
}
ccashinfo.notify_rs = notifyRes;
await ccashinfo.save();
return rs.data;
} catch (e) {
console.log(e);
......
......@@ -74,6 +74,10 @@ module.exports = (db, DataTypes) => {
actual_amt:{
type:DataTypes.BIGINT,
allowNull: true,
},
notify_rs: {
type:DataTypes.STRING,
allowNull: true,
}
}, {
paranoid: true,//假的删除
......
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