edit-annot-api

This commit is contained in:
lccsw
2023-05-04 16:32:54 +08:00
parent 6934c38ec5
commit 068e016701
+17 -17
View File
@@ -591,23 +591,23 @@ class Act extends Wx {
$this->sylive2_entity->kpi_log($params);
}
}
if($a_id==11){
//通知第三方
require_once COMMPATH . 'third_party/Syt.php';
$syt = new Syt();
$dlrCode = "";
$mediaCaName = "";
$leadNo = $this->uid;
//获取意向网点编码
if($p_user){
$user = $this->user_model->get(['userId'=>$act_user_row['channelId']]);
$mediaCaName = $user['uname'];
$group_user = $this->groups_user_model->get(['activityId' => $a_id, 'userId' => $act_user_row['channelId'], 'status' => 0]);
$biz = $this->market_sylive_organization_model->get(['organizationId'=>$group_user['bizId']]);
$dlrCode = $biz['comments'];
}
$syt->Tj($dlrCode,"活动客户",$mobile,$mediaCaName,$leadNo);
}
// if($a_id==11){
// //通知第三方
// require_once COMMPATH . 'third_party/Syt.php';
// $syt = new Syt();
// $dlrCode = "";
// $mediaCaName = "";
// $leadNo = $this->uid;
// //获取意向网点编码
// if($p_user){
// $user = $this->user_model->get(['userId'=>$act_user_row['channelId']]);
// $mediaCaName = $user['uname'];
// $group_user = $this->groups_user_model->get(['activityId' => $a_id, 'userId' => $act_user_row['channelId'], 'status' => 0]);
// $biz = $this->market_sylive_organization_model->get(['organizationId'=>$group_user['bizId']]);
// $dlrCode = $biz['comments'];
// }
// $syt->Tj($dlrCode,"活动客户",$mobile,$mediaCaName,$leadNo);
// }
}
$redis->delete($key);
$this->show_json('',200, '预约成功');