🐛 PAY:修复支付回调时,查询 PayOrderApi getOrder 需要登录的问题

This commit is contained in:
YunaiV 2023-12-29 12:36:33 +08:00
parent e007a44315
commit 4e2630ef14

View File

@ -8,6 +8,7 @@ import io.swagger.v3.oas.annotations.Operation;
import io.swagger.v3.oas.annotations.Parameter;
import io.swagger.v3.oas.annotations.Parameters;
import io.swagger.v3.oas.annotations.tags.Tag;
import jakarta.annotation.security.PermitAll;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.*;
@ -26,6 +27,7 @@ public interface PayOrderApi {
@GetMapping(PREFIX + "/get")
@Operation(summary = "获得支付单")
@Parameter(name = "id", description = "支付单编号", example = "1", required = true)
@PermitAll
CommonResult<PayOrderRespDTO> getOrder(@RequestParam("id") Long id);
@PutMapping(PREFIX + "/update-price")