Commit 4d77723e by 孙亚楠

取消部分验证

parent 1cfd3a32
...@@ -163,9 +163,9 @@ class OrderCtl extends CtlBase { ...@@ -163,9 +163,9 @@ class OrderCtl extends CtlBase {
if (!pobj.business_img) { if (!pobj.business_img) {
return system.getResult(null, `参数错误 执照照片不能为空`); return system.getResult(null, `参数错误 执照照片不能为空`);
} }
if (!pobj.business_gov_file) { // if (!pobj.business_gov_file) {
return system.getResult(null, `参数错误 工商官方文件不能为空`); // return system.getResult(null, `参数错误 工商官方文件不能为空`);
} // }
pobj.bd_id = req.loginUser.id; pobj.bd_id = req.loginUser.id;
pobj.bd_path = req.loginUser.orgpath; pobj.bd_path = req.loginUser.orgpath;
...@@ -215,24 +215,24 @@ class OrderCtl extends CtlBase { ...@@ -215,24 +215,24 @@ class OrderCtl extends CtlBase {
return system.getResult(null, `参数错误 状态码不能为空`); return system.getResult(null, `参数错误 状态码不能为空`);
} }
if (!pobj.gongzhang) { // if (!pobj.gongzhang) {
return system.getResult(null, `参数错误 公章不能为空`); // return system.getResult(null, `参数错误 公章不能为空`);
} // }
if (!pobj.fapiaozhang) { // if (!pobj.fapiaozhang) {
return system.getResult(null, `参数错误 发票章不能为空`); // return system.getResult(null, `参数错误 发票章不能为空`);
} // }
if (!pobj.caiwuzhang) { // if (!pobj.caiwuzhang) {
return system.getResult(null, `参数错误 财务章不能为空`); // return system.getResult(null, `参数错误 财务章不能为空`);
} // }
if (!pobj.hetongzhang) { // if (!pobj.hetongzhang) {
return system.getResult(null, `参数错误 合同章不能为空`); // return system.getResult(null, `参数错误 合同章不能为空`);
} // }
if (!pobj.farenzhang) { // if (!pobj.farenzhang) {
return system.getResult(null, `参数错误 法人章不能为空`); // return system.getResult(null, `参数错误 法人章不能为空`);
} // }
if (!pobj.zhang_gov_file) { // if (!pobj.zhang_gov_file) {
return system.getResult(null, `参数错误 刻章官方文件不能为空`); // return system.getResult(null, `参数错误 刻章官方文件不能为空`);
} // }
try { try {
return await this.orderSve.handleStatus(pobj); return await this.orderSve.handleStatus(pobj);
...@@ -286,12 +286,12 @@ class OrderCtl extends CtlBase { ...@@ -286,12 +286,12 @@ class OrderCtl extends CtlBase {
if (!pobj.bank) { if (!pobj.bank) {
return system.getResult(null, `参数错误 开户行不能为空`); return system.getResult(null, `参数错误 开户行不能为空`);
} }
if (!pobj.bank_img) { // if (!pobj.bank_img) {
return system.getResult(null, `参数错误 账户信息不能为空`); // return system.getResult(null, `参数错误 账户信息不能为空`);
} // }
if (!pobj.bank_gov_file) { // if (!pobj.bank_gov_file) {
return system.getResult(null, `参数错误 银行开户官方文件不能为空`); // return system.getResult(null, `参数错误 银行开户官方文件不能为空`);
} // }
try { try {
return await this.orderSve.handleStatus(pobj); return await this.orderSve.handleStatus(pobj);
...@@ -342,12 +342,12 @@ class OrderCtl extends CtlBase { ...@@ -342,12 +342,12 @@ class OrderCtl extends CtlBase {
if (!pobj.tax_org) { if (!pobj.tax_org) {
return system.getResult(null, `参数错误 税务机构名称不能为空`); return system.getResult(null, `参数错误 税务机构名称不能为空`);
} }
if (!pobj.ca_img) { // if (!pobj.ca_img) {
return system.getResult(null, `参数错误 CA照片不能为空`); // return system.getResult(null, `参数错误 CA照片不能为空`);
} // }
if (!pobj.tax_gov_file) { // if (!pobj.tax_gov_file) {
return system.getResult(null, `参数错误 税务报道官方文件不能为空`); // return system.getResult(null, `参数错误 税务报道官方文件不能为空`);
} // }
try { try {
return await this.orderSve.handleStatus(pobj); return await this.orderSve.handleStatus(pobj);
......
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