|
|
@ -133,7 +133,7 @@ async function notedInspection (ctx) { |
|
|
|
async function apiError (ctx) { |
|
|
|
try { |
|
|
|
const models = ctx.fs.dc.models; |
|
|
|
const { projectAppId, alarmContent, router, statusCode, screenshot = '', type } = ctx.request.body |
|
|
|
const { projectAppId, alarmContent, router, statusCode = null, screenshot = '', type } = ctx.request.body |
|
|
|
const now = moment().format() |
|
|
|
|
|
|
|
if (!type) { |
|
|
|