lrf 2 年之前
父节点
当前提交
0c0821f197
共有 1 个文件被更改,包括 1 次插入0 次删除
  1. 1 0
      app/service/matchSign.js

+ 1 - 0
app/service/matchSign.js

@@ -37,6 +37,7 @@ class MatchSignService extends CrudService {
 
   async checkFit(body) {
     const { match_id, group_id, project_id, user_id, card = '22010319950601161X' } = body;
+    await this.checkHas(body);
     const { pass, msg, gender: cardGender, age: cardAge } = this.idCodeValid(card);
     if (!pass) throw new BusinessError(ErrorCode.SERVICE_FAULT, msg);
     // 1.看 match 状态 是否为报名中