|
@@ -45,7 +45,7 @@ public class ApiController {
|
|
|
* @param request
|
|
|
* @param response
|
|
|
*/
|
|
|
- @GetMapping("/api/wxOpen")
|
|
|
+ @GetMapping("/follow/wxOpen")
|
|
|
public void get(HttpServletRequest request, HttpServletResponse response) {
|
|
|
// 微信加密签名,signature结合了开发者填写的token参数和请求中的timestamp参数、nonce参数。
|
|
|
String signature = request.getParameter("signature");
|
|
@@ -78,7 +78,7 @@ public class ApiController {
|
|
|
* @param request
|
|
|
* @param response
|
|
|
*/
|
|
|
- @PostMapping("/api/wxOpen")
|
|
|
+ @PostMapping("/follow/wxOpen")
|
|
|
public void officialCallback(HttpServletRequest request, HttpServletResponse response) {
|
|
|
apiService.officialCallback(request, response);
|
|
|
}
|