Kaynağa Gözat

匹配度算法修改

lrf 6 ay önce
ebeveyn
işleme
857e1b25b7

+ 0 - 1
src/controller/users/contactApply.controller.ts

@@ -119,7 +119,6 @@ export class ContactApplyController {
       // 查询匹配度
       const result = await this.esService.getCS(keyword, source, source_id);
       if (!result) throw new ServiceError(ErrorCode.CONTACTAPPLY_MATCHING_NOT_ENOUGH); // 抛出异常,无匹配度到4星,无法进行预约
-      return;
     }
     /**创建申请数据 */
     const dbData = await this.service.create(data);