Commit 660260b4 authored by Hsinli's avatar Hsinli

addd

parent f20ea4cd
Pipeline #14083 passed with stage
in 10 seconds
......@@ -316,11 +316,15 @@ class BlacklistService extends Service {
*/
async createReport(inputParams, blacklistInfo) {
const { ctx } = this;
let birth = parseInt(inputParams.id_card.substring(6, 10));
let age = parseInt(moment().format('YYYY')) - birth;
let reportData = {
name: inputParams.name,
id_card: inputParams.id_card,
phone: inputParams.phone,
age: '',
age: age,
city: '',
blacklist_of_internet_loans: blacklistInfo.pre_loan_risk.blacklist_of_internet_loans,
blacklist_of_court_dishonesty: blacklistInfo.pre_loan_risk.blacklist_of_court_dishonesty,
......
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