Commit 178785fc authored by Hsinli's avatar Hsinli

Merge branch 'master' of t-git.51gjj.com:fangbin/51business

parents 9605ba5e 9061e740
Pipeline #9267 passed with stage
in 5 seconds
...@@ -83,7 +83,7 @@ class HouseAnalysisService extends Service { ...@@ -83,7 +83,7 @@ class HouseAnalysisService extends Service {
if (!user_id || !app_type_id) { if (!user_id || !app_type_id) {
ctx.failed('login error'); ctx.failed('login error');
} }
const results = await ctx.realestateModel.HouseAnalysis.list({ page: page, limit: limit, where: { user_id: user_id, app_type_id: app_type_id }, order: [['id', 'desc']] }); const results = await ctx.realestateModel.HouseAnalysis.list({ page: page, limit: Number(limit), where: { user_id: user_id, app_type_id: app_type_id }, order: [['id', 'desc']] });
return results; return 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