Fix bug
This commit is contained in:
parent
d758f3fca1
commit
eed59f468c
@ -1,3 +1,8 @@
|
|||||||
|
## 2.3.4+4
|
||||||
|
|
||||||
|
- Fix bug
|
||||||
|
- Replace maven repository address
|
||||||
|
|
||||||
## 2.3.4+3
|
## 2.3.4+3
|
||||||
|
|
||||||
- Fix bug
|
- Fix bug
|
||||||
|
@ -4,8 +4,7 @@ version '1.0'
|
|||||||
buildscript {
|
buildscript {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url 'http://121.37.25.71:8081/repository/maven2/'
|
url 'https://open-im-online.rentsoft.cn:51000/repository/maven2/'
|
||||||
allowInsecureProtocol = true
|
|
||||||
}
|
}
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -19,8 +18,7 @@ buildscript {
|
|||||||
rootProject.allprojects {
|
rootProject.allprojects {
|
||||||
repositories {
|
repositories {
|
||||||
maven {
|
maven {
|
||||||
url 'http://121.37.25.71:8081/repository/maven2/'
|
url 'https://open-im-online.rentsoft.cn:51000/repository/maven2/'
|
||||||
allowInsecureProtocol = true
|
|
||||||
}
|
}
|
||||||
google()
|
google()
|
||||||
mavenCentral()
|
mavenCentral()
|
||||||
@ -41,5 +39,5 @@ android {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
dependencies {
|
dependencies {
|
||||||
implementation 'io.openim:core-sdk:2.3.4-rc0@aar'
|
implementation 'io.openim:core-sdk:2.3.4-rc2@aar'
|
||||||
}
|
}
|
@ -33,6 +33,8 @@ class DeptInfo {
|
|||||||
/// 附加信息
|
/// 附加信息
|
||||||
String? attachedInfo;
|
String? attachedInfo;
|
||||||
|
|
||||||
|
String? relatedGroupID;
|
||||||
|
|
||||||
DeptInfo(
|
DeptInfo(
|
||||||
{this.departmentID,
|
{this.departmentID,
|
||||||
this.faceURL,
|
this.faceURL,
|
||||||
@ -44,7 +46,8 @@ class DeptInfo {
|
|||||||
this.subDepartmentNum,
|
this.subDepartmentNum,
|
||||||
this.memberNum,
|
this.memberNum,
|
||||||
this.ex,
|
this.ex,
|
||||||
this.attachedInfo});
|
this.attachedInfo,
|
||||||
|
this.relatedGroupID});
|
||||||
|
|
||||||
DeptInfo.fromJson(Map<String, dynamic> json) {
|
DeptInfo.fromJson(Map<String, dynamic> json) {
|
||||||
departmentID = json['departmentID'];
|
departmentID = json['departmentID'];
|
||||||
@ -58,6 +61,7 @@ class DeptInfo {
|
|||||||
memberNum = json['memberNum'];
|
memberNum = json['memberNum'];
|
||||||
ex = json['ex'];
|
ex = json['ex'];
|
||||||
attachedInfo = json['attachedInfo'];
|
attachedInfo = json['attachedInfo'];
|
||||||
|
relatedGroupID = json['relatedGroupID'];
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
@ -73,6 +77,7 @@ class DeptInfo {
|
|||||||
data['memberNum'] = this.memberNum;
|
data['memberNum'] = this.memberNum;
|
||||||
data['ex'] = this.ex;
|
data['ex'] = this.ex;
|
||||||
data['attachedInfo'] = this.attachedInfo;
|
data['attachedInfo'] = this.attachedInfo;
|
||||||
|
data['relatedGroupID'] = this.relatedGroupID;
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -134,6 +139,12 @@ class DeptMemberInfo {
|
|||||||
/// 创建时间
|
/// 创建时间
|
||||||
int? createTime;
|
int? createTime;
|
||||||
|
|
||||||
|
/// 入职时间
|
||||||
|
int? entryTime;
|
||||||
|
|
||||||
|
/// 离职时间
|
||||||
|
int? terminationTime;
|
||||||
|
|
||||||
/// 扩展字段
|
/// 扩展字段
|
||||||
String? ex;
|
String? ex;
|
||||||
|
|
||||||
@ -146,6 +157,9 @@ class DeptMemberInfo {
|
|||||||
/// 所在部门的所有上级部门
|
/// 所在部门的所有上级部门
|
||||||
List<DeptInfo>? parentDepartmentList;
|
List<DeptInfo>? parentDepartmentList;
|
||||||
|
|
||||||
|
/// 当前部门信息
|
||||||
|
DeptInfo? department;
|
||||||
|
|
||||||
DeptMemberInfo({
|
DeptMemberInfo({
|
||||||
this.userID,
|
this.userID,
|
||||||
this.nickname,
|
this.nickname,
|
||||||
@ -166,6 +180,7 @@ class DeptMemberInfo {
|
|||||||
this.attachedInfo,
|
this.attachedInfo,
|
||||||
this.departmentName,
|
this.departmentName,
|
||||||
this.parentDepartmentList,
|
this.parentDepartmentList,
|
||||||
|
this.department,
|
||||||
});
|
});
|
||||||
|
|
||||||
DeptMemberInfo.fromJson(Map<String, dynamic> json) {
|
DeptMemberInfo.fromJson(Map<String, dynamic> json) {
|
||||||
@ -193,6 +208,9 @@ class DeptMemberInfo {
|
|||||||
parentDepartmentList!.add(DeptInfo.fromJson(v));
|
parentDepartmentList!.add(DeptInfo.fromJson(v));
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
department = json['department'] == null
|
||||||
|
? null
|
||||||
|
: DeptInfo.fromJson(json['department']);
|
||||||
}
|
}
|
||||||
|
|
||||||
Map<String, dynamic> toJson() {
|
Map<String, dynamic> toJson() {
|
||||||
@ -219,6 +237,7 @@ class DeptMemberInfo {
|
|||||||
data['parentDepartmentList'] =
|
data['parentDepartmentList'] =
|
||||||
this.parentDepartmentList!.map((v) => v.toJson()).toList();
|
this.parentDepartmentList!.map((v) => v.toJson()).toList();
|
||||||
}
|
}
|
||||||
|
data['department'] = this.department?.toJson();
|
||||||
return data;
|
return data;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -263,7 +282,7 @@ class UserInDept {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// 部门下的子部门跟员工
|
/// 部门下的一级子部门跟员工
|
||||||
class DeptMemberAndSubDept {
|
class DeptMemberAndSubDept {
|
||||||
/// 一级子部门
|
/// 一级子部门
|
||||||
List<DeptInfo>? departmentList;
|
List<DeptInfo>? departmentList;
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
name: flutter_openim_sdk
|
name: flutter_openim_sdk
|
||||||
description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
|
description: An instant messaging plug-in that supports Android and IOS. And the server is also all open source.
|
||||||
version: 2.3.4+3
|
version: 2.3.4+4
|
||||||
homepage: https://www.rentsoft.cn
|
homepage: https://www.rentsoft.cn
|
||||||
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter
|
repository: https://github.com/OpenIMSDK/Open-IM-SDK-Flutter
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user