Commit 1ea9ab4a authored by 谢永靖's avatar 谢永靖

1

parent b2e90804
Pipeline #38681 passed with stage
in 10 seconds
......@@ -85,7 +85,8 @@ class ProductNewService extends Service {
};
const credit_loans = await ctx.service.gjj.product.getAllProductsByType(1);
const common_loans = await ctx.service.gjj.product.getAllProductsByType(4);
const ret = R.take(6)(R.sort(recommendSort)(credit_loans.concat(common_loans)));
const result_loans = R.sort(recommendSort)(credit_loans.concat(common_loans));
const ret = R.take(6)(result_loans);
return 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