feat(sip): 添加 MaintenanceController 控制器
- 新增 MaintenanceController 类,用于处理维护服务相关的请求 - 添加服务页面的路由映射 - 该控制器具有权限控制注解,确保只有具有相应权限的用户可以访问master
parent
e0ac776431
commit
a044272f5c
|
@ -0,0 +1,36 @@
|
||||||
|
package com.ruoyi.sip.controller;
|
||||||
|
|
||||||
|
|
||||||
|
import com.ruoyi.sip.service.IOrderDeliveryService;
|
||||||
|
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
|
import org.springframework.web.bind.annotation.GetMapping;
|
||||||
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @author : ch
|
||||||
|
* @version : 1.0
|
||||||
|
* @ClassName : MaintenanceController
|
||||||
|
* @Description :
|
||||||
|
* @DATE : Created in 11:25 2025/4/23
|
||||||
|
* <pre> Copyright: Copyright(c) 2025 </pre>
|
||||||
|
* <pre> Company : 紫光汇智信息技术有限公司 </pre>
|
||||||
|
* Modification History:
|
||||||
|
* Date Author Version Discription
|
||||||
|
* --------------------------------------------------------------------------
|
||||||
|
* 2025/04/23 ch 1.0 Why & What is modified: <修改原因描述> *
|
||||||
|
*/
|
||||||
|
@Controller
|
||||||
|
@RequestMapping("/manage/service")
|
||||||
|
public class MaintenanceController {
|
||||||
|
private String prefix = "manage/service";
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@GetMapping()
|
||||||
|
public String service()
|
||||||
|
{
|
||||||
|
return prefix + "/service";
|
||||||
|
}
|
||||||
|
}
|
Loading…
Reference in New Issue