draw
This commit is contained in:
@@ -4,19 +4,28 @@ defined('BASEPATH') OR exit('No direct script access allowed');
|
||||
class Welcome extends CI_Controller {
|
||||
|
||||
public function index(){
|
||||
echo '404';exit;
|
||||
|
||||
echo 404;exit;
|
||||
|
||||
//生产地址
|
||||
$url = 'https://salesapp.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
|
||||
//测试地址
|
||||
$url = 'https://salesapp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
|
||||
//$url = 'https://salesapp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
|
||||
|
||||
$name = '庄学宇';
|
||||
$comments = '101211';
|
||||
$mobile = '15089379933';
|
||||
$samobile = '18767192497';
|
||||
|
||||
$data[] = array(
|
||||
'cusSource3' => "010403",
|
||||
'customerName' => "测试A",
|
||||
'dealerCode' => "100316",
|
||||
'cusSource3' => '011403',
|
||||
'customerName' => $name,
|
||||
'dealerCode' => $comments,
|
||||
'fromSystem' => "好店云",
|
||||
'mobile' => "13012341234",
|
||||
'remark' => "测试数据",
|
||||
'mobile' => $mobile,
|
||||
'saMobile' => $samobile,
|
||||
'cusType' => '30111001',
|
||||
'remark' => "99宠你节",
|
||||
);
|
||||
|
||||
$data = json_encode($data, JSON_UNESCAPED_UNICODE);
|
||||
|
||||
@@ -252,6 +252,14 @@ class Draw extends CI_Controller
|
||||
if ($ret) {
|
||||
$winNum++;
|
||||
$resultSet[] = $v;
|
||||
|
||||
//半价车不发短信
|
||||
if($activityId == 20){
|
||||
if(in_array(1,2)){
|
||||
$dev = 1;
|
||||
}
|
||||
}
|
||||
|
||||
//中奖发短信
|
||||
if ($v['mobile'] && $dev == 0) {//dev==1不发短信通知
|
||||
if ($winTime >= $re['timeStart'] && $winSms) {//直播开始时中奖发短信
|
||||
|
||||
Reference in New Issue
Block a user