Commit daef6bc3 authored by 任国军's avatar 任国军

remove loan_list commonLoan

parent 1eed7e4f
Pipeline #12438 passed with stage
in 28 seconds
...@@ -94,9 +94,8 @@ class ProductService extends Service { ...@@ -94,9 +94,8 @@ class ProductService extends Service {
id: -3, id: -3,
title: '最适合您的', title: '最适合您的',
quality: await this.getSuitLoans(), quality: await this.getSuitLoans(),
normal: common_loans_ids, normal: [],
}); });
} else { } else {
children.push({ children.push({
id: -4, id: -4,
...@@ -135,7 +134,7 @@ class ProductService extends Service { ...@@ -135,7 +134,7 @@ class ProductService extends Service {
const { ctx } = this; const { ctx } = this;
const url = this.config.NODE_BASE_URL + '/cassandra-server/bu_basic/list'; const url = this.config.NODE_BASE_URL + '/cassandra-server/bu_basic/list';
const products_results = await ctx.helper.send_request(url, {type, app_id: ctx.appId}, { method: 'GET' }); const products_results = await ctx.helper.send_request(url, { type, app_id: ctx.appId }, { method: 'GET' });
// ctx.logger.info(JSON.stringify({ url, products_results })); // ctx.logger.info(JSON.stringify({ url, products_results }));
let products = []; let products = [];
if (products_results.status !== 200 || !products_results.data || !products_results.data.ret) { if (products_results.status !== 200 || !products_results.data || !products_results.data.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