微信接口

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")
public class CusWxController extends BaseController {
// @GetMapping("/push")
// public String msgPushTest(@PathVariable("echostr") String echostr) {
// return echostr;
// }
@GetMapping("/")
public boolean wxCheckAuth() {
return true;
}
//
// @PostMapping("/push")
// public void msgPush(@RequestBody WxPush pushMsg) {

View File

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