feat(sip): 添加 MaintenanceController 控制器

- 新增 MaintenanceController 类,用于处理维护服务相关的请求
- 添加服务页面的路由映射
- 该控制器具有权限控制注解,确保只有具有相应权限的用户可以访问
master
chenhao 2025-04-23 11:27:34 +08:00
parent e0ac776431
commit a044272f5c
1 changed files with 36 additions and 0 deletions

View File

@ -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";
}
}