Merge remote-tracking branch 'origin/cc_20230520_partner'

This commit is contained in:
zhangchenbiao
2023-07-07 12:49:41 +08:00
3 changed files with 34 additions and 16 deletions

View File

@@ -256,4 +256,14 @@ public class TestController {
hyPhoneLocationService.handleHyPhoneAddress(phone);
return ResponseResult.success(Boolean.TRUE);
}
@GetMapping("/getWechatAccessToken")
public ResponseResult getWechatAccessToken(@RequestParam(value = "appId")String appId, @RequestParam("appSecret")String appSecret){
try {
return ResponseResult.success(isvHttpRequest.getWechatAccessToken(appId, appSecret));
} catch (ApiException e) {
e.printStackTrace();
}
return null;
}
}