|
|
@ -1,6 +1,5 @@ |
|
|
|
package com.ynxbd.push.controller; |
|
|
|
package com.ynxbd.push.controller; |
|
|
|
|
|
|
|
|
|
|
|
import com.ynxbd.push.httpRequest.xbd.wx.WxCacheRequest; |
|
|
|
|
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.GetMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RequestMapping; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
|
import org.springframework.web.bind.annotation.RestController; |
|
|
@ -11,8 +10,6 @@ public class TestController { |
|
|
|
|
|
|
|
|
|
|
|
@GetMapping("test01") |
|
|
|
@GetMapping("test01") |
|
|
|
public String test01() { |
|
|
|
public String test01() { |
|
|
|
String accessToken = WxCacheRequest.getAccessToken(); |
|
|
|
|
|
|
|
System.out.println(accessToken); |
|
|
|
|
|
|
|
return "success"; |
|
|
|
return "success"; |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|