mirror of
https://github.com/HChaZZY/PiliPlus.git
synced 2025-12-21 01:26:59 +08:00
feat: richtextfield
Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
@@ -510,7 +510,7 @@ class VideoHttp {
|
||||
int? parent,
|
||||
List? pictures,
|
||||
bool? syncToDynamic,
|
||||
Map? atNameToMid,
|
||||
Map<String, int>? atNameToMid,
|
||||
}) async {
|
||||
if (message == '') {
|
||||
return {'status': false, 'msg': '请输入评论内容'};
|
||||
@@ -521,7 +521,7 @@ class VideoHttp {
|
||||
if (root != null && root != 0) 'root': root,
|
||||
if (parent != null && parent != 0) 'parent': parent,
|
||||
'message': message,
|
||||
if (atNameToMid != null)
|
||||
if (atNameToMid?.isNotEmpty == true)
|
||||
'at_name_to_mid': jsonEncode(atNameToMid), // {"name":uid}
|
||||
if (pictures != null) 'pictures': jsonEncode(pictures),
|
||||
if (syncToDynamic == true) 'sync_to_dynamic': 1,
|
||||
|
||||
Reference in New Issue
Block a user