main
rong.liu 11 months ago
parent 986388cde5
commit cfeb9c3073
  1. 4
      users/src/main/java/com/huoran/users/controller/AliRealNameAuthenticationController.java
  2. 5
      users/src/main/java/com/huoran/users/entity/EnterpriseCertification.java
  3. 6
      users/src/main/java/com/huoran/users/mapper/xml/EnterpriseCertificationMapper.xml

@ -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/";

@ -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.已认证)")

@ -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

Loading…
Cancel
Save