Authored by caoyan

营业执照

... ... @@ -46,9 +46,12 @@ public class BusinessLicenseController {
if(StringUtils.isEmpty(businessName) || StringUtils.isEmpty(socialCreditCode) || StringUtils.isEmpty(certName) || StringUtils.isEmpty(certNo)
|| StringUtils.isEmpty(startTime) || StringUtils.isEmpty(expireTime) || StringUtils.isEmpty(licenseOriginalImage)
|| StringUtils.isEmpty(licenseCopyImage) || StringUtils.isEmpty(certFaceImage) || StringUtils.isEmpty(certReverseImage)
|| null == uid || null == businessType || 0 == uid.intValue()) {
|| null == businessType) {
return new ApiResponse.ApiResponseBuilder().code(500).message("有参数为空").build();
}
if(null == uid || 0 == uid.intValue()) {
return new ApiResponse.ApiResponseBuilder().code(401).message("uid为空,请登录").build();
}
BusinessLicense bl = new BusinessLicense();
bl.setUid(uid);
bl.setBusinessType(businessType);
... ... @@ -76,7 +79,7 @@ public class BusinessLicenseController {
public ApiResponse queryAuditStatus(@RequestParam(value = "uid", required = true) Integer uid) {
LOGGER.info("queryAuditStatus in. uid is {}", uid);
if(null == uid || 0 == uid.intValue()) {
return new ApiResponse.ApiResponseBuilder().code(400).message("uid不能为空").build();
return new ApiResponse.ApiResponseBuilder().code(401).message("uid为空,请登录").build();
}
BusinessLicense bl = businessLicenseService.getAuditRecord(uid);
... ...