🚧 更新api地址

This commit is contained in:
陈宁 2023-06-05 11:45:09 +08:00
parent 705eb5fa21
commit 5471c51c4a

View File

@ -18,13 +18,12 @@ import org.springframework.web.bind.annotation.*;
@RestController
@EnableResponseAdvice(enable = false)
@RequiredArgsConstructor
@RequestMapping("cp/tp/api/callback")
@RequestMapping("webApi/open/cp/tp/callback")
public class CpTpApiController {
private final WxCpTpProcessorFactory wxCpProcessorFactory;
@GetMapping(produces = "text/plain;charset=utf-8")
public String authGet(@PathVariable String corpId,
@PathVariable Integer agentId,
@RequestParam(name = "msg_signature", required = false) String signature,
@RequestParam(name = "timestamp", required = false) String timestamp,
@RequestParam(name = "nonce", required = false) String nonce,