Commit de11af03 authored by 李尚科's avatar 李尚科

fix

parent 01163a1b
Pipeline #6567 passed with stage
in 9 seconds
......@@ -15,14 +15,15 @@ class RentalHouseController extends Controller {
const device_id = ctx.device_id;
const device_login_id = ctx.device_login_id;
const headers = {
app_user_id: app_user_id,
device_id: device_id || '0ef939ea-9bb7-4d21-b98a-53bdad418ad9',
device_login_id: device_login_id,
token: token,
uid: user_id,
// app_user_id: app_user_id,
// device_id: device_id || '0ef939ea-9bb7-4d21-b98a-53bdad418ad9',
// device_login_id: device_login_id,
// token: token,
// uid: user_id,
cookie: `app_user_id=${app_user_id}; device_id=${device_id}; device_login_id=${device_login_id}; token=${token}; user_id=${user_id};`
}
// 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: ctx.request.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;
......
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