liuyu 5 năm trước cách đây
mục cha
commit
1d67963734
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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 });
   }
 
 }