Commit 383acef7 by linboxuan

lin add getGatewayPushFailLogList

parent 3192b303
...@@ -36,5 +36,14 @@ class PushlogCtl extends CtlBase { ...@@ -36,5 +36,14 @@ class PushlogCtl extends CtlBase {
} }
} }
async reGatewayPush(pobj, qobj, req) {
try {
const rs = await this.service.reGatewayPush(pobj);
return system.getResult(rs);
} catch (err) {
return system.getResult(null, err.message)
}
}
} }
module.exports = PushlogCtl; module.exports = PushlogCtl;
...@@ -22,5 +22,13 @@ class PushlogService { ...@@ -22,5 +22,13 @@ class PushlogService {
}); });
return data; return data;
} }
async reGatewayPush(pobj) {
let { content = {}, id } = pobj;
const data = await ToQiFuTong.reGatewayPush({
content, id
});
return data;
}
} }
module.exports = PushlogService; module.exports = PushlogService;
\ No newline at end of file
...@@ -288,6 +288,14 @@ class BaseClient { ...@@ -288,6 +288,14 @@ class BaseClient {
return data; return data;
} }
async reGatewayPush(pobj) {
const data = await this.pushQiFuTong('/web/action/opLog/reGatewayPush', {
"actionType": "reGatewayPush",
"actionBody": pobj
});
return data;
}
// 获取一段时间内的所有日期 // 获取一段时间内的所有日期
getAllDate(begin, end) { getAllDate(begin, end) {
......
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