改成post

This commit is contained in:
tianfeng 2025-12-05 20:07:10 +08:00
parent 5a6d1dfb64
commit 58596d0f21

View File

@ -130,7 +130,7 @@ public class FreightRestController extends BaseController {
return userFreightService.sendFreightShip(cmd); return userFreightService.sendFreightShip(cmd);
} }
@PutMapping("/threshold") @PostMapping("/threshold")
public Boolean updateFreightBalance(@RequestBody @Validated FreightBalanceUpdateCmd cmd) { public Boolean updateFreightBalance(@RequestBody @Validated FreightBalanceUpdateCmd cmd) {
// 校验日期是否为每月一号 // 校验日期是否为每月一号
LocalDate today = LocalDate.now(); LocalDate today = LocalDate.now();