|
@@ -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 状态 是否为报名中
|