lrf 2 年之前
父节点
当前提交
cd112e4681
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      app/controller/util.js

+ 1 - 1
app/controller/util.js

@@ -20,7 +20,7 @@ class UtilController extends Controller {
     const referer = _.get(request, 'header.referer');
     const query = this.ctx.query;
     const body = _.get(request, 'body');
-    this.ctx.body = 'GG';
+    this.ctx.ok({ ip, forward, host, referer, query, body });
   }
 
   /**