liuyu 5 лет назад
Родитель
Сommit
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 });
   }
 
 }