diff --git a/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java b/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java index 1883e64..3c56ea0 100644 --- a/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java +++ b/users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java @@ -235,9 +235,9 @@ public class AliRealNameAuthenticationController { @PostMapping("/organizationCertification") public R organizationCertification(@RequestBody EnterpriseCertification enterpriseCertification, HttpServletRequest request) throws IOException { - +/* String accountId = TokenUtils.getIdByJwtToken(request); - enterpriseCertification.setAccountId(Integer.valueOf(accountId)); + enterpriseCertification.setAccountId(Integer.valueOf(accountId));*/ enterpriseCertification.setSubmitTime(new Date()); String host = "https://sys.81api.com"; String path = "/verifyCompany/"; diff --git a/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java b/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java index ad1bd53..8d7c98b 100644 --- a/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java +++ b/users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java @@ -105,6 +105,11 @@ public class EnterpriseCertification implements Serializable { @TableField(exist = false) private Integer teamId; + @ApiModelProperty(value = "logo地址") + @TableField(exist = false) + private String logoUrl; + + @ApiModelProperty(value = "认证状态(0默认未认证 1.认证中2.已认证)") diff --git a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml index eaa50f4..3d597a3 100644 --- a/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml +++ b/users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml @@ -15,7 +15,8 @@ c.*, IFNULL( cla.province, '未完善' ) AS province, IFNULL( cla.city, '未完善' ) AS city, - cla.id AS teamId + cla.id AS teamId, + logo_url FROM hr_enterprise_certification c INNER JOIN hr_user_account a ON a.id = c.account_id @@ -78,7 +79,8 @@ c.*, IFNULL( cla.province, '未完善' ) AS province, IFNULL( cla.city, '未完善' ) AS city, - cla.id AS teamId + cla.id AS teamId, + logo_url FROM hr_enterprise_certification c INNER JOIN hr_user_account a ON a.id = c.account_id