Commit 53665f74 authored by 李尚科's avatar 李尚科

rental house fix

parent c22adc7b
...@@ -22,7 +22,7 @@ class RentalHouseController extends Controller { ...@@ -22,7 +22,7 @@ class RentalHouseController extends Controller {
uid: user_id, uid: user_id,
} }
// house_h5_rental_home_banners // house_h5_rental_home_banners
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 }); 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: ctx.request.headers });
let banners = []; let banners = [];
if (banners_result.status === 200) { if (banners_result.status === 200) {
banners = banners_result.data.results; banners = banners_result.data.results;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment