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")
@ApiOperation(value = "信息审核", response = EnterpriseCertification.class)
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) {
String accountId = TokenUtils.getIdByJwtToken(request);
@ApiParam(name = "id", value = "主键", required = true) @RequestParam Integer id) {
// String accountId = TokenUtils.getIdByJwtToken(request);
EnterpriseCertification enterpriseCertification = new EnterpriseCertification();
enterpriseCertification.setAccountId(Integer.valueOf(accountId));
// enterpriseCertification.setAccountId(Integer.valueOf(accountId));
enterpriseCertification.setAuditStatus(auditStatus);
enterpriseCertification.setId(id);
switch (auditStatus) {

Loading…
Cancel
Save