dali-lyc / vue.js-springboot-demo

vue.js+springboot前后端分离demo
8 stars 9 forks source link

问题 #1

Open TcRan opened 7 years ago

TcRan commented 7 years ago

你写的里面能跑起来嘛?好像是有问题吧 image

TcRan commented 7 years ago

还有就是你RedisHelpe的getObject方法,有写嘛

dali-lyc commented 7 years ago

额,具体报什么问题?涉及到公司封装的redis组件,RedisHelper的内容并未上传,里面可以自行添加redis的常用命令操作。

TcRan commented 7 years ago

额,可能是我之前没弄好,现在能运行起来,能问下这个是干什么的嘛? image

dali-lyc commented 7 years ago

这个是接入单点登录的代码,可以忽略掉

TcRan commented 7 years ago

好的,谢谢

TcRan commented 7 years ago

我还想问个问题,在前后端完全分离的模式中,要想跳转到登陆前访问的页面,能做到嘛,页面的组建都是由前端所来写的,在我后端的代码中是没有页面的代码,这样还能实现嘛

TcRan commented 7 years ago

Information:java: Errors occurred while compiling module 'MileStone' Information:javac 1.8.0_121 was used to compile java sources Information:Module "MileStone" was fully rebuilt due to project configuration/dependencies changes Information:2017/9/3 20:36 - Compilation completed with 3 errors and 0 warnings in 4s 487ms D:\file from github\vue.js-springboot-demo-master\vue.js-springboot-demo-master\src\main\java\com\ly\milestone\controller\OauthController.java Error:(147, 36) java: 找不到符号 符号: 方法 del(java.lang.String) 位置: 类 com.ly.milestone.utils.RedisHelper D:\file from github\vue.js-springboot-demo-master\vue.js-springboot-demo-master\src\main\java\com\ly\milestone\service\impl\OauthServiceImpl.java Error:(89, 40) java: 找不到符号 符号: 方法 getObject(java.lang.String,java.lang.Class) 位置: 类 com.ly.milestone.utils.RedisHelper Error:(98, 28) java: 找不到符号 符号: 方法 setObject(java.lang.String,int,com.ly.milestone.model.UserInfo) 位置: 类 com.ly.milestone.utils.RedisHelper D:\file from github\vue.js-springboot-demo-master\vue.js-springboot-demo-master\src\main\java\com\ly\milestone\controller\RestfulController.java Information:java: 某些输入文件使用了未经检查或不安全的操作。 Information:java: 有关详细信息, 请使用 -Xlint:unchecked 重新编译。

以上是之前我运行的时候报的错,是因为RedisHelp里面没有东西的原因?