|
@@ -160,11 +160,11 @@ public class LoginController {
|
|
|
public Result<JSONObject> wxlogin(@RequestParam(name = "code") String code) throws Exception {
|
|
public Result<JSONObject> wxlogin(@RequestParam(name = "code") String code) throws Exception {
|
|
|
Result<JSONObject> result = new Result<>();
|
|
Result<JSONObject> result = new Result<>();
|
|
|
val configStorage = new WxCpDefaultConfigImpl();
|
|
val configStorage = new WxCpDefaultConfigImpl();
|
|
|
- configStorage.setCorpId("ww24b8a47826f5875f");
|
|
|
|
|
|
|
+ configStorage.setCorpId(" wwef2e51064c0ac897");
|
|
|
configStorage.setAgentId(1000002);
|
|
configStorage.setAgentId(1000002);
|
|
|
- configStorage.setCorpSecret("MJIlySADGPlgvADnkFQPUpfZD4yV-4WN6066OgNnb0s");
|
|
|
|
|
- configStorage.setToken("hcst2019");
|
|
|
|
|
- configStorage.setAesKey("hcst2019");
|
|
|
|
|
|
|
+ configStorage.setCorpSecret("ieoVDAIurCOMdLrvktyQNCqWvTPqdphmXSFdk57NZ1k");
|
|
|
|
|
+ /* configStorage.setToken("hcst2019");
|
|
|
|
|
+ configStorage.setAesKey("hcst2019");*/
|
|
|
val service = new WxCpServiceImpl();
|
|
val service = new WxCpServiceImpl();
|
|
|
|
|
|
|
|
service.setWxCpConfigStorage(configStorage);
|
|
service.setWxCpConfigStorage(configStorage);
|