Commit 7d884233 by 王昆

gsb

parent 74314a32
......@@ -117,6 +117,9 @@ class LabourService extends ServiceBase {
let labourIds = await this.userlabourDao.findLabourIdsByUserId(user_id) || [];
for (var item of list.rows) {
item.showNotify = labourIds.indexOf(item.id) == -1;
if (item.showNotify && item.phone_no) {
item.phone_no = item.phone_no.replace(/^(\d{3})\d{4}(\d{0,10})$/, "$1****$2");
}
}
}
return system.getResult(list);
......
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