Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
5
51business
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
方斌
51business
Commits
ad60c041
Commit
ad60c041
authored
Jun 19, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adddd
parent
56838d41
Pipeline
#9163
passed with stage
in 4 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
new_house.js
app/service/house/v2/new_house.js
+1
-1
No files found.
app/service/house/v2/new_house.js
View file @
ad60c041
...
@@ -342,7 +342,7 @@ class NewHouseService extends Service {
...
@@ -342,7 +342,7 @@ class NewHouseService extends Service {
if
(
type
===
'home'
)
{
if
(
type
===
'home'
)
{
//为您推荐只展示50条在售楼盘的数据,根据排序序号取数,数字小的排在前面,数字一样的情况下根据时间逆序排列,时间也一样的情况下随机排列;
//为您推荐只展示50条在售楼盘的数据,根据排序序号取数,数字小的排在前面,数字一样的情况下根据时间逆序排列,时间也一样的情况下随机排列;
filter
.
limit
=
Number
(
condition
.
page_size
)
||
50
;
filter
.
limit
=
Number
(
condition
.
page_size
)
||
50
;
filter
.
order
.
push
([
'order_id'
,
'
de
sc'
],
[
'created_at'
,
'desc'
]);
filter
.
order
.
push
([
'order_id'
,
'
a
sc'
],
[
'created_at'
,
'desc'
]);
}
else
if
(
type
===
'all'
)
{
}
else
if
(
type
===
'all'
)
{
filter
.
order
.
push
([
'sale_type'
,
'desc'
]);
filter
.
order
.
push
([
'sale_type'
,
'desc'
]);
}
else
if
(
type
===
'sale'
)
{
}
else
if
(
type
===
'sale'
)
{
...
...
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