年后本地代码可以正常启动,进行具体业务时不能正常连接leancloud
部署到服务器后连接是一切正常,年前本地代码也是没问题的
LeanEngine.initialize(appId, appKey, appMasterKey, hookKey);
GeneralRequestSignature.setMasterKey(appMasterKey);
LeanEngine.register(Cloud.class);
SpringApplication app = new SpringApplication(Application.class);
app.setDefaultProperties(Collections.singletonMap("server.port", port));
app.run(args);