Commit 18994a7b by 王昆

gsb

parent 530ee735
......@@ -61,7 +61,7 @@ class DeliverService extends ServiceBase {
params.businessmenDivide = 0;
var rs = await this.callms("common", "deliverSave", params);
await this.doPercent([rs.data]);
if(!params.id && rs && rs.data && rs.data.id) {
if(rs && rs.data && rs.data.id) {
this.synSave(rs.data.admin_id, params.password);
}
return rs;
......@@ -74,6 +74,11 @@ class DeliverService extends ServiceBase {
}
let user = rs.data.user;
// 是否已经推送过
if(user.nt_user_id) {
return;
}
let deliver = rs.data.deliver;
let data = {
companyNo: deliver.id,
......
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