edit-sylive-order_kpi

This commit is contained in:
lccsw
2022-11-26 14:42:15 +08:00
parent bb49426f29
commit 299937376e
3 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -658,7 +658,7 @@ class Syt extends CI_Controller
!$page && $page = 1;
!$size && $size = 20;
$where = [
'activityId' => 4,
'activityId' => 5,
'tagId>' => 0,
'itemId' => 0,
'kpi' => 'order'
@@ -205,6 +205,7 @@ class Sylive_entity{
'day' => date('Y-m-d')
];
$params['tagId'] && $addData['tagId'] = $params['tagId'];
$params['itemId'] && $addData['itemId'] = $params['itemId'];
$area_id && $addData['areaId'] = $area_id;
$biz_id && $addData['bizId'] = $biz_id;
$jsondata = $params['jsondata'] ? $params['jsondata'] : [];
+2 -1
View File
@@ -143,7 +143,8 @@ class Notify extends CI_Controller {
'cf_uid' => $act_user['channelId'],
'kpi' => 'order',
'tagId' => $order['id'],
'jsondata'=> ['order_id'=>$order['id'],'sid'=>$sid,'mch_id'=>$this->mch_id]
'jsondata'=> ['order_id'=>$order['id'],'sid'=>$sid,'mch_id'=>$this->mch_id],
'itemId' => $order['itemId']
];
$sy_res = $this->sylive_entity->kpi_log($params);
debug_log("[info] ". __FUNCTION__ . ":私域通增加记录-".json_encode($sy_res,JSON_UNESCAPED_UNICODE), $this->log_file,$this->log_dir);