Commit 383acef7 by linboxuan

lin add getGatewayPushFailLogList

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