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
4f10a22d
Commit
4f10a22d
authored
May 17, 2023
by
xianyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
优化
parent
0372aa3e
Pipeline
#500
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
views.py
src/app/api/friends/views.py
+3
-3
No files found.
src/app/api/friends/views.py
View file @
4f10a22d
...
@@ -4,7 +4,8 @@ from werkzeug.utils import secure_filename
...
@@ -4,7 +4,8 @@ from werkzeug.utils import secure_filename
from
flask
import
request
from
flask
import
request
from
src.app.api.friends.data_delte
import
FriendMessageNotice
,
save_friends
,
get_infoname
,
save_comment
from
src.app.api.friends.data_delte
import
FriendMessageNotice
,
save_friends
,
get_infoname
,
save_comment
,
\
CircleOfFriends
from
src.app.api.friends.validaters
import
FriendSendAddFrom
,
FriendsListFrom
,
FriendCommentAddFrom
,
\
from
src.app.api.friends.validaters
import
FriendSendAddFrom
,
FriendsListFrom
,
FriendCommentAddFrom
,
\
FriendCommentDeleteFrom
,
FriendGivetAddFrom
,
FriendGivetDeleteFrom
,
FriendBackgroundFrom
,
FriendsCommentListFrom
,
\
FriendCommentDeleteFrom
,
FriendGivetAddFrom
,
FriendGivetDeleteFrom
,
FriendBackgroundFrom
,
FriendsCommentListFrom
,
\
CircleListFrom
,
ContentListFrom
CircleListFrom
,
ContentListFrom
...
@@ -76,8 +77,7 @@ def friends_give():
...
@@ -76,8 +77,7 @@ def friends_give():
res_data
=
FriendGive
()
.
set_attrs
(
form
.
data
)
.
direct_commit_
()
res_data
=
FriendGive
()
.
set_attrs
(
form
.
data
)
.
direct_commit_
()
FriendMessageNotice
(
form
.
fcmid
.
data
,
res_data
,
form
.
uid
.
data
)
.
query_praise_comment
()
FriendMessageNotice
(
form
.
fcmid
.
data
,
res_data
,
form
.
uid
.
data
)
.
query_praise_comment
()
else
:
else
:
res_data
=
FriendGive
()
.
set_attrs
(
form
.
data
)
.
direct_commit_
()
FriendGive
()
.
set_attrs
(
form
.
data
)
.
direct_commit_
()
FriendMessageNotice
(
form
.
fcmid
.
data
,
res_data
,
form
.
uid
.
data
)
.
query_praise_comment
()
return
result_format
(
code
=
200
,
message
=
'操作成功'
)
return
result_format
(
code
=
200
,
message
=
'操作成功'
)
...
...
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