省侧大屏

This commit is contained in:
cwchen 2024-03-27 10:25:04 +08:00
parent 8b169cde50
commit f63da34fab
6 changed files with 77 additions and 8 deletions

View File

@ -15,18 +15,16 @@ spring:
cloud: cloud:
nacos: nacos:
discovery: discovery:
username: nacos
password: nacos
namespace: jjzhgd
# 服务注册地址 # 服务注册地址
server-addr: 127.0.0.1:8848 server-addr: 127.0.0.1:8848
# server-addr: 27.196.164.56:8848
namespace: jjzhgd
username: nacos
password: Jjsp@nacos2023
config: config:
# server-addr: 27.196.164.56:8848
server-addr: 127.0.0.1:8848
namespace: jjzhgd
username: nacos username: nacos
password: Jjsp@nacos2023 password: nacos
namespace: jjzhgd
server-addr: 127.0.0.1:8848
# 配置文件格式 # 配置文件格式
file-extension: yml file-extension: yml
# 共享配置 # 共享配置

View File

@ -0,0 +1,21 @@
package com.securitycontrol.screen.controller;
import com.securitycontrol.screen.service.IScIndexService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import javax.annotation.Resource;
/**
* @authorcwchen
* @date2024-03-27-10:13
* @version1.0
* @description省侧大屏-web
*/
@RestController
@RequestMapping("/screen/scIndex/")
public class ScIndexController {
@Resource(name = "IScIndexService")
private IScIndexService service;
}

View File

@ -0,0 +1,13 @@
package com.securitycontrol.screen.mapper;
import org.springframework.stereotype.Repository;
/**
* @authorcwchen
* @date2024-03-27-10:15
* @version1.0
* @description省侧大屏
*/
@Repository(value = "IScIndexMapper")
public interface IScIndexMapper {
}

View File

@ -0,0 +1,10 @@
package com.securitycontrol.screen.service;
/**
* @authorcwchen
* @date2024-03-27-10:14
* @version1.0
* @description省侧大屏-业务层
*/
public interface IScIndexService {
}

View File

@ -0,0 +1,22 @@
package com.securitycontrol.screen.service.impl;
import com.securitycontrol.screen.mapper.IScIndexMapper;
import com.securitycontrol.screen.service.IScIndexService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
/**
* @authorcwchen
* @date2024-03-27-10:14
* @version1.0
* @description省侧大屏-业务逻辑层
*/
@Slf4j
@Service(value = "IScIndexService")
public class ScIndexServiceImpl implements IScIndexService {
@Resource(name = "IScIndexMapper")
private IScIndexMapper mapper;
}

View File

@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.securitycontrol.screen.mapper.IScIndexMapper">
</mapper>