Browse Source

fix: 个人荣誉接口配置绕过token校验

zhangying 9 months ago
parent
commit
58a26990dc

+ 1 - 2
h5app/src/views/pages/jobUserInfo/userEdit.vue

@@ -829,8 +829,7 @@ export default defineComponent({
       }else if (curStepData.value.statusVal==3){
         await router.push({path: '/jobUserInfo/userEdit', query: {reload:0,jobUserID: baseInfoData.baseData.jobUserID,status:4,loginUserId:curStepData.value.loginUserID}});
       } else if (curStepData.value.statusVal == 4) {
-        await router.push({
-          path: '/jobUserInfo/userEdit',
+        await router.push({path: '/jobUserInfo/userEdit',
           query: {
             reload: 0,
             jobUserID: baseInfoData.baseData.jobUserID,

+ 6 - 0
src/main/java/com/hz/employmentsite/config/WebConfiguration.java

@@ -89,6 +89,12 @@ public class WebConfiguration implements WebMvcConfigurer {
         excludePath.add("/api/jobUserService/education/deleteEducation");//删除某求职人员单条教育经历
         excludePath.add("/api/jobUserService/jobHunt/delete");//删除某求职人员单条求职意向
 
+        excludePath.add("/api/jobUserService/honor/getById"); //获取单条个人荣誉
+        excludePath.add("/api/jobUserService/honor/getPageList"); //获取个人荣誉分页
+        excludePath.add("/api/jobUserService/honor/getList"); //获取某人的个人荣誉
+        excludePath.add("/api/jobUserService/honor/save"); //保存个人荣誉
+        excludePath.add("/api/jobUserService/honor/delete"); //删除个人荣誉
+
         excludePath.add("/api/user/getUserInfo");//查询当前登录人信息
         excludePath.add("/api/system/dictionary/getDictionaryItemByCodeList");//查询相关字典信息
         excludePath.add("/api/system/area/getCityList");//查询相关市区信息