|
@@ -180,7 +180,7 @@ module.exports = app => {
|
|
|
await encodeSignatureDataUri(roleRel, this.app.baseDir);
|
|
|
await encodeDummySignatureDataUri(pageRst, this.app.baseDir);
|
|
|
// console.log('encodeSignatureDataUri!');
|
|
|
- ctx.body = { data: pageRst, signatureRelInfo: roleRel, stageAudit: stgAudit };
|
|
|
+ ctx.body = { data: pageRst, signatureRelInfo: roleRel, stageAudit: stgAudit, debugInfo: ctx.app.config.is_debug ? ctx.debugInfo : null };
|
|
|
// ctx.body = { data: { msg: 'test the network' } };
|
|
|
ctx.status = 201;
|
|
|
} catch (ex) {
|