Commit 350c53ec authored by 李尚科's avatar 李尚科

Fix

parent 9bba24f7
Pipeline #14382 passed with stage
in 37 seconds
......@@ -34,7 +34,7 @@ class OrderController extends Controller {
const { method, order_id, reject_url } = input_params;
let result = await ctx.service.credit.order.unifiedOrder(method, order_id);
// result.reject_url = reject_url;
result.url = `${result.url}&redirect_url=${reject_url}#shanp.com`;
result.url = `${result.url}&py=shanp.com&redirect_url=${reject_url}`;
ctx.success({ result });
}
......
......@@ -34,7 +34,7 @@ class OptionService extends Service {
const { ctx } = this;
const cats = await ctx.classModel.CourseCat.all({ where: { status: 1, is_deleted: 0 } });
const tree_cats = this.getTrees(cats, 0);
const options = {
cats: tree_cats,
ages: AGE_CATS,
......@@ -49,7 +49,7 @@ class OptionService extends Service {
const node = data[i];
if (node.parent_id == rootId) {
const newNode = {};
// ret.push({ id: 0, name: '全部', value: '' });
if (node.parent_id !== 0) ret.push({ id: 0, name: '全部', value: '' });
newNode.id = node.id;
newNode.name = node.name;
newNode.tips = node.tips;
......@@ -63,7 +63,7 @@ class OptionService extends Service {
}
return ret;
}
}
module.exports = OptionService;
......@@ -341,7 +341,7 @@ class ApplyService extends Service {
let report_id = null;
//数盒魔方三要素校验
// await ctx.service.credit.callrisk.checkThreeElements(input);
await ctx.service.credit.common.shuhemofangCheck('callrisk', input);
// await ctx.service.credit.common.shuhemofangCheck('callrisk', input);
//判断用户当前三要素是否是二次查询未支付订单
const check_second_ret = await this.checkSecond({ name, phone, id_card });
......
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