feat: 微信公众号扫码登录

This commit is contained in:
landaiqing
2024-06-20 23:51:09 +08:00
parent 91b27e9205
commit 97dbec7e25
34 changed files with 512 additions and 65 deletions

View File

@@ -245,13 +245,13 @@ public class SchisandraSmsConfig implements Serializable {
/**
* 创建时间
*/
@Column("created_time")
@Column(value = "created_time",onInsertValue = "now()")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
@Column(value = "update_time",onUpdateValue = "now()")
private Date updateTime;
/**

View File

@@ -59,7 +59,7 @@ public class SchisandraSysConfig implements Serializable {
/**
* 创建时间
*/
@Column("create_date")
@Column(value = "create_date",onInsertValue = "now()")
private Date createDate;
/**
@@ -71,7 +71,7 @@ public class SchisandraSysConfig implements Serializable {
/**
* 更新时间
*/
@Column("update_date")
@Column(value = "update_date",onUpdateValue = "now()")
private Date updateDate;
/**

View File

@@ -55,7 +55,7 @@ public class SchisandraSysLog implements Serializable {
/**
* 创建时间
*/
@Column("create_date")
@Column(value = "create_date",onInsertValue = "now()")
private Date createDate;
/**

View File

@@ -89,13 +89,13 @@ public class SchisandraSysOauth implements Serializable {
/**
* 创建时间
*/
@Column("created_time")
@Column(value = "created_time",onInsertValue = "now()")
private Date createdTime;
/**
* 更新时间
*/
@Column("update_time")
@Column(value = "update_time",onUpdateValue = "now()")
private Date updateTime;
/**

View File

@@ -40,7 +40,7 @@ public class SchisandraSysConfigServiceImpl implements SchisandraSysConfigServic
*/
@Override
public int insert(SchisandraSysConfig schisandraSysConfig) {
return this.schisandraSysConfigDao.insert(schisandraSysConfig);
return this.schisandraSysConfigDao.insert(schisandraSysConfig,true);
}
/**

View File

@@ -7,7 +7,6 @@ import com.schisandra.system.infra.basic.service.SchisandraSysLogService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Objects;
/**
* 表服务实现类
@@ -40,7 +39,7 @@ public class SchisandraSysLogServiceImpl implements SchisandraSysLogService {
*/
@Override
public int insert(SchisandraSysLog schisandraSysLog) {
return this.schisandraSysLogDao.insert(schisandraSysLog);
return this.schisandraSysLogDao.insert(schisandraSysLog,true);
}
/**

View File

@@ -7,7 +7,6 @@ import com.schisandra.system.infra.basic.service.SchisandraSysOauthService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Objects;
/**
* 表服务实现类
@@ -40,7 +39,7 @@ public class SchisandraSysOauthServiceImpl implements SchisandraSysOauthService
*/
@Override
public int insert(SchisandraSysOauth schisandraSysOauth) {
return this.schisandraSysOauthDao.insert(schisandraSysOauth);
return this.schisandraSysOauthDao.insert(schisandraSysOauth,true);
}
/**