he2802 пре 3 година
родитељ
комит
791bc08768

+ 7 - 2
zhongzheng-api/src/main/java/com/zhongzheng/controller/base/UserProfileStampController.java

@@ -25,7 +25,7 @@ import java.util.List;
 
 /**
  * 填写资料审核Controller
- * 
+ *
  * @author ruoyi
  * @date 2021-12-20
  */
@@ -80,7 +80,12 @@ public class UserProfileStampController extends BaseController {
     public AjaxResult<Void> addWord(@RequestBody UserProfileAddBo bo) {
         ClientLoginUser loginUser = wxTokenService.getLoginUser(ServletUtils.getRequest());
         bo.setUserId(loginUser.getUser().getUserId());
-        String s = iUserProfileService.addWord(bo);
+        String s =null;
+        try{
+            s = iUserProfileService.addWord(bo);
+        }catch (Exception e){
+
+        }
         return AjaxResult.success(s);
     }