neta0202
This commit is contained in:
@@ -146,7 +146,6 @@ abstract class Wxapp extends HD_Controller{
|
||||
}
|
||||
|
||||
if(!method_exists($this, $method)){
|
||||
echo $method;exit;
|
||||
debug_log("[fail]". __FUNCTION__ . ": request not allow; method:{$method}", $this->log_file);
|
||||
throw new Exception('非法请求', API_CODE_NONE);
|
||||
}
|
||||
@@ -154,7 +153,6 @@ abstract class Wxapp extends HD_Controller{
|
||||
//某个方法或者整个ct在白名单里无需校验
|
||||
$session = $this->session;
|
||||
if(!in_array($name, $this->login_white) && 'all' != $this->login_white){
|
||||
print_r($this->login_white);exit;
|
||||
if(!$session){
|
||||
throw new Exception('还未登录', API_CODE_LOGOUT);
|
||||
}
|
||||
|
||||
@@ -16,11 +16,11 @@ class Welcome extends CI_Controller {
|
||||
//测试地址
|
||||
//$url = 'https://salespp-sit.hozonauto.com/appservice/app/if/salesclue/createSalesclue';
|
||||
|
||||
$name = '唐总'; //客户姓名
|
||||
$mobile = '13085816967';//客户手机
|
||||
$name = '不倒翁零食铺'; //客户姓名
|
||||
$mobile = '18960882090';//客户手机
|
||||
|
||||
$comments = '100647'; //门店编码
|
||||
$samobile = '18923392948';//销售手机
|
||||
$comments = '100958'; //门店编码
|
||||
$samobile = '17758949069';//销售手机
|
||||
|
||||
$city_id = '350200';
|
||||
$voId = $city_id . date('mdHis') . sprintf("%06d", rand(1,999999));
|
||||
@@ -34,7 +34,7 @@ class Welcome extends CI_Controller {
|
||||
'mobile' => $mobile,
|
||||
'saMobile' => $samobile,
|
||||
'cusType' => '30111001',
|
||||
'remark' => "",
|
||||
'remark' => "加微信",
|
||||
'intentModel' => "哪吒V",
|
||||
);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user