|
@@ -3,8 +3,11 @@ package com.zhongzheng.controller.base;
|
|
|
import com.zhongzheng.common.annotation.Log;
|
|
|
import com.zhongzheng.common.core.controller.BaseController;
|
|
|
import com.zhongzheng.common.core.domain.AjaxResult;
|
|
|
+import com.zhongzheng.common.core.domain.model.LoginUser;
|
|
|
import com.zhongzheng.common.core.page.TableDataInfo;
|
|
|
import com.zhongzheng.common.enums.BusinessType;
|
|
|
+import com.zhongzheng.common.utils.ServletUtils;
|
|
|
+import com.zhongzheng.framework.web.service.TokenService;
|
|
|
import com.zhongzheng.modules.base.bo.UserProfileEditBo;
|
|
|
import com.zhongzheng.modules.base.bo.UserProfileQueryBo;
|
|
|
import com.zhongzheng.modules.base.service.IUserProfileService;
|
|
@@ -32,6 +35,7 @@ public class UserProfileStampController extends BaseController {
|
|
|
|
|
|
private final IUserProfileService iUserProfileService;
|
|
|
|
|
|
+ private final TokenService tokenService;
|
|
|
/**
|
|
|
* 查询填写资料审核列表
|
|
|
*/
|
|
@@ -76,7 +80,8 @@ public class UserProfileStampController extends BaseController {
|
|
|
@Log(title = "填写盖章审核", businessType = BusinessType.UPDATE)
|
|
|
@PostMapping()
|
|
|
public AjaxResult<Void> edit(@RequestBody UserProfileEditBo bo) {
|
|
|
- return toAjax(iUserProfileService.updateAuditByEditBo(bo) ? 1 : 0);
|
|
|
+ LoginUser loginUser = tokenService.getLoginUser(ServletUtils.getRequest());
|
|
|
+ return toAjax(iUserProfileService.updateAuditByEditBo(bo,loginUser) ? 1 : 0);
|
|
|
}
|
|
|
|
|
|
}
|