main
rong.liu 11 months ago
parent d40f448e8d
commit 556a9fd58f
  1. 6
      users/src/main/java/com/huoran/users/controller/EnterpriseCertificationController.java

@ -94,11 +94,11 @@ public class EnterpriseCertificationController {
@PostMapping("/informationAudit") @PostMapping("/informationAudit")
@ApiOperation(value = "信息审核", response = EnterpriseCertification.class) @ApiOperation(value = "信息审核", response = EnterpriseCertification.class)
public R informationAudit(@ApiParam(name = "auditStatus", value = "审核状态(2.通过,3.不通过)", required = true)@RequestParam Integer auditStatus, public R informationAudit(@ApiParam(name = "auditStatus", value = "审核状态(2.通过,3.不通过)", required = true)@RequestParam Integer auditStatus,
@ApiParam(name = "id", value = "主键", required = true) @RequestParam Integer id, HttpServletRequest request) { @ApiParam(name = "id", value = "主键", required = true) @RequestParam Integer id) {
String accountId = TokenUtils.getIdByJwtToken(request); // String accountId = TokenUtils.getIdByJwtToken(request);
EnterpriseCertification enterpriseCertification = new EnterpriseCertification(); EnterpriseCertification enterpriseCertification = new EnterpriseCertification();
enterpriseCertification.setAccountId(Integer.valueOf(accountId)); // enterpriseCertification.setAccountId(Integer.valueOf(accountId));
enterpriseCertification.setAuditStatus(auditStatus); enterpriseCertification.setAuditStatus(auditStatus);
enterpriseCertification.setId(id); enterpriseCertification.setId(id);
switch (auditStatus) { switch (auditStatus) {

Loading…
Cancel
Save