忘了改了啥,修复LM-develop指出的 图标显示异常的bug

This commit is contained in:
郑杰
2018-09-26 17:17:25 +08:00
parent 32b286583e
commit fd6600e239
15 changed files with 35 additions and 17 deletions
-3
View File
@@ -1,17 +1,14 @@
package me.aurora;
import me.aurora.config.AuroraProperties;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.support.SpringBootServletInitializer;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.GetMapping;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@Controller
@EnableCaching
@@ -0,0 +1,21 @@
package me.aurora.app.rest.common;
import me.aurora.annotation.Log;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;
import org.springframework.web.servlet.ModelAndView;
/**
* 公共的controller
* @author 郑杰
* @date 2018/09/25 19:08:41
*/
@RestController
public class CommonController {
@Log("访问swagger页面")
@GetMapping(value = "/swagger/index")
public ModelAndView swagger(){
return new ModelAndView("/system/api/index");
}
}
@@ -1,5 +1,6 @@
package me.aurora.app.rest.ueditor;
import me.aurora.annotation.Log;
import me.aurora.config.baidu.ueditor.ActionEnter;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
@@ -16,8 +17,9 @@ import java.io.PrintWriter;
*/
@RestController
@RequestMapping("ueditor")
public class UEditorController {
public class UeditorController {
@Log("访问富文本编辑器")
@GetMapping(value = "/index")
private ModelAndView index(){
return new ModelAndView("/ueditor/index");
@@ -31,7 +31,5 @@ public class ConfigurerAdapter implements WebMvcConfigurer {
//跳转登陆注册页面
registry.addViewController("/login.html").setViewName("/user/login");
registry.addViewController("/signUp.html").setViewName("/register");
//跳转到swagger页面
registry.addViewController("/swagger/index").setViewName("/system/api/index");
}
}