neta0202
This commit is contained in:
@@ -55,6 +55,12 @@ class Act extends Wxapp
|
||||
'5053' => '3', //平板
|
||||
);
|
||||
|
||||
$winName = array(
|
||||
'5051' => '电视机',
|
||||
'5052' => '电冰箱',
|
||||
'5053' => '平板电脑',
|
||||
);
|
||||
|
||||
$activity = $this->market_sylive_activity_model->get(['activityId' => $activityId]);
|
||||
if (!$activity) {
|
||||
throw new Hd_exception('活动不存在', API_CODE_FAIL);
|
||||
@@ -85,6 +91,8 @@ class Act extends Wxapp
|
||||
}
|
||||
|
||||
if ($rt) {
|
||||
$winSms = "【好店云】“龙行龘龘「哪」红包”感谢您参与哪吒汽车华南大区新春活动,恭喜您成功锁定(".$winName[$reward_id].")一份,只需您在2024年2月29日前在当地门店选购哪吒X\哪吒AYA\哪吒U-II等车型并完成上牌,即可领取礼品!";
|
||||
b2m_send_sms($order['mobile'], $winSms);
|
||||
throw new Hd_exception('执行成功', API_CODE_SUCCESS);
|
||||
}
|
||||
|
||||
|
||||
@@ -16,11 +16,11 @@ class Welcome extends CI_Controller {
|
||||
//测试地址
|
||||
//$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
|
||||
|
||||
$name = '不倒翁零食铺'; //客户姓名
|
||||
$mobile = '18960882090';//客户手机
|
||||
$name = '冯生'; //客户姓名
|
||||
$mobile = '13702972770';//客户手机
|
||||
|
||||
$comments = '100958'; //门店编码
|
||||
$samobile = '17758949069';//销售手机
|
||||
$comments = '101252'; //门店编码
|
||||
$samobile = '13790011910';//销售手机
|
||||
|
||||
$city_id = '350200';
|
||||
$voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999));
|
||||
@@ -34,8 +34,8 @@ class Welcome extends CI_Controller {
|
||||
'mobile' => $mobile,
|
||||
'saMobile' => $samobile,
|
||||
'cusType' => '30111001',
|
||||
'remark' => "加微信",
|
||||
'intentModel' => "哪吒V",
|
||||
'remark' => "",
|
||||
'intentModel' => "哪吒X",
|
||||
);
|
||||
|
||||
print_r(json_encode($data,JSON_UNESCAPED_UNICODE));
|
||||
|
||||
Reference in New Issue
Block a user