Commit 0cd0c7a20eca18f94372f3d3306ef8d2254a56ab
1 parent
8709acca
feat: 修改放行路径问题
Showing
2 changed files
with
6 additions
and
1 deletions
trash-framework/src/main/java/com/trash/framework/config/SecurityConfig.java
| @@ -118,7 +118,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter | @@ -118,7 +118,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter | ||
| 118 | // .antMatchers("/druid/**").anonymous() | 118 | // .antMatchers("/druid/**").anonymous() |
| 119 | .antMatchers("/webjars/**").anonymous() | 119 | .antMatchers("/webjars/**").anonymous() |
| 120 | .antMatchers("/user/login").anonymous() | 120 | .antMatchers("/user/login").anonymous() |
| 121 | - .antMatchers("/order/webDetail/**").anonymous() | 121 | +// .antMatchers("/order/webDetail/**").anonymous() |
| 122 | .antMatchers("/user/send/verify").anonymous() | 122 | .antMatchers("/user/send/verify").anonymous() |
| 123 | // .antMatchers("/user/logout").anonymous() | 123 | // .antMatchers("/user/logout").anonymous() |
| 124 | .antMatchers("/system/post/all").anonymous() | 124 | .antMatchers("/system/post/all").anonymous() |
trash-garbage/src/main/java/com/trash/garbage/service/impl/GarOrderServiceImpl.java
| @@ -459,6 +459,11 @@ public class GarOrderServiceImpl extends ServiceImpl<GarOrderMapper, GarOrder> | @@ -459,6 +459,11 @@ public class GarOrderServiceImpl extends ServiceImpl<GarOrderMapper, GarOrder> | ||
| 459 | vo.setGarOrderHandleTel(driverVos.get(0).getPhoneNo()); | 459 | vo.setGarOrderHandleTel(driverVos.get(0).getPhoneNo()); |
| 460 | } | 460 | } |
| 461 | } | 461 | } |
| 462 | + // 获取车辆信息 | ||
| 463 | + LambdaQueryWrapper<GarOrderCar> qwc = new LambdaQueryWrapper<>(); | ||
| 464 | + qwc.eq(GarOrderCar::getGarOrderId, id); | ||
| 465 | + List<GarOrderCar> carList = garOrderCarService.list(qwc); | ||
| 466 | + vo.setGarCarInfoList(carList); | ||
| 462 | return vo; | 467 | return vo; |
| 463 | } | 468 | } |
| 464 | 469 |