Authored by 郭成尧

business_line

/* eslint no-unused-vars: ["error", { "args": "none" }] */
'use strict';
const _ = require('lodash');
const FROM = require('../../../config/from');
class PhoneServiceModel extends global.yoho.BaseModel {
... ... @@ -29,7 +30,7 @@ class PhoneServiceModel extends global.yoho.BaseModel {
area: param.area,
code: param.code,
shopping_key: param.shopping_key,
business_line: FROM[param.from].business_line
business_line: _.get(FROM, `${param.from}.business_line`)
}
});
}
... ...