update
This commit is contained in:
@@ -1,7 +0,0 @@
|
||||
package com.lovenav.controller;
|
||||
|
||||
import org.springframework.web.bind.annotation.RestController;
|
||||
|
||||
@RestController
|
||||
public class AdminController {
|
||||
}
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Admin;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,6 +1,5 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.AdminMeta;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Attachment;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Auth;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Banners;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.CollectIconList;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Comment;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Config;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.LoginLogs;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Notice;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.Role;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.UrlAccess;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.UrlCateList;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.UrlList;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.User;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.mapper;
|
||||
package com.lovenav.dao;
|
||||
|
||||
import com.lovenav.entity.UserMeta;
|
||||
import org.springframework.stereotype.Repository;
|
@@ -1,48 +0,0 @@
|
||||
package com.lovenav.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* ln_admin
|
||||
*/
|
||||
@Data
|
||||
public class Admin implements Serializable {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 管理员登录账号
|
||||
*/
|
||||
private String adminAccount;
|
||||
|
||||
/**
|
||||
* 管理员登录密码
|
||||
*/
|
||||
private String adminPassword;
|
||||
|
||||
/**
|
||||
* 管理员邮箱
|
||||
*/
|
||||
private String adminEmail;
|
||||
|
||||
/**
|
||||
* 角色组id
|
||||
*/
|
||||
private Integer roleId;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createtime;
|
||||
|
||||
/**
|
||||
* 状态(0有效/1禁用)
|
||||
*/
|
||||
private Integer adminStatus;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@@ -1,24 +0,0 @@
|
||||
package com.lovenav.entity;
|
||||
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 管理员资料表
|
||||
* ln_admin_meta
|
||||
*/
|
||||
@Data
|
||||
public class AdminMeta implements Serializable {
|
||||
private Long id;
|
||||
|
||||
/**
|
||||
* 管理员id
|
||||
*/
|
||||
private Long adminId;
|
||||
|
||||
private String metaKey;
|
||||
|
||||
private String metaValue;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
package com.lovenav.service;
|
||||
|
||||
public interface AdminService {
|
||||
}
|
@@ -1,4 +0,0 @@
|
||||
package com.lovenav.service.serviceImpl;
|
||||
|
||||
public class AdminServiceImpl {
|
||||
}
|
@@ -1,7 +1,7 @@
|
||||
package com.lovenav.service.serviceImpl;
|
||||
|
||||
|
||||
import com.lovenav.utls.EmailUtils;
|
||||
import com.lovenav.utils.EmailUtils;
|
||||
import com.lovenav.entity.User;
|
||||
import com.lovenav.service.UserService;
|
||||
|
||||
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
|
||||
|
||||
|
@@ -1,5 +1,5 @@
|
||||
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
|
||||
import java.io.File;
|
||||
import java.text.SimpleDateFormat;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
|
||||
import java.math.BigInteger;
|
||||
import java.security.MessageDigest;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Calendar;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
|
||||
|
||||
import com.lovenav.entity.User;
|
@@ -1,4 +1,4 @@
|
||||
package com.lovenav.utls;
|
||||
package com.lovenav.utils;
|
||||
//字符串的各种校验
|
||||
public class StrUtils {
|
||||
|
@@ -1,45 +0,0 @@
|
||||
package generate;
|
||||
|
||||
import java.io.Serializable;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* 后台菜单
|
||||
* ln_auth
|
||||
*/
|
||||
@Data
|
||||
public class LnAuth implements Serializable {
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 图标
|
||||
*/
|
||||
private String icon;
|
||||
|
||||
/**
|
||||
* 菜单名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/**
|
||||
* 菜单路由
|
||||
*/
|
||||
private String routeUrl;
|
||||
|
||||
/**
|
||||
* 上级id
|
||||
*/
|
||||
private Integer pid;
|
||||
|
||||
/**
|
||||
* 是否作为菜单展示 1是0不是
|
||||
*/
|
||||
private Byte isMenu;
|
||||
|
||||
/**
|
||||
* 权重
|
||||
*/
|
||||
private Integer weigh;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@@ -1,19 +0,0 @@
|
||||
package generate;
|
||||
|
||||
import generate.LnAuth;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface LnAuthDao {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(LnAuth record);
|
||||
|
||||
int insertSelective(LnAuth record);
|
||||
|
||||
LnAuth selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(LnAuth record);
|
||||
|
||||
int updateByPrimaryKey(LnAuth record);
|
||||
}
|
@@ -1,43 +0,0 @@
|
||||
package generate;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
import lombok.Data;
|
||||
|
||||
/**
|
||||
* ln_banners
|
||||
*/
|
||||
@Data
|
||||
public class LnBanners implements Serializable {
|
||||
/**
|
||||
* id
|
||||
*/
|
||||
private Integer id;
|
||||
|
||||
/**
|
||||
* 图片url
|
||||
*/
|
||||
private String imgUrl;
|
||||
|
||||
/**
|
||||
* 权重
|
||||
*/
|
||||
private Integer weigh;
|
||||
|
||||
/**
|
||||
* 跳转链接
|
||||
*/
|
||||
private String url;
|
||||
|
||||
/**
|
||||
* 状态(0有效/1无效)
|
||||
*/
|
||||
private Byte bannerStatus;
|
||||
|
||||
/**
|
||||
* 创建时间
|
||||
*/
|
||||
private Date createtime;
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
@@ -1,19 +0,0 @@
|
||||
package generate;
|
||||
|
||||
import generate.LnBanners;
|
||||
import org.springframework.stereotype.Repository;
|
||||
|
||||
@Repository
|
||||
public interface LnBannersDao {
|
||||
int deleteByPrimaryKey(Integer id);
|
||||
|
||||
int insert(LnBanners record);
|
||||
|
||||
int insertSelective(LnBanners record);
|
||||
|
||||
LnBanners selectByPrimaryKey(Integer id);
|
||||
|
||||
int updateByPrimaryKeySelective(LnBanners record);
|
||||
|
||||
int updateByPrimaryKey(LnBanners record);
|
||||
}
|
Reference in New Issue
Block a user