liuyu 5 年之前
父节点
当前提交
60a4f9ac51
共有 1 个文件被更改,包括 1 次插入1 次删除
  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, '任务信息不存在');