Commit 45aa6401 authored by 李尚科's avatar 李尚科

fix

parent 1a2d36c3
Pipeline #14762 passed with stage
in 35 seconds
......@@ -82,7 +82,9 @@ class CallriskService extends Service {
//订单是否在有效期内
const net_time = basics.net_time;
basics.net_time = (net_time / 30).toFixed() + '月' + net_time % 30 + '天';
const months = (net_time / 30).toFixed();
const days = net_time % 30;
basics.net_time = months + '月' + (days ? days + '天' : '');
basics.mobile = basics.mobile.substring(0, 3) + '****' + basics.mobile.substring(7, 11);//手机号(只展示前三位和后四位)
const report_valid = await ctx.service.credit.order.getReportValid('callrisk', report_id);
let report = {
......
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