Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in / Register
Toggle navigation
U
User
Project
Project
Details
Activity
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
zhangjun
User
Commits
b7f2a287
Commit
b7f2a287
authored
Jul 01, 2024
by
fangliyan
Browse files
Options
Browse Files
Download
Plain Diff
合并分支 'subscribe2.0' 到 'release'
Subscribe2.0 查看合并请求
!38
parents
fd250a58
3c2f900f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
esf_center_api.php
center/controllers/esf_center_api.php
+1
-1
user_model.php
esf_core/models/user_model.php
+3
-0
No files found.
center/controllers/esf_center_api.php
View file @
b7f2a287
...
@@ -1289,7 +1289,7 @@ class Esf_center_api extends MY_Controller {
...
@@ -1289,7 +1289,7 @@ class Esf_center_api extends MY_Controller {
$blockid
=
$this
->
input
->
get
(
'id'
);
$blockid
=
$this
->
input
->
get
(
'id'
);
$city
=
$this
->
input
->
get
(
'city'
);
$city
=
$this
->
input
->
get
(
'city'
);
$city
=
$city
?
$city
:
'nj'
;
$city
=
$city
?
$city
:
'nj'
;
$result
=
$this
->
user_model
->
getusercollectid
(
$uid
,
$blockid
,
$city
);
$result
=
$this
->
user_model
->
getusercollectid
(
$uid
,
$blockid
,
$city
,
$kind
);
//已关注此房源
//已关注此房源
if
(
$result
>
0
)
if
(
$result
>
0
)
...
...
esf_core/models/user_model.php
View file @
b7f2a287
...
@@ -845,6 +845,9 @@ class User_model extends MY_Model
...
@@ -845,6 +845,9 @@ class User_model extends MY_Model
if
(
$kind
){
if
(
$kind
){
$where_string
.=
" and kind =
$kind
"
;
$where_string
.=
" and kind =
$kind
"
;
}
}
if
(
!
empty
(
$_GET
[
'fangliyan'
])){
print_r
(
$where_string
);
exit
;
}
$return
=
$this
->
get_data
(
array
(
'form_name'
=>
'personal_collection'
,
'where'
=>
$where_string
,
'select'
=>
array
(
'id'
)),
'esf'
);
$return
=
$this
->
get_data
(
array
(
'form_name'
=>
'personal_collection'
,
'where'
=>
$where_string
,
'select'
=>
array
(
'id'
)),
'esf'
);
...
...
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