增加音视频业务控制层
This commit is contained in:
@@ -1,6 +1,10 @@
|
|||||||
package com.nis.web.controller.configuration.ntc;
|
package com.nis.web.controller.configuration.ntc;
|
||||||
|
|
||||||
|
import javax.servlet.http.HttpServletRequest;
|
||||||
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.ui.Model;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -12,4 +16,34 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|||||||
@RequestMapping("${adminPath}/ntc/av")
|
@RequestMapping("${adminPath}/ntc/av")
|
||||||
public class AvController {
|
public class AvController {
|
||||||
|
|
||||||
|
//音频样例配置列表
|
||||||
|
@RequestMapping(value = {"/sample/audioList"})
|
||||||
|
public String audioList(Model model,HttpServletRequest request,HttpServletResponse response){
|
||||||
|
|
||||||
|
return "/cfg/av/sample/audioList";
|
||||||
|
}
|
||||||
|
//视频样例配置列表
|
||||||
|
@RequestMapping(value = {"/sample/vedioList"})
|
||||||
|
public String vedioList(Model model,HttpServletRequest request,HttpServletResponse response){
|
||||||
|
|
||||||
|
return "/cfg/av/sample/vedioList";
|
||||||
|
}
|
||||||
|
//图片样例配置列表
|
||||||
|
@RequestMapping(value = {"/sample/pictureList"})
|
||||||
|
public String pictureList(Model model,HttpServletRequest request,HttpServletResponse response){
|
||||||
|
|
||||||
|
return "/cfg/av/sample/pictureList";
|
||||||
|
}
|
||||||
|
//voip样例配置列表
|
||||||
|
@RequestMapping(value = {"/sample/voipList"})
|
||||||
|
public String voipList(Model model,HttpServletRequest request,HttpServletResponse response){
|
||||||
|
|
||||||
|
return "/cfg/av/sample/voipList";
|
||||||
|
}
|
||||||
|
//色情场景样例配置列表
|
||||||
|
@RequestMapping(value = {"/sample/pornList"})
|
||||||
|
public String pornList(Model model,HttpServletRequest request,HttpServletResponse response){
|
||||||
|
|
||||||
|
return "/cfg/av/sample/pornList";
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user