Commit 49c0900f by 王昆

gsb

parent 441cda6a
......@@ -109,6 +109,9 @@ class ActionAPI extends APIBase {
case "deliverLogin":
opResult = await this.deliverSve.login(action_body);
break;
case "deliverUsers":
opResult = await this.deliverSve.deliverUsers(action_body);
break;
// 发票内容
case "invoicecontentSave":
......
......@@ -217,6 +217,18 @@ class DeliverService extends ServiceBase {
item.user = user;
}
}
async deliverUsers(params) {
let sql = "SELECT * FROM d_deliver_user WHERE deliver_id = :deliver_id AND isAdmin = 0";
let list = await this.customQuery(sql, params);
if (list) {
for (let item of list) {
item.realName = item.real_name;
}
}
return system.getResultSuccess(list);
}
}
module.exports = DeliverService;
......
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