Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
fj-livekit
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xianyang
fj-livekit
Commits
adf76b53
Commit
adf76b53
authored
Jan 16, 2024
by
xianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1-16: 朋友圈优化
parent
b94efc33
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
functions.py
src/libs/functions.py
+4
-3
No files found.
src/libs/functions.py
View file @
adf76b53
...
...
@@ -364,13 +364,14 @@ def upload_file_body(file_strem, file_name):
return
dir_to_create
def
children_comment
(
fcmid
,
visitor_
id
):
def
children_comment
(
fcmid
,
u
id
):
result
=
[]
fs
=
[]
friend_data
=
FriendComment
.
query
.
filter
(
or_
(
and_
(
FriendComment
.
status
==
0
,
FriendComment
.
fcmid
==
int
(
fcmid
)),
and_
(
FriendComment
.
uid
==
int
(
visitor_id
),
FriendComment
.
fcmid
==
int
(
fcmid
))))
.
all
()
and_
(
FriendComment
.
uid
==
int
(
uid
),
FriendComment
.
fcmid
==
int
(
fcmid
))
))
.
all
()
for
infos
in
friend_data
:
d
=
infos
.
serialization
()
d
[
'status'
]
=
infos
.
status
...
...
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