|
|
|
@ -93,7 +93,6 @@ public class SupCertController {
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@AuthRuleAnnotation("")
|
|
|
|
|
@GetMapping("/sup/company/cert/filter")
|
|
|
|
|
public BaseResponse filterUserCompanyCert(FilterSupCertRequest filterSupCertRequest,
|
|
|
|
@ -427,6 +426,16 @@ public class SupCertController {
|
|
|
|
|
return authAdmin.getCustomerId() + "";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public String getCompanyId() {
|
|
|
|
|
ServletRequestAttributes attributes = (ServletRequestAttributes) RequestContextHolder.getRequestAttributes();
|
|
|
|
|
if (attributes == null) {
|
|
|
|
|
throw new JsonException(ResultEnum.NOT_NETWORK);
|
|
|
|
|
}
|
|
|
|
|
HttpServletRequest request = attributes.getRequest();
|
|
|
|
|
String companyId = request.getHeader("companyId");
|
|
|
|
|
return companyId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 校验模板文件
|
|
|
|
|
*
|
|
|
|
|