liuyu 4 yıl önce
ebeveyn
işleme
60a4f9ac51
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  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;
     this.smodel = this.ctx.model.Student;
   }
   }
 
 
-  async uptea({ id }, data) {
+  async update({ id }, data) {
     const job = await this.model.findById(id);
     const job = await this.model.findById(id);
     if (!job) {
     if (!job) {
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '任务信息不存在');
       throw new BusinessError(ErrorCode.DATA_NOT_EXIST, '任务信息不存在');