Commit d15544b1 authored by Hsinli's avatar Hsinli

add

parent af54a459
Pipeline #6412 passed with stage
in 7 seconds
......@@ -24,12 +24,12 @@ class NewHouseController extends Controller {
};
ctx.validate(rule, inputParams);
let ret = {};
// if (inputParams.hasOwnProperty('type') && inputParams.type !== '') {
// ret = await ctx.service.house.newHouse.getNewHouseListByType(inputParams);
// } else {
// ret = await ctx.service.house.newHouse.getNewHouseList(inputParams);
// }
ret = await ctx.service.house.newHouse.getNewHouseListV2(inputParams);
if (inputParams.hasOwnProperty('type') && inputParams.type !== '') {
ret = await ctx.service.house.newHouse.getNewHouseListByType(inputParams);
} else {
ret = await ctx.service.house.newHouse.getNewHouseList(inputParams);
}
// ret = await ctx.service.house.newHouse.getNewHouseListV2(inputParams);
ctx.success(ret);
}
......
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