Commit 54355573 by 王昆

gsb

parent 029d33d3
...@@ -148,15 +148,15 @@ class YZContractApi { ...@@ -148,15 +148,15 @@ class YZContractApi {
if (!age) { if (!age) {
return this.returnjson(-1, "代理人身份证号格式错误, 只支持18位身份证号码"); return this.returnjson(-1, "代理人身份证号格式错误, 只支持18位身份证号码");
} }
if (card.sex == 'male') { // if (card.sex == 'male') {
if (age < 18 || age > 60) { // if (age < 18 || age > 60) {
return this.returnjson(-1, "签约失败,男性代理人限制18-60岁之间"); // return this.returnjson(-1, "签约失败,男性代理人限制18-60岁之间");
} // }
} else { // } else {
if (age < 18 || age > 55) { // if (age < 18 || age > 55) {
return this.returnjson(-1, "签约失败,女性代理人限制18-55岁之间"); // return this.returnjson(-1, "签约失败,女性代理人限制18-55岁之间");
} // }
} // }
} }
if(param.idType == 13){ if(param.idType == 13){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment