Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SiEn
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
hewei
SiEn
Commits
d65753d5
Commit
d65753d5
authored
Oct 26, 2020
by
giaogiao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备推送token
parent
4a389f37
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
2 deletions
+15
-2
common/src/main/java/com/jumeirah/common/entity/AppUser.java
+3
-0
common/src/main/resources/mapper/AppUserMapper.xml
+1
-1
framework/src/main/java/io/geekidea/springbootplus/framework/shiro/vo/JwtTokenRedisVo.java
+11
-1
No files found.
common/src/main/java/com/jumeirah/common/entity/AppUser.java
View file @
d65753d5
...
...
@@ -74,6 +74,9 @@ public class AppUser extends BaseEntity {
@ApiModelProperty
(
"头像"
)
private
String
head
;
@ApiModelProperty
(
"推送token"
)
private
String
deviceToken
;
@ApiModelProperty
(
"备注"
)
private
String
remark
;
...
...
common/src/main/resources/mapper/AppUserMapper.xml
View file @
d65753d5
...
...
@@ -4,7 +4,7 @@
<!-- 通用查询结果列 -->
<sql
id=
"Base_Column_List"
>
id, username, nickname, password, salt, phone, phone_area, gender, head, remark, state, department_id, role_id, deleted, version, create_time, update_time
id,
device_token,
username, nickname, password, salt, phone, phone_area, gender, head, remark, state, department_id, role_id, deleted, version, create_time, update_time
</sql>
<select
id=
"getAppUserById"
resultType=
"com.jumeirah.common.vo.AppUserQueryVo"
>
...
...
framework/src/main/java/io/geekidea/springbootplus/framework/shiro/vo/JwtTokenRedisVo.java
View file @
d65753d5
...
...
@@ -16,6 +16,7 @@
package
io
.
geekidea
.
springbootplus
.
framework
.
shiro
.
vo
;
import
io.swagger.annotations.ApiModelProperty
;
import
lombok.Data
;
import
lombok.experimental.Accessors
;
...
...
@@ -34,10 +35,19 @@ public class JwtTokenRedisVo implements Serializable {
private
static
final
long
serialVersionUID
=
1831633309466775223L
;
/**
*
客户端
类型
*
用户平台
类型
*/
private
String
type
;
@ApiModelProperty
(
"设备推送token"
)
private
String
deviceToken
;
/**
* 用户系统类型
*/
private
String
clientType
;
/**
* mcId
*/
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment