修改bug
This commit is contained in:
@@ -836,10 +836,7 @@ class MessageManager {
|
||||
'after': after ?? 0,
|
||||
'operationID': Utils.checkOperationID(operationID),
|
||||
}))
|
||||
.then((value) {
|
||||
final result = Utils.toListMap(value);
|
||||
return List<Message>.from(result);
|
||||
});
|
||||
.then((value) => Utils.toList(value, (map) => Message.fromJson(map)));
|
||||
|
||||
static Map _buildParam(Map<String, dynamic> param) {
|
||||
param["ManagerName"] = "messageManager";
|
||||
|
||||
Reference in New Issue
Block a user