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
1d1e4976
Commit
1d1e4976
authored
Apr 17, 2019
by
Hsinli
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of t-git.51gjj.com:fangbin/51business
parents
d80dc7e0
a217012b
Pipeline
#6110
passed with stage
in 6 seconds
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
rental_house.js
app/controller/house/rental_house.js
+1
-1
rental_house.js
app/service/house/rental_house.js
+2
-1
config.prod.js
config/config.prod.js
+1
-0
No files found.
app/controller/house/rental_house.js
View file @
1d1e4976
...
...
@@ -22,7 +22,7 @@ class RentalHouseController extends Controller {
uid
:
user_id
,
}
// house_h5_rental_home_banners
const
banners_result
=
await
ctx
.
helper
.
send_request
(
this
.
config
.
NODE_URL
+
'/51app/api/block/all'
,
{
alias
:
'51fangc_rental_home_banners'
},
{
method
:
'GET'
,
dataType
:
'json'
,
headers
:
headers
});
const
banners_result
=
await
ctx
.
helper
.
send_request
(
this
.
config
.
NODE_
BASE_
URL
+
'/51app/api/block/all'
,
{
alias
:
'51fangc_rental_home_banners'
},
{
method
:
'GET'
,
dataType
:
'json'
,
headers
:
headers
});
let
banners
=
[];
if
(
banners_result
.
status
===
200
)
{
banners
=
banners_result
.
data
.
results
;
...
...
app/service/house/rental_house.js
View file @
1d1e4976
...
...
@@ -82,8 +82,9 @@ class RentalHouseService extends Service {
value
:
1
,
operator
:
"equal"
});
const
pageSize
=
condition
.
page_size
||
30
;
const
filter
=
{
pageSize
:
30
,
pageSize
:
pageSize
,
queryConditions
:
queryConditions
,
orderConditions
:
[{
key
:
'price'
,
...
...
config/config.prod.js
View file @
1d1e4976
...
...
@@ -55,6 +55,7 @@ module.exports = appInfo => {
config
.
CDN_BASE_URL
=
'https://r.51gjj.com/image/'
;
config
.
NODE_URL
=
process
.
env
.
NODE_URL
;
config
.
NODE_BASE_URL
=
process
.
env
.
NODE_BASE_URL
;
config
.
PHP_URL
=
process
.
env
.
PHP_URL
;
config
.
HOUSE_SERVICE_API
=
process
.
env
.
HOUSE_SERVICE_API
;
// 房产
...
...
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