liuyu 4 years ago
parent
commit
60a4f9ac51
1 changed files with 1 additions and 1 deletions
  1. 1 1
      app/service/job.js

+ 1 - 1
app/service/job.js

@@ -14,7 +14,7 @@ class JobService extends CrudService {
     this.smodel = this.ctx.model.Student;
   }
 
-  async uptea({ id }, data) {
+  async update({ id }, data) {
     const job = await this.model.findById(id);
     if (!job) {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '任务信息不存在');