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

+ 3 - 2
app/controller/attendance.js

@@ -14,9 +14,10 @@ class AttendanceController extends Controller {
   }
 
   // 考勤专用页面
-  async wxauth(){
+  async wxauth() {
     console.log(this.ctx.query);
-    this.ctx.ok({ 'ok' });
+    const res = '{}';
+    this.ctx.ok({ res });
   }
 
 }