修改注释
This commit is contained in:
parent
4c6123a0af
commit
d173428d2b
|
|
@ -6,6 +6,7 @@ import java.util.Map;
|
||||||
* 短信服务API
|
* 短信服务API
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface SmsApi {
|
public interface SmsApi {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import java.io.InputStream;
|
||||||
* 存储服务API
|
* 存储服务API
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface StorageApi {
|
public interface StorageApi {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import java.util.Map;
|
||||||
* 短信服务Api
|
* 短信服务Api
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 短信平台 Cache
|
* 短信平台 Cache
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 短信发送 Cache
|
* 短信发送 Cache
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
* 短信日志
|
* 短信日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("message/sms/log")
|
@RequestMapping("message/sms/log")
|
||||||
|
|
|
||||||
|
|
@ -29,6 +29,7 @@ import java.util.Map;
|
||||||
* 短信平台
|
* 短信平台
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("message/sms/platform")
|
@RequestMapping("message/sms/platform")
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import java.util.Date;
|
||||||
* 短信日志
|
* 短信日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 短信平台
|
* 短信平台
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import lombok.Getter;
|
||||||
* 短信平台枚举
|
* 短信平台枚举
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import net.maku.message.vo.SmsLogVO;
|
||||||
* 短信日志
|
* 短信日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface SmsLogService extends BaseService<SmsLogEntity> {
|
public interface SmsLogService extends BaseService<SmsLogEntity> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import java.util.List;
|
||||||
* 短信平台
|
* 短信平台
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface SmsPlatformService extends BaseService<SmsPlatformEntity> {
|
public interface SmsPlatformService extends BaseService<SmsPlatformEntity> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 短信日志
|
* 短信日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ import java.util.List;
|
||||||
* 短信平台
|
* 短信平台
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -17,6 +17,7 @@ import java.util.Map;
|
||||||
* 阿里云短信
|
* 阿里云短信
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
public class AliyunSmsStrategy implements SmsStrategy {
|
public class AliyunSmsStrategy implements SmsStrategy {
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ import java.util.*;
|
||||||
* 华为云短信
|
* 华为云短信
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class HuaweiSmsStrategy implements SmsStrategy {
|
public class HuaweiSmsStrategy implements SmsStrategy {
|
||||||
// 无需修改,用于格式化鉴权头域,给"X-WSSE"参数赋值
|
// 无需修改,用于格式化鉴权头域,给"X-WSSE"参数赋值
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.Map;
|
||||||
* 七牛云短信
|
* 七牛云短信
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class QiniuSmsStrategy implements SmsStrategy {
|
public class QiniuSmsStrategy implements SmsStrategy {
|
||||||
private final SmsConfig smsConfig;
|
private final SmsConfig smsConfig;
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import java.util.Map;
|
||||||
* 短信 Context
|
* 短信 Context
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class SmsContext {
|
public class SmsContext {
|
||||||
private final SmsStrategy smsStrategy;
|
private final SmsStrategy smsStrategy;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import java.util.Map;
|
||||||
* 短信
|
* 短信
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface SmsStrategy {
|
public interface SmsStrategy {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ import java.util.Map;
|
||||||
* 腾讯云短信
|
* 腾讯云短信
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class TencentSmsStrategy implements SmsStrategy {
|
public class TencentSmsStrategy implements SmsStrategy {
|
||||||
private final SmsConfig smsConfig;
|
private final SmsConfig smsConfig;
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 短信配置项
|
* 短信配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class SmsConfig {
|
public class SmsConfig {
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@ import java.util.Map;
|
||||||
* 短信服务
|
* 短信服务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.Date;
|
||||||
* 短信平台
|
* 短信平台
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@Schema(description = "短信平台")
|
@Schema(description = "短信平台")
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.Properties;
|
||||||
* 定时任务配置
|
* 定时任务配置
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
public class ScheduleConfig {
|
public class ScheduleConfig {
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@ import java.util.List;
|
||||||
* 定时任务
|
* 定时任务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("schedule")
|
@RequestMapping("schedule")
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
* 定时任务日志
|
* 定时任务日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("schedule/log")
|
@RequestMapping("schedule/log")
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import java.util.Date;
|
||||||
* 定时任务
|
* 定时任务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@TableName("schedule_job")
|
@TableName("schedule_job")
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.Date;
|
||||||
* 定时任务日志
|
* 定时任务日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@TableName("schedule_job_log")
|
@TableName("schedule_job_log")
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import lombok.Getter;
|
||||||
* 定时任务并发枚举
|
* 定时任务并发枚举
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import lombok.Getter;
|
||||||
* 定时任务状态枚举
|
* 定时任务状态枚举
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Getter
|
@Getter
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import net.maku.quartz.vo.ScheduleJobLogVO;
|
||||||
* 定时任务日志
|
* 定时任务日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface ScheduleJobLogService extends BaseService<ScheduleJobLogEntity> {
|
public interface ScheduleJobLogService extends BaseService<ScheduleJobLogEntity> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.List;
|
||||||
* 定时任务
|
* 定时任务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public interface ScheduleJobService extends BaseService<ScheduleJobEntity> {
|
public interface ScheduleJobService extends BaseService<ScheduleJobEntity> {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 定时任务日志
|
* 定时任务日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ import java.util.List;
|
||||||
* 定时任务
|
* 定时任务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 测试定时任务
|
* 测试定时任务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Slf4j
|
@Slf4j
|
||||||
@Service
|
@Service
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import java.util.Date;
|
||||||
* cron 工具类
|
* cron 工具类
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class CronUtils {
|
public class CronUtils {
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ package net.maku.quartz.utils;
|
||||||
* 允许并发(不会等待上一次任务执行完毕,只要时间到就会执行)
|
* 允许并发(不会等待上一次任务执行完毕,只要时间到就会执行)
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
public class ScheduleConcurrentExecution extends AbstractScheduleJob {
|
public class ScheduleConcurrentExecution extends AbstractScheduleJob {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import org.quartz.DisallowConcurrentExecution;
|
||||||
* 禁止并发
|
* 禁止并发
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
@DisallowConcurrentExecution
|
@DisallowConcurrentExecution
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import org.quartz.*;
|
||||||
* 定时任务工具类
|
* 定时任务工具类
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class ScheduleUtils {
|
public class ScheduleUtils {
|
||||||
private final static String JOB_NAME = "TASK_NAME_";
|
private final static String JOB_NAME = "TASK_NAME_";
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
* 新模块测试
|
* 新模块测试
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("new/test")
|
@RequestMapping("new/test")
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.Map;
|
||||||
* 登录配置信息
|
* 登录配置信息
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
public class LoginConfig {
|
public class LoginConfig {
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import org.springframework.stereotype.Component;
|
||||||
* 认证事件处理
|
* 认证事件处理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 手机验证码登录 MobileUserDetailsService
|
* 手机验证码登录 MobileUserDetailsService
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 短信验证码效验
|
* 短信验证码效验
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import org.springframework.stereotype.Service;
|
||||||
* 账号登录 UserDetailsService
|
* 账号登录 UserDetailsService
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import org.springframework.web.servlet.config.annotation.WebMvcConfigurer;
|
||||||
* 本地资源映射配置
|
* 本地资源映射配置
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnProperty(prefix = "storage", value = "enabled")
|
@ConditionalOnProperty(prefix = "storage", value = "enabled")
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,8 @@ import org.springframework.context.annotation.Configuration;
|
||||||
* 存储配置文件
|
* 存储配置文件
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@EnableConfigurationProperties(StorageProperties.class)
|
@EnableConfigurationProperties(StorageProperties.class)
|
||||||
|
|
|
||||||
|
|
@ -4,6 +4,7 @@ package net.maku.storage.enums;
|
||||||
* 存储类型枚举
|
* 存储类型枚举
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public enum StorageTypeEnum {
|
public enum StorageTypeEnum {
|
||||||
/**
|
/**
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 阿里云存储配置项
|
* 阿里云存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class AliyunStorageProperties {
|
public class AliyunStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 华为云存储配置项
|
* 华为云存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class HuaweiStorageProperties {
|
public class HuaweiStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 本地存储配置项
|
* 本地存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class LocalStorageProperties {
|
public class LocalStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* Minio存储配置项
|
* Minio存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class MinioStorageProperties {
|
public class MinioStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 七牛云存储配置项
|
* 七牛云存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class QiniuStorageProperties {
|
public class QiniuStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import org.springframework.context.annotation.Bean;
|
||||||
* 存储配置项
|
* 存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@ConfigurationProperties(prefix = "storage")
|
@ConfigurationProperties(prefix = "storage")
|
||||||
|
|
|
||||||
|
|
@ -6,6 +6,7 @@ import lombok.Data;
|
||||||
* 腾讯云存储配置项
|
* 腾讯云存储配置项
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
public class TencentStorageProperties {
|
public class TencentStorageProperties {
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.io.InputStream;
|
||||||
* 阿里云存储
|
* 阿里云存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class AliyunStorageService extends StorageService {
|
public class AliyunStorageService extends StorageService {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.io.InputStream;
|
||||||
* 华为云存储
|
* 华为云存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class HuaweiStorageService extends StorageService {
|
public class HuaweiStorageService extends StorageService {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import java.nio.file.Files;
|
||||||
* 本地存储
|
* 本地存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class LocalStorageService extends StorageService {
|
public class LocalStorageService extends StorageService {
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import java.io.InputStream;
|
||||||
* Minio存储
|
* Minio存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class MinioStorageService extends StorageService {
|
public class MinioStorageService extends StorageService {
|
||||||
private final MinioClient minioClient;
|
private final MinioClient minioClient;
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ import java.io.InputStream;
|
||||||
* 七牛云存储
|
* 七牛云存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class QiniuStorageService extends StorageService {
|
public class QiniuStorageService extends StorageService {
|
||||||
private final UploadManager uploadManager;
|
private final UploadManager uploadManager;
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.Date;
|
||||||
* 存储服务
|
* 存储服务
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public abstract class StorageService {
|
public abstract class StorageService {
|
||||||
public StorageProperties properties;
|
public StorageProperties properties;
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import java.io.InputStream;
|
||||||
* 腾讯云存储
|
* 腾讯云存储
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
public class TencentStorageService extends StorageService {
|
public class TencentStorageService extends StorageService {
|
||||||
private final COSCredentials cred;
|
private final COSCredentials cred;
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.io.InputStream;
|
||||||
* 存储服务Api
|
* 存储服务Api
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Component
|
@Component
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -14,6 +14,7 @@ import java.util.stream.Collectors;
|
||||||
* 参数管理 Cache
|
* 参数管理 Cache
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Service
|
@Service
|
||||||
@AllArgsConstructor
|
@AllArgsConstructor
|
||||||
|
|
|
||||||
|
|
@ -7,6 +7,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
* 首页 欢迎信息
|
* 首页 欢迎信息
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
public class IndexController {
|
public class IndexController {
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import java.util.List;
|
||||||
* 附件管理
|
* 附件管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/attachment")
|
@RequestMapping("sys/attachment")
|
||||||
|
|
|
||||||
|
|
@ -18,6 +18,7 @@ import org.springframework.web.bind.annotation.*;
|
||||||
* 认证管理
|
* 认证管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/auth")
|
@RequestMapping("sys/auth")
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ import java.util.List;
|
||||||
* 字典数据
|
* 字典数据
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/dict/data")
|
@RequestMapping("sys/dict/data")
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ import java.util.List;
|
||||||
* 字典类型
|
* 字典类型
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/dict/type")
|
@RequestMapping("sys/dict/type")
|
||||||
|
|
|
||||||
|
|
@ -16,6 +16,7 @@ import org.springframework.web.multipart.MultipartFile;
|
||||||
* 文件上传
|
* 文件上传
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/file")
|
@RequestMapping("sys/file")
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import org.springframework.web.bind.annotation.RestController;
|
||||||
* 登录日志
|
* 登录日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/log/login")
|
@RequestMapping("sys/log/login")
|
||||||
|
|
|
||||||
|
|
@ -24,6 +24,7 @@ import java.util.Set;
|
||||||
* 菜单管理
|
* 菜单管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/menu")
|
@RequestMapping("sys/menu")
|
||||||
|
|
|
||||||
|
|
@ -19,6 +19,7 @@ import java.util.List;
|
||||||
* 机构管理
|
* 机构管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/org")
|
@RequestMapping("sys/org")
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,7 @@ import java.util.List;
|
||||||
* 参数管理
|
* 参数管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/params")
|
@RequestMapping("sys/params")
|
||||||
|
|
|
||||||
|
|
@ -22,6 +22,7 @@ import java.util.List;
|
||||||
* 岗位管理
|
* 岗位管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/post")
|
@RequestMapping("sys/post")
|
||||||
|
|
|
||||||
|
|
@ -27,6 +27,7 @@ import java.util.List;
|
||||||
* 角色管理
|
* 角色管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/role")
|
@RequestMapping("sys/role")
|
||||||
|
|
|
||||||
|
|
@ -30,6 +30,7 @@ import java.util.List;
|
||||||
* 用户管理
|
* 用户管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@RestController
|
@RestController
|
||||||
@RequestMapping("sys/user")
|
@RequestMapping("sys/user")
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 附件管理
|
* 附件管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysAttachmentConvert {
|
public interface SysAttachmentConvert {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 登录日志
|
* 登录日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysLogLoginConvert {
|
public interface SysLogLoginConvert {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 参数管理
|
* 参数管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysParamsConvert {
|
public interface SysParamsConvert {
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||||
* 附件管理
|
* 附件管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysAttachmentDao extends BaseDao<SysAttachmentEntity> {
|
public interface SysAttachmentDao extends BaseDao<SysAttachmentEntity> {
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import java.util.List;
|
||||||
* 字典数据
|
* 字典数据
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysDictDataDao extends BaseDao<SysDictDataEntity> {
|
public interface SysDictDataDao extends BaseDao<SysDictDataEntity> {
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||||
* 字典类型
|
* 字典类型
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysDictTypeDao extends BaseDao<SysDictTypeEntity> {
|
public interface SysDictTypeDao extends BaseDao<SysDictTypeEntity> {
|
||||||
|
|
|
||||||
|
|
@ -8,6 +8,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||||
* 登录日志
|
* 登录日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysLogLoginDao extends BaseDao<SysLogLoginEntity> {
|
public interface SysLogLoginDao extends BaseDao<SysLogLoginEntity> {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 菜单管理
|
* 菜单管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysMenuDao extends BaseDao<SysMenuEntity> {
|
public interface SysMenuDao extends BaseDao<SysMenuEntity> {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.Map;
|
||||||
* 机构管理
|
* 机构管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysOrgDao extends BaseDao<SysOrgEntity> {
|
public interface SysOrgDao extends BaseDao<SysOrgEntity> {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import org.apache.ibatis.annotations.Mapper;
|
||||||
* 参数管理
|
* 参数管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysParamsDao extends BaseDao<SysParamsEntity> {
|
public interface SysParamsDao extends BaseDao<SysParamsEntity> {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import org.apache.ibatis.annotations.Param;
|
||||||
* 角色管理
|
* 角色管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysRoleDao extends BaseDao<SysRoleEntity> {
|
public interface SysRoleDao extends BaseDao<SysRoleEntity> {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 角色数据权限
|
* 角色数据权限
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysRoleDataScopeDao extends BaseDao<SysRoleDataScopeEntity> {
|
public interface SysRoleDataScopeDao extends BaseDao<SysRoleDataScopeEntity> {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 角色与菜单对应关系
|
* 角色与菜单对应关系
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysRoleMenuDao extends BaseDao<SysRoleMenuEntity> {
|
public interface SysRoleMenuDao extends BaseDao<SysRoleMenuEntity> {
|
||||||
|
|
|
||||||
|
|
@ -13,6 +13,7 @@ import java.util.Map;
|
||||||
* 系统用户
|
* 系统用户
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysUserDao extends BaseDao<SysUserEntity> {
|
public interface SysUserDao extends BaseDao<SysUserEntity> {
|
||||||
|
|
|
||||||
|
|
@ -11,6 +11,7 @@ import java.util.List;
|
||||||
* 用户角色关系
|
* 用户角色关系
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Mapper
|
@Mapper
|
||||||
public interface SysUserRoleDao extends BaseDao<SysUserRoleEntity> {
|
public interface SysUserRoleDao extends BaseDao<SysUserRoleEntity> {
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 附件管理
|
* 附件管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 数据字典
|
* 数据字典
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 字典类型
|
* 字典类型
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
|
||||||
|
|
@ -12,6 +12,7 @@ import java.util.Date;
|
||||||
* 登录日志
|
* 登录日志
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@TableName("sys_log_login")
|
@TableName("sys_log_login")
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 菜单管理
|
* 菜单管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
|
|
|
||||||
|
|
@ -10,6 +10,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 机构管理
|
* 机构管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 参数管理
|
* 参数管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = false)
|
@EqualsAndHashCode(callSuper = false)
|
||||||
|
|
|
||||||
|
|
@ -9,6 +9,7 @@ import net.maku.framework.mybatis.entity.BaseEntity;
|
||||||
* 岗位管理
|
* 岗位管理
|
||||||
*
|
*
|
||||||
* @author 阿沐 babamu@126.com
|
* @author 阿沐 babamu@126.com
|
||||||
|
* <a href="https://maku.net">MAKU</a>
|
||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper=false)
|
@EqualsAndHashCode(callSuper=false)
|
||||||
|
|
|
||||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user