This commit is contained in:
小鱼开发
2024-09-29 11:07:37 +08:00
parent 833bac2920
commit 670ed8368a
3 changed files with 50 additions and 50 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ class Welcome extends CI_Controller {
public function add_clues() public function add_clues()
{ {
$mobiles = array('13451861233','15597899137','18678980751','15955667720','18264178997','17664142215','18118633658','13137051622','18252477682','15262782639','18143398781','13684477778','13866456606','13866564993','18956893692','13739356611','13803757599','15851396648','13509717315','15154023830','13893444062','13618856280','18264600415','13294189205','13712375759','13605561713','17686843093','13359436547','18005409337','18352691405'); $mobiles = array('13417777865','18501792567','15002589060','13593871214','18651536066','15996655653','15562157893','18897229897','18274814955','18794315863','15127171801','13308461413','13811868896','13865156035','15339923699','17752511950','13139253765','17872575925','14706909684','17797655027','13513799222','18089356048','15305162642','13938591895','15262305600','15828364005','13909661799','15358907530','15762297885','18390606799','13203915154','13645392555','18605518073','17714208339','18752065854','15514350619','15637938839','18573660287','13622972984','15902303424','18275561639','13355127855','18251417701','17312511119','13837945013','13721667985','18351553332','15285199824','13963741286','15751163795','13594383866','15195619964','19994635633','13903905090','15262294921','13589233394','18907840956','15236152700','18138861592','18986123180');
$dealerCode = '100619'; $dealerCode = '100481';
foreach ($mobiles as $k => $v) { foreach ($mobiles as $k => $v) {
$city_id = '350200'; $city_id = '350200';
+47 -47
View File
@@ -665,53 +665,53 @@ class Act extends Wx
// $syt->Tj($dlrCode,"活动客户",$mobile,$mediaCaName,$leadNo); // $syt->Tj($dlrCode,"活动客户",$mobile,$mediaCaName,$leadNo);
// } // }
// if ($a_id == 27) { if ($a_id == 35) {
// //生产地址 //生产地址
// $url = 'https://salesapp.hozonauto.com/appservice/app/if/salesclue/createSalesclue'; $url = 'https://salesapp.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
//
// //获取意向网点编码 //获取意向网点编码
// if ($p_user) { if ($p_user) {
// $user = $this->user_model->get(['userId' => $act_user_row['channelId']]); $user = $this->user_model->get(['userId' => $act_user_row['channelId']]);
// $biz = $this->market_sylive_organization_model->get(['organizationId' => $user['bizId']]); $biz = $this->market_sylive_organization_model->get(['organizationId' => $user['bizId']]);
// } }
//
// if ($biz['comments']) { if ($biz['comments']) {
// $data[] = array( $data[] = array(
// 'cusSource3' => '023410', 'cusSource3' => '023410',
// 'customerName' => "活动客户", 'customerName' => "活动客户",
// 'dealerCode' => $biz['comments'], 'dealerCode' => $biz['comments'],
// 'fromSystem' => "好店云", 'fromSystem' => "好店云",
// 'mobile' => $mobile, 'mobile' => $mobile,
// 'saMobile' => $user['mobile'] ? $user['mobile'] : '', 'saMobile' => $user['mobile'] ? $user['mobile'] : '',
// 'cusType' => '30111001', 'cusType' => '30111001',
// 'remark' => "2024新春活动", 'remark' => "2024国庆活动",
// ); );
//
// $data = json_encode($data, JSON_UNESCAPED_UNICODE); $data = json_encode($data, JSON_UNESCAPED_UNICODE);
//
// $ch = curl_init(); $ch = curl_init();
// curl_setopt($ch, CURLOPT_POST, 1); curl_setopt($ch, CURLOPT_POST, 1);
// curl_setopt($ch, CURLOPT_URL, $url); curl_setopt($ch, CURLOPT_URL, $url);
// curl_setopt($ch, CURLOPT_POSTFIELDS, $data); curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
// curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1); curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
//
// //https //https
// if (strlen($url) > 5 && strtolower(substr($url, 0, 5)) == "https") { if (strlen($url) > 5 && strtolower(substr($url, 0, 5)) == "https") {
// curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
// curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false); curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, false);
// } }
//
// curl_setopt($ch, CURLOPT_HTTPHEADER, array( curl_setopt($ch, CURLOPT_HTTPHEADER, array(
// 'Content-Type: application/json; charset=utf-8', 'Content-Type: application/json; charset=utf-8',
// 'Content-Length: ' . strlen($data) 'Content-Length: ' . strlen($data)
// ) )
// ); );
//
// $response = curl_exec($ch); $response = curl_exec($ch);
// curl_close($ch); curl_close($ch);
// debug_log("[info]# " . $data . "\n" . $response, 'neta.log', 'market/sylive'); debug_log("[info]# " . $data . "\n" . $response, 'neta.log', 'market/sylive');
// } }
// } }
} }
$redis->delete($key); $redis->delete($key);
$this->show_json(array('ukey' => $ukey), 200, '预约成功'); $this->show_json(array('ukey' => $ukey), 200, '预约成功');
+1 -1
View File
@@ -522,7 +522,7 @@
that.msgisShowReg = false that.msgisShowReg = false
//提交成功 //提交成功
that.msgisShowSuccess = true that.msgisShowSuccess = true
that.ukeyPath = '/pages/lottery/index?encrypt=2711aed73199217a59b968b74883710e&weshop_key=k44f71a&liche_ukey=' + response.data.ukey that.ukeyPath = '/packMarket/pages/team/index?team_en=R8GBMEXGCZ&third_u_key=' + response.data.ukey
that.succesTx = { that.succesTx = {
title: that.info.appoint_title, title: that.info.appoint_title,
content: that.info.appoint_msg, content: that.info.appoint_msg,