package com.javaweb.web.controller.demo.controller;
|
|
import org.springframework.stereotype.Controller;
|
import org.springframework.web.bind.annotation.GetMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
|
/**
|
* 图标相关
|
*
|
* @author javaweb
|
*/
|
@Controller
|
@RequestMapping("/demo/icon")
|
public class DemoIconController
|
{
|
private String prefix = "demo/icon";
|
|
/**
|
* FontAwesome图标
|
*/
|
@GetMapping("/fontawesome")
|
public String fontAwesome()
|
{
|
return prefix + "/fontawesome";
|
}
|
|
/**
|
* Glyphicons图标
|
*/
|
@GetMapping("/glyphicons")
|
public String glyphicons()
|
{
|
return prefix + "/glyphicons";
|
}
|
}
|