Commit b80180be by 王昆

gsb

parent 4fb57cac
......@@ -360,8 +360,7 @@ class UserCtl extends CtlBase {
if (!params.deliver_id) {
return system.getResultSuccess([]);
}
params.uctype = params.deliver_id;
return await this.userSve.findDeliverUsers(params);
return await this.userSve.salesmanList(params);
} catch (error) {
console.log(error);
return system.getResult(null, `系统错误 错误信息 ${error}`);
......
......@@ -130,13 +130,10 @@ class UserService extends ServiceBase {
}
}
async findDeliverUsers(params) {
async salesmanList(params) {
try {
let p = {
uctype: 3,
uctypeId: params.deliver_id,
}
return await this.callms("uc", "findUsers", p);
let rs = await this.callms("common", "deliverUsers", params);
return system.getResultSuccess(rs);
} catch (error) {
console.log(error);
return system.getResult(null, `系统错误 错误信息 ${error}`);
......
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