liuyu 4 years ago
parent
commit
535d4466a7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/headteacher.js

+ 1 - 1
app/service/headteacher.js

@@ -39,7 +39,7 @@ class HeadteacherService extends CrudService {
         if (openid) {
           _user.openid = openid;
         }
-        user.save();
+        _user.save();
       }
     }
     return res;