初步实现,会员临期提醒功能,待完善
This commit is contained in:
@@ -3,15 +3,9 @@
|
||||
- 采用SpringBoot3.x、Shiro、MyBatis-Plus、Vue3、TypeScript、Element Plus、Vue Router、Pinia、Axios、Vite框架,开发的一套权限系统,极低门槛,拿来即用。设计之初,就非常注重安全性,为企业系统保驾护航,让一切都变得如此简单。
|
||||
- 提供了代码生成器,只需编写30%左右代码,其余的代码交给系统自动生成,可快速完成开发任务
|
||||
- 支持MySQL、达梦、Oracle、SQL Server、PostgreSQL等主流数据库
|
||||
- 演示地址:http://demo.open.renren.io/renren-security (账号密码:admin/admin)
|
||||
|
||||
<br>
|
||||
|
||||
### 微信交流群
|
||||
我们提供了微信交流群,扫码下面的二维码,关注【人人开源】公众号,回复【加群】,即可根据提示加入微信群!
|
||||
<br><br>
|
||||

|
||||
|
||||
<br>
|
||||
|
||||
### 具有如下特点
|
||||
@@ -108,19 +102,3 @@ renren-security
|
||||
- 账号密码:admin/admin
|
||||
<br>
|
||||
|
||||

|
||||
|
||||
<br>
|
||||
|
||||

|
||||
|
||||
<br>
|
||||
|
||||
### 如何交流、反馈、参与贡献?
|
||||
- 开发文档:https://www.renren.io/guide/security
|
||||
- Gitee仓库:https://gitee.com/renrenio/renren-security
|
||||
- GitCode仓库:https://gitcode.com/renrenio/renren-security
|
||||
- [人人开源](https://www.renren.io):https://www.renren.io
|
||||
- 如需关注项目最新动态,请Watch、Star项目,同时也是对项目最好的支持
|
||||
<br>
|
||||
|
||||
|
||||
@@ -0,0 +1,120 @@
|
||||
package top.iletter.modules.baitutools.controller;
|
||||
|
||||
import io.swagger.v3.oas.annotations.Operation;
|
||||
import io.swagger.v3.oas.annotations.enums.ParameterIn;
|
||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import top.iletter.common.annotation.LogOperation;
|
||||
import top.iletter.common.constant.Constant;
|
||||
import top.iletter.common.page.PageData;
|
||||
import top.iletter.common.utils.ExcelUtils;
|
||||
import top.iletter.common.utils.Result;
|
||||
import top.iletter.common.validator.AssertUtils;
|
||||
import top.iletter.common.validator.ValidatorUtils;
|
||||
import top.iletter.common.validator.group.AddGroup;
|
||||
import top.iletter.common.validator.group.DefaultGroup;
|
||||
import top.iletter.common.validator.group.UpdateGroup;
|
||||
import top.iletter.modules.baitutools.dto.DlRenewalRemindDTO;
|
||||
import top.iletter.modules.baitutools.excel.DlRenewalRemindExcel;
|
||||
import top.iletter.modules.baitutools.service.DlRenewalRemindService;
|
||||
import org.apache.shiro.authz.annotation.RequiresPermissions;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
import io.swagger.v3.oas.annotations.Parameter;
|
||||
import io.swagger.v3.oas.annotations.Parameters;
|
||||
import jakarta.servlet.http.HttpServletResponse;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@RestController
|
||||
@RequestMapping("baitutools/dlrenewalremind")
|
||||
@Tag(name="临期续费")
|
||||
public class DlRenewalRemindController {
|
||||
private static final Logger log = LoggerFactory.getLogger(DlRenewalRemindController.class);
|
||||
@Autowired
|
||||
private DlRenewalRemindService dlRenewalRemindService;
|
||||
|
||||
@GetMapping("page")
|
||||
@Operation(summary = "分页")
|
||||
@Parameters({
|
||||
@Parameter(name = Constant.PAGE, description = "当前页码,从1开始", in = ParameterIn.QUERY, required = true, ref="int") ,
|
||||
@Parameter(name = Constant.LIMIT, description = "每页显示记录数", in = ParameterIn.QUERY,required = true, ref="int") ,
|
||||
@Parameter(name = Constant.ORDER_FIELD, description = "排序字段", in = ParameterIn.QUERY, ref="String") ,
|
||||
@Parameter(name = Constant.ORDER, description = "排序方式,可选值(asc、desc)", in = ParameterIn.QUERY, ref="String"),
|
||||
@Parameter(name = "名称", description = "名称搜索", in = ParameterIn.QUERY, ref="String")
|
||||
})
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:page")
|
||||
public Result<PageData<DlRenewalRemindDTO>> page(@Parameter(hidden = true) @RequestParam Map<String, Object> params){
|
||||
PageData<DlRenewalRemindDTO> page = dlRenewalRemindService.page(params);
|
||||
|
||||
return new Result<PageData<DlRenewalRemindDTO>>().ok(page);
|
||||
}
|
||||
|
||||
@GetMapping("{id}")
|
||||
@Operation(summary = "信息")
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:info")
|
||||
public Result<DlRenewalRemindDTO> get(@PathVariable("id") Long id){
|
||||
DlRenewalRemindDTO data = dlRenewalRemindService.get(id);
|
||||
|
||||
return new Result<DlRenewalRemindDTO>().ok(data);
|
||||
}
|
||||
|
||||
@PostMapping
|
||||
@Operation(summary = "保存")
|
||||
@LogOperation("保存")
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:save")
|
||||
public Result save(@RequestBody DlRenewalRemindDTO dto){
|
||||
log.info( ">>>>>>>>>"+dto.toString());
|
||||
//效验数据
|
||||
ValidatorUtils.validateEntity(dto, AddGroup.class, DefaultGroup.class);
|
||||
|
||||
dlRenewalRemindService.save(dto);
|
||||
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@PutMapping
|
||||
@Operation(summary = "修改")
|
||||
@LogOperation("修改")
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:update")
|
||||
public Result update(@RequestBody DlRenewalRemindDTO dto){
|
||||
//效验数据
|
||||
ValidatorUtils.validateEntity(dto, UpdateGroup.class, DefaultGroup.class);
|
||||
|
||||
dlRenewalRemindService.update(dto);
|
||||
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@DeleteMapping
|
||||
@Operation(summary = "删除")
|
||||
@LogOperation("删除")
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:delete")
|
||||
public Result delete(@RequestBody Long[] ids){
|
||||
//效验数据
|
||||
AssertUtils.isArrayEmpty(ids, "id");
|
||||
|
||||
dlRenewalRemindService.delete(ids);
|
||||
|
||||
return new Result();
|
||||
}
|
||||
|
||||
@GetMapping("export")
|
||||
@Operation(summary = "导出")
|
||||
@LogOperation("导出")
|
||||
@RequiresPermissions("baitutools:dlrenewalremind:export")
|
||||
public void export(@Parameter(hidden = true) @RequestParam Map<String, Object> params, HttpServletResponse response) throws Exception {
|
||||
List<DlRenewalRemindDTO> list = dlRenewalRemindService.list(params);
|
||||
|
||||
ExcelUtils.exportExcelToTarget(response, null, "临期续费", list, DlRenewalRemindExcel.class);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,26 @@
|
||||
package top.iletter.modules.baitutools.dao;
|
||||
|
||||
import top.iletter.common.dao.BaseDao;
|
||||
import top.iletter.modules.baitutools.entity.DlRenewalRemindEntity;
|
||||
import org.apache.ibatis.annotations.Mapper;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@Mapper
|
||||
public interface DlRenewalRemindDao extends BaseDao<DlRenewalRemindEntity> {
|
||||
/**
|
||||
* 获取信息
|
||||
* @param params 查询参数 页码: page 每页条数: limit
|
||||
* 排序字段: orderField 升/降序: order 区域代码: regionCode
|
||||
* 页面搜索关键字: keyword 供应商名称: supplierName ...
|
||||
* @return 符合条件的中标信息列表
|
||||
*/
|
||||
List<DlRenewalRemindEntity> getList(Map<String, Object> params);
|
||||
}
|
||||
@@ -0,0 +1,68 @@
|
||||
package top.iletter.modules.baitutools.dto;
|
||||
|
||||
import io.swagger.v3.oas.annotations.media.Schema;
|
||||
import io.swagger.v3.oas.annotations.media.SchemaProperty;
|
||||
import lombok.Data;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@Data
|
||||
@Schema(name = "临期续费")
|
||||
public class DlRenewalRemindDTO implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
@SchemaProperty(name = "")
|
||||
private String id;
|
||||
|
||||
@SchemaProperty(name = " 提供商:阿里/腾讯/网易/百度/")
|
||||
private String provider;
|
||||
|
||||
@SchemaProperty(name = "名称")
|
||||
private String name;
|
||||
|
||||
@SchemaProperty(name = "备注")
|
||||
private String remark;
|
||||
|
||||
@SchemaProperty(name = "其他信息json形式")
|
||||
private String otherInfo;
|
||||
|
||||
@SchemaProperty(name = "续费方式1一次性 2月费 3季费 4年费")
|
||||
private String renewalType;
|
||||
|
||||
@SchemaProperty(name = "具体续费日期:每 月/季/年 的XX号 1~31")
|
||||
private String renewalDate;
|
||||
|
||||
@SchemaProperty(name = "到期时间 年-月-日")
|
||||
private Date expireTime;
|
||||
|
||||
@SchemaProperty(name = "预留字段")
|
||||
private String mark1;
|
||||
|
||||
@SchemaProperty(name = "预留字段")
|
||||
private String mark2;
|
||||
|
||||
@SchemaProperty(name = "预留字段")
|
||||
private String mark3;
|
||||
|
||||
@SchemaProperty(name = "")
|
||||
private Date createDate;
|
||||
|
||||
@SchemaProperty(name = "")
|
||||
private String createUser;
|
||||
|
||||
@SchemaProperty(name = "")
|
||||
private Date updateDate;
|
||||
|
||||
@SchemaProperty(name = "")
|
||||
private String updateUser;
|
||||
|
||||
|
||||
}
|
||||
@@ -0,0 +1,83 @@
|
||||
package top.iletter.modules.baitutools.entity;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.TableName;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@Data
|
||||
@TableName("dl_renewal_remind")
|
||||
public class DlRenewalRemindEntity {
|
||||
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String id;
|
||||
/**
|
||||
* 提供商:阿里/腾讯/网易/百度/
|
||||
*/
|
||||
private String provider;
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
/**
|
||||
* 备注
|
||||
*/
|
||||
private String remark;
|
||||
/**
|
||||
* 其他信息json形式
|
||||
*/
|
||||
private String otherInfo;
|
||||
/**
|
||||
* 续费方式
|
||||
|
||||
1一次性
|
||||
2月费
|
||||
3季费
|
||||
4年费
|
||||
*/
|
||||
private String renewalType;
|
||||
/**
|
||||
* 具体续费日期:每 月/季/年 的XX号 1~31
|
||||
*/
|
||||
private String renewalDate;
|
||||
/**
|
||||
* 到期时间 年-月-日
|
||||
*/
|
||||
private Date expireTime;
|
||||
/**
|
||||
* 预留字段
|
||||
*/
|
||||
private String mark1;
|
||||
/**
|
||||
* 预留字段
|
||||
*/
|
||||
private String mark2;
|
||||
/**
|
||||
* 预留字段
|
||||
*/
|
||||
private String mark3;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date createDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String createUser;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private Date updateDate;
|
||||
/**
|
||||
*
|
||||
*/
|
||||
private String updateUser;
|
||||
}
|
||||
@@ -0,0 +1,50 @@
|
||||
package top.iletter.modules.baitutools.excel;
|
||||
|
||||
import com.alibaba.excel.annotation.ExcelProperty;
|
||||
import com.alibaba.excel.annotation.write.style.ColumnWidth;
|
||||
import com.alibaba.excel.annotation.write.style.ContentRowHeight;
|
||||
import com.alibaba.excel.annotation.write.style.HeadRowHeight;
|
||||
import lombok.Data;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@Data
|
||||
public class DlRenewalRemindExcel {
|
||||
@ExcelProperty(value = "")
|
||||
private String id;
|
||||
@ExcelProperty(value = "提供商:阿里/腾讯/网易/百度/")
|
||||
private String provider;
|
||||
@ExcelProperty(value = "名称")
|
||||
private String name;
|
||||
@ExcelProperty(value = "备注")
|
||||
private String remark;
|
||||
@ExcelProperty(value = "其他信息json形式")
|
||||
private String otherInfo;
|
||||
@ExcelProperty(value = "续费方式1一次性 2月费 3季费 4年费")
|
||||
private String renewalType;
|
||||
@ExcelProperty(value = "具体续费日期:每 月/季/年 的XX号 1~31")
|
||||
private String renewalDate;
|
||||
@ExcelProperty(value = "到期时间 年-月-日")
|
||||
private Date expireTime;
|
||||
@ExcelProperty(value = "预留字段")
|
||||
private String mark1;
|
||||
@ExcelProperty(value = "预留字段")
|
||||
private String mark2;
|
||||
@ExcelProperty(value = "预留字段")
|
||||
private String mark3;
|
||||
@ExcelProperty(value = "")
|
||||
private Date createDate;
|
||||
@ExcelProperty(value = "")
|
||||
private String createUser;
|
||||
@ExcelProperty(value = "")
|
||||
private Date updateDate;
|
||||
@ExcelProperty(value = "")
|
||||
private String updateUser;
|
||||
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
package top.iletter.modules.baitutools.service;
|
||||
|
||||
import top.iletter.common.service.CrudService;
|
||||
import top.iletter.modules.baitutools.dto.DlRenewalRemindDTO;
|
||||
import top.iletter.modules.baitutools.entity.DlRenewalRemindEntity;
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
public interface DlRenewalRemindService extends CrudService<DlRenewalRemindEntity, DlRenewalRemindDTO> {
|
||||
|
||||
}
|
||||
@@ -0,0 +1,43 @@
|
||||
package top.iletter.modules.baitutools.service.impl;
|
||||
|
||||
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
|
||||
import com.baomidou.mybatisplus.core.metadata.IPage;
|
||||
import top.iletter.common.page.PageData;
|
||||
import top.iletter.common.service.impl.CrudServiceImpl;
|
||||
import top.iletter.modules.baitutools.dao.DlRenewalRemindDao;
|
||||
import top.iletter.modules.baitutools.dto.DlRenewalRemindDTO;
|
||||
import top.iletter.modules.baitutools.entity.DlRenewalRemindEntity;
|
||||
import top.iletter.modules.baitutools.service.DlRenewalRemindService;
|
||||
import cn.hutool.core.util.StrUtil;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* 临期续费
|
||||
*
|
||||
* @author dellevin dellevin99@gmail.com
|
||||
* @since 1.0.0 2026-02-04
|
||||
*/
|
||||
@Service
|
||||
public class DlRenewalRemindServiceImpl extends CrudServiceImpl<DlRenewalRemindDao, DlRenewalRemindEntity, DlRenewalRemindDTO> implements DlRenewalRemindService {
|
||||
|
||||
@Override
|
||||
public QueryWrapper<DlRenewalRemindEntity> getWrapper(Map<String, Object> params){
|
||||
String id = (String)params.get("id");
|
||||
|
||||
QueryWrapper<DlRenewalRemindEntity> wrapper = new QueryWrapper<>();
|
||||
wrapper.eq(StrUtil.isNotBlank(id), "id", id);
|
||||
|
||||
return wrapper;
|
||||
}
|
||||
@Override
|
||||
public PageData<DlRenewalRemindDTO> page(Map<String, Object> params) {
|
||||
IPage<DlRenewalRemindEntity> page = getPage(params, "create_date", false);
|
||||
|
||||
List<DlRenewalRemindEntity> list = baseDao.getList(params);
|
||||
return getPageData(list, page.getTotal(), DlRenewalRemindDTO.class);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -0,0 +1,23 @@
|
||||
package top.iletter.modules.job.task;
|
||||
|
||||
|
||||
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.stereotype.Component;
|
||||
/**
|
||||
* 临期提醒,检查有哪个服务即将过期,传入参数为json形式
|
||||
* {
|
||||
* agoDate:'10', // 提前提醒时间
|
||||
* isEmail:'true' // 是否开启邮件通知
|
||||
* }
|
||||
*/
|
||||
@Component("ExpirationDateReminder")
|
||||
public class ExpirationDateReminder implements ITask{
|
||||
private Logger logger = LoggerFactory.getLogger(getClass());
|
||||
|
||||
@Override
|
||||
public void run(String params){
|
||||
logger.debug("Task定时任务正在执行,参数为:{}", params);
|
||||
}
|
||||
}
|
||||
@@ -42,8 +42,9 @@ spring:
|
||||
stat-view-servlet:
|
||||
enabled: true
|
||||
url-pattern: /druid/*
|
||||
#login-username: admin
|
||||
#login-password: admin
|
||||
allow: ""
|
||||
# login-username: admin
|
||||
# login-password: admin
|
||||
#达梦数据库,需要注释掉,其他数据库可以打开
|
||||
# filter:
|
||||
# stat:
|
||||
|
||||
@@ -24,7 +24,7 @@ knife4j:
|
||||
spring:
|
||||
# 环境 dev|test|prod
|
||||
profiles:
|
||||
active: prod
|
||||
active: dev
|
||||
messages:
|
||||
encoding: UTF-8
|
||||
basename: i18n/messages
|
||||
@@ -60,7 +60,7 @@ renren:
|
||||
mybatis-plus:
|
||||
mapper-locations: classpath*:/mapper/**/*.xml
|
||||
#实体扫描,多个package用逗号或者分号分隔
|
||||
typeAliasesPackage: io.renren.modules.*.entity
|
||||
typeAliasesPackage: top.iletter.modules.*.entity
|
||||
global-config:
|
||||
#数据库相关配置
|
||||
db-config:
|
||||
|
||||
@@ -8,14 +8,14 @@
|
||||
<springProfile name="dev,test">
|
||||
<logger name="org.springframework.web" level="INFO"/>
|
||||
<logger name="org.springboot.sample" level="INFO" />
|
||||
<logger name="io.renren" level="DEBUG" />
|
||||
<logger name="top.iletter" level="DEBUG" />
|
||||
</springProfile>
|
||||
|
||||
<!-- 生产环境 -->
|
||||
<springProfile name="prod">
|
||||
<logger name="org.springframework.web" level="ERROR"/>
|
||||
<logger name="org.springboot.sample" level="ERROR" />
|
||||
<logger name="io.renren" level="ERROR" />
|
||||
<logger name="top.iletter" level="ERROR" />
|
||||
</springProfile>
|
||||
|
||||
</configuration>
|
||||
@@ -0,0 +1,33 @@
|
||||
<?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="top.iletter.modules.baitutools.dao.DlRenewalRemindDao">
|
||||
|
||||
<resultMap type="top.iletter.modules.baitutools.entity.DlRenewalRemindEntity" id="dlRenewalRemindMap">
|
||||
<result property="id" column="id"/>
|
||||
<result property="provider" column="provider"/>
|
||||
<result property="name" column="name"/>
|
||||
<result property="remark" column="remark"/>
|
||||
<result property="otherInfo" column="other_info"/>
|
||||
<result property="renewalType" column="renewal_type"/>
|
||||
<result property="renewalDate" column="renewal_date"/>
|
||||
<result property="expireTime" column="expire_time"/>
|
||||
<result property="mark1" column="mark1"/>
|
||||
<result property="mark2" column="mark2"/>
|
||||
<result property="mark3" column="mark3"/>
|
||||
<result property="createDate" column="create_date"/>
|
||||
<result property="createUser" column="create_user"/>
|
||||
<result property="updateDate" column="update_date"/>
|
||||
<result property="updateUser" column="update_user"/>
|
||||
</resultMap>
|
||||
<!-- 获取分页查询 -->
|
||||
<select id="getList" resultType="top.iletter.modules.baitutools.entity.DlRenewalRemindEntity">
|
||||
SELECT * FROM dl_renewal_remind
|
||||
<where>
|
||||
<if test="keywordName != null and keywordName.trim() != ''">
|
||||
AND locate(#{keywordName} , `name` )
|
||||
</if>
|
||||
</where>
|
||||
</select>
|
||||
|
||||
</mapper>
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 293 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 299 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 4.2 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 27 KiB |
@@ -8,14 +8,14 @@
|
||||
<springProfile name="dev,test">
|
||||
<logger name="org.springframework.web" level="INFO"/>
|
||||
<logger name="org.springboot.sample" level="INFO" />
|
||||
<logger name="io.renren" level="DEBUG" />
|
||||
<logger name="top.iletter" level="DEBUG" />
|
||||
</springProfile>
|
||||
|
||||
<!-- 生产环境 -->
|
||||
<springProfile name="prod">
|
||||
<logger name="org.springframework.web" level="ERROR"/>
|
||||
<logger name="org.springboot.sample" level="ERROR" />
|
||||
<logger name="io.renren" level="ERROR" />
|
||||
<logger name="top.iletter" level="ERROR" />
|
||||
</springProfile>
|
||||
|
||||
</configuration>
|
||||
@@ -53,7 +53,7 @@ public class SysGeneratorController {
|
||||
byte[] data = sysGeneratorService.generatorCode(tables.split(","));
|
||||
|
||||
response.reset();
|
||||
response.setHeader("Content-Disposition", "attachment; filename=\"renren.zip\"");
|
||||
response.setHeader("Content-Disposition", "attachment; filename=\"baitu_code.zip\"");
|
||||
response.addHeader("Content-Length", "" + data.length);
|
||||
response.setContentType("application/octet-stream; charset=UTF-8");
|
||||
|
||||
|
||||
@@ -1,18 +1,17 @@
|
||||
#\u4EE3\u7801\u751F\u6210\u5668\uFF0C\u914D\u7F6E\u4FE1\u606F
|
||||
|
||||
#\u5305\u540D
|
||||
package=io.renren
|
||||
moduleName=demo
|
||||
#\u4F5C\u8005
|
||||
author=Mark
|
||||
|
||||
package=top.iletter
|
||||
moduleName=baitutools
|
||||
author=dellevin
|
||||
#Email
|
||||
email=sunlightcs@gmail.com
|
||||
#\u8868\u524D\u7F00(\u7C7B\u540D\u4E0D\u4F1A\u5305\u542B\u8868\u524D\u7F00)
|
||||
email=dellevin99@gmail.com
|
||||
#???(?????????)
|
||||
tablePrefix=tb_
|
||||
version=1.0.0
|
||||
|
||||
|
||||
#\u7C7B\u578B\u8F6C\u6362\uFF0C\u914D\u7F6E\u4FE1\u606F
|
||||
# ?????????
|
||||
tinyint=Integer
|
||||
smallint=Integer
|
||||
mediumint=Integer
|
||||
|
||||
@@ -6,6 +6,6 @@
|
||||
|
||||
<logger name="org.springframework.web" level="INFO"/>
|
||||
<logger name="org.springboot.sample" level="INFO" />
|
||||
<logger name="io.renren" level="DEBUG" />
|
||||
<logger name="top.iletter" level="DEBUG" />
|
||||
|
||||
</configuration>
|
||||
@@ -3,7 +3,7 @@
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||
<title>人人代码生成器</title>
|
||||
<title>代码生成器</title>
|
||||
<!-- Tell the browser to be responsive to screen width -->
|
||||
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
|
||||
<link rel="stylesheet" href="css/bootstrap.min.css">
|
||||
@@ -27,9 +27,9 @@
|
||||
<header class="main-header">
|
||||
<a href="javascript:void(0);" class="logo">
|
||||
<!-- mini logo for sidebar mini 50x50 pixels -->
|
||||
<span class="logo-mini"><b>人人</b></span>
|
||||
<span class="logo-mini"><b>BAITU</b></span>
|
||||
<!-- logo for regular state and mobile devices -->
|
||||
<span class="logo-lg"><b>人人代码生成器</b></span>
|
||||
<span class="logo-lg"><b>代码生成器</b></span>
|
||||
</a>
|
||||
<!-- Header Navbar: style can be found in header.less -->
|
||||
<nav class="navbar navbar-static-top" role="navigation">
|
||||
@@ -40,8 +40,7 @@
|
||||
<div style="float:left;color:#fff;padding:15px 10px;">代码的搬运工</div>
|
||||
<div class="navbar-custom-menu">
|
||||
<ul class="nav navbar-nav">
|
||||
<li><a href="javascript:;" @click="donate"><i class="fa fa-jpy"></i> 捐赠作者</a></li>
|
||||
<li><a href="https://www.renren.io" target="_blank"><i class="fa fa-home"></i> 人人开源</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
</nav>
|
||||
@@ -61,7 +60,7 @@
|
||||
<a href="javascript:;"><i class="fa fa-cog"></i><span>代码生成器</span><i class="fa fa-angle-left pull-right"></i></a>
|
||||
<ul class="treeview-menu menu-open" style="display: block;">
|
||||
<li class="active"><a href="#main.html"><i class="fa fa-rocket"></i> 控制台</a></li>
|
||||
<li><a href="#generator.html"><i class="fa fa-rocket"></i> renren-security</a></li>
|
||||
<li><a href="#generator.html"><i class="fa fa-rocket"></i>数据库</a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
@@ -11,18 +11,7 @@
|
||||
<div class="panel panel-default">
|
||||
<div class="panel-heading">基本信息</div>
|
||||
<div style="padding: 10px 0 20px 10px;">
|
||||
<h3> 获取帮助</h3>
|
||||
<ul>
|
||||
<li>Git地址:<a href="https://gitee.com/renrenio/renren-security" target="_blank">https://gitee.com/renrenio/renren-security</a></li>
|
||||
<li>官方社区:<a href="https://www.renren.io/community" target="_blank">https://www.renren.io/community</a></li>
|
||||
<li>如需寻求帮助、项目建议、技术讨论等,请移步到官方社区,我会在第一时间进行解答或回复</li>
|
||||
<li>如需关注项目最新动态,请Watch、Star项目,同时也是对项目最好的支持</li>
|
||||
</ul>
|
||||
<h3>官方微信群</h3>
|
||||
<ul>
|
||||
<li>扫码下面的二维码,关注【人人开源】公众号,回复【加群】,即可根据提示加入微信群!</li>
|
||||
<li><img src="https://cdn.renren.io/f5cef202207132229319338.jpg" alt="微信群" /></li>
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
Reference in New Issue
Block a user