diff --git a/admin/controllers/hdcloud/Clues.php b/admin/controllers/hdcloud/Clues.php
index b2b236e3..b5d206e5 100644
--- a/admin/controllers/hdcloud/Clues.php
+++ b/admin/controllers/hdcloud/Clues.php
@@ -11,11 +11,11 @@ class Clues extends HD_Controller
'sa' => '陈秋龙',
'mobile' => '17758949069'
),
- '101022' => array(
- 'biz' => '泉州南安中骏',
- 'sa' => '潘福泉',
- 'mobile' => '15260424218'
- ),
+// '101022' => array(
+// 'biz' => '泉州南安中骏',
+// 'sa' => '潘福泉',
+// 'mobile' => '15260424218'
+// ),
'100966' => array(
'biz' => '泉州南环路',
'sa' => '傅玲玲',
@@ -23,8 +23,8 @@ class Clues extends HD_Controller
),
'101077' => array(
'biz' => '晋江豪信',
- 'sa' => '郑晓员',
- 'mobile' => '13615912658'
+ 'sa' => '杨晓默',
+ 'mobile' => '13799859101'
),
'100619' => array(
'biz' => '漳州狸车',
@@ -33,8 +33,8 @@ class Clues extends HD_Controller
),
'100231' => array(
'biz' => '宁德辉科',
- 'sa' => '陈玉佑',
- 'mobile' => '18150878955'
+ 'sa' => '余玮',
+ 'mobile' => '18659197547'
),
'100421' => array(
'biz' => '南平绿衡',
@@ -46,6 +46,17 @@ class Clues extends HD_Controller
'sa' => '林昉',
'mobile' => '18760550059'
),
+ '100690' => array(
+ 'biz' => '龙岩胜华成',
+ 'sa' => '邱霜霜',
+ 'mobile' => '18659799369'
+ ),
+ '101207' => array(
+ 'biz' => '厦门胜华嘉',
+ 'sa' => '',
+ 'mobile' => ''
+ ),
+
);
protected $log_dir;
diff --git a/home/controllers/Welcome.php b/home/controllers/Welcome.php
index 86f2cbe4..5ab36e9d 100644
--- a/home/controllers/Welcome.php
+++ b/home/controllers/Welcome.php
@@ -3,7 +3,12 @@ defined('BASEPATH') OR exit('No direct script access allowed');
class Welcome extends CI_Controller {
- public function index(){
+ public function index()
+ {
+ echo "
404
";exit;
+ }
+
+ public function neta(){
//echo "404
";exit;
//生产地址
$url = 'https://salesapp.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
@@ -11,11 +16,11 @@ class Welcome extends CI_Controller {
//测试地址
//$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
- $name = '依维柯'; //客户姓名
- $mobile = '15305033630';//客户手机
+ $name = 'Li668822'; //客户姓名
+ $mobile = '18350486789';//客户手机
- $comments = '100619'; //门店编码
- $samobile = '17750151079';//销售手机
+ $comments = '100690'; //门店编码
+ $samobile = '18659799369';//销售手机
$city_id = '350200';
$voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999));
@@ -29,7 +34,7 @@ class Welcome extends CI_Controller {
'mobile' => $mobile,
'saMobile' => $samobile,
'cusType' => '30111001',
- 'remark' => "征信不好",
+ 'remark' => "",
'intentModel' => "哪吒X",
);
diff --git a/home/controllers/h5/market/Draw.php b/home/controllers/h5/market/Draw.php
index c8593c84..6ec1a086 100644
--- a/home/controllers/h5/market/Draw.php
+++ b/home/controllers/h5/market/Draw.php
@@ -136,10 +136,10 @@ class Draw extends CI_Controller
if ($v['itemIds']) {
//不中奖奖品
- if($activityId == 23 and in_array($winType, array(1,2,3,4))){
- $activityId = 21;
+ if($activityId == 25 and in_array($winType, array(1,2,3,4,5,6))){
+ $activityId = 23;
$whereOrder = ['activityId' => $activityId, 'status' => 1];
- $v['itemIds'] = [27];
+ $v['itemIds'] = [30];
}
$itemIds = implode(',', $v['itemIds']);
@@ -154,6 +154,7 @@ class Draw extends CI_Controller
$time = "在【" . date('Y-m-d H:i:s') . "】";
$count = $this->mdSyliveOrder->count($whereOrder);
+
$list = $result = [];
if ($count) {//判断抽奖名单
//随机数据
@@ -186,29 +187,29 @@ class Draw extends CI_Controller
$data['list'] = $list;
//暗箱
- if($activityId == 23 && in_array($winType, array(6,7)))
- {
- $list = array();
- $sqlOrder = "SELECT id,userId,mobile,uname,totalPrice FROM lc_market_sylive_order WHERE activityId={$activityId} AND win=0 AND winType={$winType} AND status=1 ORDER BY RAND() LIMIT {$winNum}";
- $res = $this->db->query($sqlOrder)->result_array();
-
- if ($res) {
- $str_userIds = implode(',', array_column($res, 'userId'));
- $map_user = $this->mdSyliveUser->map('userId', 'headimg', ["userId in({$str_userIds})" => null]);
- foreach ($res as $v) {
- if ($v['mobile']) {
- $tel = mobile_asterisk($v['mobile']);
- $name = $v['uname'] ? name_asterisk($v['uname']) : '***';
- if ($map_user[$v['userId']]) {
- $headimg = $map_user[$v['userId']];
- } else {
- $headimg = $defaultHead;
- }
- $list[] = ['headimg' => $headimg, 'name' => $name, 'tel' => $tel, 'id' => intval($v['id']), 'uname' => $v['uname'], 'mobile' => $v['mobile']];
- }
- }
- }
- }
+// if($activityId == 23 && in_array($winType, array(6,7)))
+// {
+// $list = array();
+// $sqlOrder = "SELECT id,userId,mobile,uname,totalPrice FROM lc_market_sylive_order WHERE activityId={$activityId} AND win=0 AND winType={$winType} AND status=1 ORDER BY RAND() LIMIT {$winNum}";
+// $res = $this->db->query($sqlOrder)->result_array();
+//
+// if ($res) {
+// $str_userIds = implode(',', array_column($res, 'userId'));
+// $map_user = $this->mdSyliveUser->map('userId', 'headimg', ["userId in({$str_userIds})" => null]);
+// foreach ($res as $v) {
+// if ($v['mobile']) {
+// $tel = mobile_asterisk($v['mobile']);
+// $name = $v['uname'] ? name_asterisk($v['uname']) : '***';
+// if ($map_user[$v['userId']]) {
+// $headimg = $map_user[$v['userId']];
+// } else {
+// $headimg = $defaultHead;
+// }
+// $list[] = ['headimg' => $headimg, 'name' => $name, 'tel' => $tel, 'id' => intval($v['id']), 'uname' => $v['uname'], 'mobile' => $v['mobile']];
+// }
+// }
+// }
+// }
//选择中奖人结果
shuffle($list);
@@ -257,7 +258,7 @@ class Draw extends CI_Controller
$dev = false !== strpos($_SERVER['HTTP_HOST'], 'dev') ? 1 : 0;
foreach ($result as $v) {
- if($activityId == 23 and in_array($winType, array(1,2,3,4))){
+ if($activityId == 25 and in_array($winType, array(1,2,3,4,5,6))){
$resultSet[] = $v;
$winNum++;
$sms++;
diff --git a/home/views/h5/market/sylive2/act/index.php b/home/views/h5/market/sylive2/act/index.php
index 1f92328f..ff8478a5 100644
--- a/home/views/h5/market/sylive2/act/index.php
+++ b/home/views/h5/market/sylive2/act/index.php
@@ -82,6 +82,10 @@
href="https://www.liche.cn/h5/market/sylive2/item/detail?skey=YV9pZD0yNSZpdGVtSWQ9MzM">
立即支付10元宠爱金
+
+ 支付9.9元瓜分百万红包
+