|
@@ -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, '任务信息不存在');
|