Commit 617f35ac authored by 李尚科's avatar 李尚科

tool fix

parent 4e5fa132
Pipeline #6025 passed with stage
in 10 minutes 23 seconds
This diff is collapsed.
......@@ -6,7 +6,9 @@ module.exports = app => {
router.get('/tool/:house_style/:area_code/:level', 'house.tool.getMapPoint');//购房计划地图点位
router.post('/tool/plan', 'house.tool.generateBuyHousePlan');//生成购房计划
router.get('/tool/:type/:area_code', 'house.tool.getHousePriceFeature');//房价指数 涨跌
router.get('/tool/:type/:area_code', 'house.tool.getHousePriceFeature');//房价指数 房价涨跌 购房资格、贷款额度问答
router.get('/tool/calculate_price', 'house.tool.calculateHousePrice2');//房产估价
router.get('/tool/qfang_area_list', 'house.tool.getQFangAreaList');//房产估价
//租房
router.get('/rental_house/home', 'house.rentalHouse.home');//租房首页信息
......
......@@ -53,6 +53,14 @@ class RentalHouseService extends Service {
operator: 'equal',
});
}
if (condition.name) {
await service.house.searchHistory.addSearchHistory({ type: 2, key_word: condition.name });//增加搜索历史
queryConditions.push({
key: 'name',
value: condition.name,
operator: 'contains',
});
}
queryConditions.push({
key: "state",
value: 1,
......@@ -198,7 +206,7 @@ class RentalHouseService extends Service {
}
async formatRentalHouseBasic(rental_houses) {
const { ctx } = this;
......
# Netscape HTTP Cookie File
# http://curl.haxx.se/docs/http-cookies.html
# This file was generated by libcurl! Edit at your own risk.
#HttpOnly_hangzhou.qfang.com FALSE / FALSE 1555337519 sec_tc AQAAAE+G4wNvjgoAeuCC4ndGDrZ0m3RX
#HttpOnly_hangzhou.qfang.com FALSE / FALSE 1558015320 acw_tc 7250b31815553369196918090e18c441c8b7d4f052c9fce70140ddae7e
#HttpOnly_.qfang.com TRUE / TRUE 1555941719 sid 51f92bcc-83fd-46e4-ba7f-85a4d4f00d8a
#HttpOnly_.qfang.com TRUE / TRUE 1870696919 cookieId 2be15c40-035e-4c13-b9d8-56ad9228967b
.qfang.com TRUE / TRUE 1870696919 qchatid d2d2a2fc-9c79-42ae-a293-3694c2398818
.qfang.com TRUE / TRUE 1556546519 language SIMPLIFIED
hangzhou.qfang.com FALSE / FALSE 0 JSESSIONID aaa1w9XtM3clW9vSFtHOw
#HttpOnly_.qfang.com TRUE / TRUE 1555423320 HOUSE_PRICE_TOKEN d90dae9b363f479a9895e2f5a89256ba
......@@ -21,6 +21,7 @@
"moment": "^2.22.2",
"mysql2": "^1.6.1",
"node-cache": "^4.2.0",
"node-spider": "^1.4.1",
"parameter": "^3.3.1",
"ramda": "^0.25.0",
"uuid": "^3.3.2"
......
This source diff could not be displayed because it is too large. You can view the blob instead.
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