2025-01-16
1.优化domaen对象
This commit is contained in:
@@ -30,6 +30,18 @@
|
|||||||
<java.version>17</java.version>
|
<java.version>17</java.version>
|
||||||
</properties>
|
</properties>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
<artifactId>spring-boot-starter-actuator</artifactId>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
<artifactId>spring-boot-starter-webmvc</artifactId>
|
<artifactId>spring-boot-starter-webmvc</artifactId>
|
||||||
|
|||||||
@@ -6,9 +6,9 @@ import java.util.Date;
|
|||||||
@Data
|
@Data
|
||||||
public class Auth {
|
public class Auth {
|
||||||
private int id;
|
private int id;
|
||||||
private String code = "";
|
private String code;
|
||||||
private String md5code = "";
|
private String md5code;
|
||||||
private String type = "";
|
private String type;
|
||||||
private int useCount = 0;
|
private int useCount;
|
||||||
private Date createTime = null;
|
private Date createTime;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ public class Parameter {
|
|||||||
private int isSystem;//是否系统参数(0-用户参数 1-系统参数)
|
private int isSystem;//是否系统参数(0-用户参数 1-系统参数)
|
||||||
private String category;//分类分组
|
private String category;//分类分组
|
||||||
private String type;//参数类型: string, number, boolean, json, text
|
private String type;//参数类型: string, number, boolean, json, text
|
||||||
private String parameterName = "";//参数名称
|
private String parameterName;//参数名称
|
||||||
private String parameterValue;//参数值
|
private String parameterValue;//参数值
|
||||||
private String description ;//参数描述
|
private String description ;//参数描述
|
||||||
private int status;//状态: 0-禁用 1-启用
|
private int status;//状态: 0-禁用 1-启用
|
||||||
@@ -19,5 +19,5 @@ public class Parameter {
|
|||||||
private Date createTime;//创建时间
|
private Date createTime;//创建时间
|
||||||
private String updateUser;//更新人
|
private String updateUser;//更新人
|
||||||
private Date updateTime ;//更新时间
|
private Date updateTime ;//更新时间
|
||||||
private String authCode = "";
|
private String authCode;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -7,22 +7,6 @@ import java.util.Date;
|
|||||||
@Data
|
@Data
|
||||||
public class User {
|
public class User {
|
||||||
private int id;
|
private int id;
|
||||||
// private String username;
|
|
||||||
// private String password;
|
|
||||||
// private String nickName;
|
|
||||||
// private int gender;
|
|
||||||
// private String country;
|
|
||||||
// private String province;
|
|
||||||
// private String city;
|
|
||||||
// private String avatarUrl;
|
|
||||||
// private String openId;
|
|
||||||
// private String phone;
|
|
||||||
// private String email;
|
|
||||||
// private Date createTime = null;
|
|
||||||
// private String creator;
|
|
||||||
// private int source;
|
|
||||||
// private int status;
|
|
||||||
// private String authCode;
|
|
||||||
private String username ;
|
private String username ;
|
||||||
private String password;
|
private String password;
|
||||||
private String nickName;
|
private String nickName;
|
||||||
|
|||||||
@@ -1,9 +1,9 @@
|
|||||||
package cn.lailab.toolbox.controller;
|
package cn.lailab.toolbox.controller;
|
||||||
|
|
||||||
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
@RestController
|
@Controller
|
||||||
public class ToolController {
|
public class ToolController {
|
||||||
|
|
||||||
@RequestMapping("/JiSuanQi")
|
@RequestMapping("/JiSuanQi")
|
||||||
|
|||||||
Reference in New Issue
Block a user