mirror of
https://gitee.com/farsunset/cim.git
synced 2025-07-26 01:31:46 +08:00
session表channel字段加长到16位
This commit is contained in:
parent
66c4ed8398
commit
7e7b4c03da
@ -65,7 +65,7 @@ public class DefaultMessagePusher implements CIMMessagePusher {
|
||||
|
||||
/*
|
||||
* 通过发送redis广播,到集群中的每台实例,获得当前UID绑定了连接并推送
|
||||
* @see com.farsunset.hoxin.component.message.PushMessageListener
|
||||
* @see com.farsunset.cim.component.message.PushMessageListener
|
||||
*/
|
||||
signalRedisTemplate.push(message);
|
||||
|
||||
|
@ -25,7 +25,7 @@ package com.farsunset.cim.entity;
|
||||
import javax.persistence.*;
|
||||
|
||||
@Entity
|
||||
@Table(name = "t_hoxin_session")
|
||||
@Table(name = "t_cim_session")
|
||||
public class Session{
|
||||
|
||||
public static final int STATE_ACTIVE = 0;
|
||||
@ -80,7 +80,7 @@ public class Session{
|
||||
/**
|
||||
* 终端设备类型
|
||||
*/
|
||||
@Column(name = "channel",length = 10,nullable = false)
|
||||
@Column(name = "channel",length = 16,nullable = false)
|
||||
private String channel;
|
||||
|
||||
/**
|
||||
@ -107,24 +107,6 @@ public class Session{
|
||||
@Column(name = "bind_time")
|
||||
private Long bindTime;
|
||||
|
||||
/**
|
||||
* 经度
|
||||
*/
|
||||
@Column(name = "longitude")
|
||||
private Double longitude;
|
||||
|
||||
/**
|
||||
* 维度
|
||||
*/
|
||||
@Column(name = "latitude")
|
||||
private Double latitude;
|
||||
|
||||
/**
|
||||
* 位置
|
||||
*/
|
||||
@Column(name = "location")
|
||||
private String location;
|
||||
|
||||
/**
|
||||
* 状态
|
||||
*/
|
||||
@ -210,30 +192,6 @@ public class Session{
|
||||
this.bindTime = bindTime;
|
||||
}
|
||||
|
||||
public Double getLongitude() {
|
||||
return longitude;
|
||||
}
|
||||
|
||||
public void setLongitude(Double longitude) {
|
||||
this.longitude = longitude;
|
||||
}
|
||||
|
||||
public Double getLatitude() {
|
||||
return latitude;
|
||||
}
|
||||
|
||||
public void setLatitude(Double latitude) {
|
||||
this.latitude = latitude;
|
||||
}
|
||||
|
||||
public String getLocation() {
|
||||
return location;
|
||||
}
|
||||
|
||||
public void setLocation(String location) {
|
||||
this.location = location;
|
||||
}
|
||||
|
||||
public String getLanguage() {
|
||||
return language;
|
||||
}
|
||||
|
1
cim-client-sdk/cim-android-sdk/release.bat
Normal file
1
cim-client-sdk/cim-android-sdk/release.bat
Normal file
@ -0,0 +1 @@
|
||||
mvn clean install deploy -P release
|
Loading…
x
Reference in New Issue
Block a user