he2802 3 år sedan
förälder
incheckning
a4427939a8

+ 2 - 3
zhongzheng-admin/src/main/java/com/zhongzheng/controller/base/UserProfileController.java

@@ -155,8 +155,7 @@ public class UserProfileController extends BaseController {
     @PreAuthorize("@ss.hasPermi('system:profile:edit')")
     @Log(title = "填写资料审核", businessType = BusinessType.UPDATE)
     @PostMapping("/test")
-    public AjaxResult<Void> test(@RequestBody UserProfileAddBo bo) throws IOException {
-        iUserProfileService.testWord(bo);
-        return toAjax(0);
+    public AjaxResult test(@RequestBody UserProfileAddBo bo) throws IOException {
+        return AjaxResult.success(iUserProfileService.testWord(bo));
     }
 }

+ 2 - 2
zhongzheng-system/src/main/java/com/zhongzheng/modules/system/service/impl/SysOperLogServiceImpl.java

@@ -30,8 +30,8 @@ public class SysOperLogServiceImpl extends ServiceImpl<SysOperLogMapper, SysOper
      */
     @Override
     public void insertOperlog(SysOperLog operLog) {
-        operLog.setOperTime(new Date());
-        save(operLog);
+       /* operLog.setOperTime(new Date());
+        save(operLog);*/
     }
 
     /**