年后本地代码可以正常启动,进行具体业务时不能正常连接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);-
创建时间
22年2月8日
-
最后回复
22年2月9日
- 1
回复
- 176
浏览
- 2
用户
- 1
链接