mirror of
https://gitee.com/huangge1199_admin/vue-pro.git
synced 2024-11-29 18:51:53 +08:00
会员:增加字段【注册终端】
This commit is contained in:
parent
d3385dcb4f
commit
6f08645f61
1
sql/mysql/member.sql
Normal file
1
sql/mysql/member.sql
Normal file
@ -0,0 +1 @@
|
|||||||
|
ALTER TABLE member_user ADD COLUMN register_terminal tinyint NULL COMMENT '注册终端' AFTER register_ip;
|
@ -1,6 +1,7 @@
|
|||||||
package cn.iocoder.yudao.module.member.dal.dataobject.user;
|
package cn.iocoder.yudao.module.member.dal.dataobject.user;
|
||||||
|
|
||||||
import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum;
|
import cn.iocoder.yudao.framework.common.enums.CommonStatusEnum;
|
||||||
|
import cn.iocoder.yudao.framework.common.enums.TerminalEnum;
|
||||||
import cn.iocoder.yudao.framework.ip.core.Area;
|
import cn.iocoder.yudao.framework.ip.core.Area;
|
||||||
import cn.iocoder.yudao.framework.mybatis.core.type.LongListTypeHandler;
|
import cn.iocoder.yudao.framework.mybatis.core.type.LongListTypeHandler;
|
||||||
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
|
import cn.iocoder.yudao.framework.tenant.core.db.TenantBaseDO;
|
||||||
@ -60,6 +61,11 @@ public class MemberUserDO extends TenantBaseDO {
|
|||||||
* 注册 IP
|
* 注册 IP
|
||||||
*/
|
*/
|
||||||
private String registerIp;
|
private String registerIp;
|
||||||
|
/**
|
||||||
|
* 注册终端
|
||||||
|
* 枚举 {@link TerminalEnum}
|
||||||
|
*/
|
||||||
|
private Integer registerTerminal;
|
||||||
/**
|
/**
|
||||||
* 最后登录IP
|
* 最后登录IP
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user