微信接口

This commit is contained in:
huangdeliang 2021-01-29 16:07:47 +08:00
parent e1cff320bd
commit 6f5e72fb33
2 changed files with 5 additions and 4 deletions

View File

@ -8,10 +8,10 @@ import org.springframework.web.bind.annotation.*;
@RequestMapping("/wx") @RequestMapping("/wx")
public class CusWxController extends BaseController { public class CusWxController extends BaseController {
// @GetMapping("/push") @GetMapping("/")
// public String msgPushTest(@PathVariable("echostr") String echostr) { public boolean wxCheckAuth() {
// return echostr; return true;
// } }
// //
// @PostMapping("/push") // @PostMapping("/push")
// public void msgPush(@RequestBody WxPush pushMsg) { // public void msgPush(@RequestBody WxPush pushMsg) {

View File

@ -101,6 +101,7 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter {
"/custom/contract/file/**", "/custom/contract/file/**",
"/custom/wxUserInfo/wx/**", "/custom/wxUserInfo/wx/**",
"/custom/wxUserLog/wx/**", "/custom/wxUserLog/wx/**",
"/wx/**",
"/investigate/**", "/investigate/**",
"/common/customerUploadFile" "/common/customerUploadFile"
).anonymous() ).anonymous()