Commit 99c62134 by 宋毅

tj

parent e802cbd6
...@@ -16,7 +16,7 @@ module.exports = (db, DataTypes) => { ...@@ -16,7 +16,7 @@ module.exports = (db, DataTypes) => {
content: DataTypes.STRING(5000), content: DataTypes.STRING(5000),
resultInfo: DataTypes.TEXT('long'), resultInfo: DataTypes.TEXT('long'),
clientIp: DataTypes.STRING, clientIp: DataTypes.STRING,
agent:: DataTypes.STRING(500), agent: DataTypes.STRING(500),
opTitle: DataTypes.TEXT, opTitle: DataTypes.TEXT,
}, { }, {
paranoid: false,//假的删除 paranoid: false,//假的删除
......
...@@ -47,9 +47,9 @@ class UtilsPushService extends AppServiceBase { ...@@ -47,9 +47,9 @@ class UtilsPushService extends AppServiceBase {
appkey: pobj.appInfo.uapp_key, appkey: pobj.appInfo.uapp_key,
op: "推送的接口信息:" + JSON.stringify(interface_info), op: "推送的接口信息:" + JSON.stringify(interface_info),
content: JSON.stringify(pobj), content: JSON.stringify(pobj),
resultInfo: refResult ? JSON.stringify(refResult) || "", resultInfo: refResult ? JSON.stringify(refResult) : "",
returnType: '1', returnType: '1',
opTitle: "数据推送成功", opTitle: "数据推送成功"
}); });
return refResult; return refResult;
} catch (e) { } catch (e) {
...@@ -60,7 +60,7 @@ class UtilsPushService extends AppServiceBase { ...@@ -60,7 +60,7 @@ class UtilsPushService extends AppServiceBase {
content: JSON.stringify(pobj), content: JSON.stringify(pobj),
resultInfo: JSON.stringify(e.stack), resultInfo: JSON.stringify(e.stack),
returnType: '0', returnType: '0',
opTitle: "数据推送异常", opTitle: "数据推送异常"
}); });
} }
} }
......
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