Toggle navigation
Toggle navigation
This project
Loading...
Sign in
OnePoem
/
OnePoem-Server
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
李帅
2022-07-21 10:47:35 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d0eebd6de4383036a4b5eeb2b310b5b8019490b6
d0eebd6d
1 parent
c3adc28c
1.收藏列表改用get
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
0 deletions
app/Http/Controllers/V1/ImmerseController.php
app/Http/Controllers/V1/ImmerseController.php
View file @
d0eebd6
...
...
@@ -163,6 +163,8 @@ class ImmerseController extends Controller
->
skip
((
$page
-
1
)
*
$page_size
)
->
take
(
$page_size
+
1
)
->
get
();
$lists
=
[];
if
(
$collects
->
count
()){
foreach
(
$collects
as
$collect
){
$data
[
'user_id'
]
=
$collect
->
user_id
;
$data
[
'immerse_id'
]
=
$collect
->
immerse_id
;
...
...
@@ -175,6 +177,7 @@ class ImmerseController extends Controller
$lists
[]
=
$data
;
}
}
return
Response
::
success
(
$lists
);
}
...
...
Please
register
or
login
to post a comment