This commit is contained in:
xiaoyu
2024-02-09 13:16:22 +08:00
parent 4330b3746c
commit 7f32961a3e
3 changed files with 11 additions and 6 deletions
+5
View File
@@ -92,6 +92,11 @@ class Clues extends HD_Controller
'sa' => '石绿绿',
'mobile' => '14718175658'
),
'101214' => array(
'biz' => '汕头骏华',
'sa' => '黎旭',
'mobile' => '15766613213'
),
);
protected $log_dir;
+4 -4
View File
@@ -16,11 +16,11 @@ class Welcome extends CI_Controller {
//测试地址
//$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
$name = '户外小李子'; //客户姓名
$mobile = '13422926010';//客户手机
$name = '詹小姐'; //客户姓名
$mobile = '15813115992';//客户手机
$comments = '101043'; //门店编码
$samobile = '15999955547';//销售手机
$comments = '100832'; //门店编码
$samobile = '17329610587';//销售手机
$city_id = '350200';
$voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999));
@@ -862,7 +862,7 @@ class GroupsStatistics extends BaseController
$where = ['activityId' => $activityId, 'itemId' => $itemId, 'cfUserId>' => 0, 'itemId>' => 0];
$count = $this->mdSyliveActivityKpidata->count($where, 'cfUserId');
} else {
$where = ['activityId' => $activityId, 'status>=' => 0];
$where = ['activityId' => $activityId, 'status' => 0];
$count = $this->mdSyliveGroupsUser->count($where);
}
if ($count) {
@@ -871,7 +871,7 @@ class GroupsStatistics extends BaseController
, $page, $limit, "cfUserId,levelId1,levelId2,levelId3,bizId,count(id) as orderTotal");
} else {
$res = $this->mdSyliveGroupsUser->select($where, "{$sort_order},groupsUserId desc", $page, $limit,
'userId as cfUserId,levelId1,levelId2,levelId3,bizId,browse,subscribe,orderTotal,watch');
'userId as cfUserId,levelId1,levelId2,levelId3,bizId,browse,subscribe,beforeOrderTotal,orderTotal,watch');
}
$groups_ids = $userIds = [];
foreach ($res as $v) {