diff --git a/application/third_party/tpmanage/controllers/webgetbokun.php b/application/third_party/tpmanage/controllers/webgetbokun.php index 50600e8f..1ea8c323 100644 --- a/application/third_party/tpmanage/controllers/webgetbokun.php +++ b/application/third_party/tpmanage/controllers/webgetbokun.php @@ -137,10 +137,8 @@ class webgetbokun extends CI_Controller //先旧的infometa表 $tempRequireFileds = $activityDeatil->requiredCustomerFields; //根据抓取的需求字段,判断是否需要passport if (is_array($tempRequireFileds)) { - if (is_array($tempRequireFileds[0])) { - if (in_array("passportId", $tempRequireFileds[0])) { - $this->tpBokun_model->addMeta($ic_id, "meta_trippest_type", "gg"); - } + if (in_array("passportId", $tempRequireFileds)) { + $this->tpBokun_model->addMeta($ic_id, "meta_trippest_type", "gg"); } } $this->tpBokun_model->addMeta($ic_id, "meta_product_code", $PAG_Code); //对应翰特编码 @@ -407,7 +405,7 @@ class webgetbokun extends CI_Controller //先判断是否是新产品 $checkNew = json_decode($this->tpBokun_model->checkActivityId($activityId)); if ($checkNew->return == "yes") { - continue; + continue; } //提交网前接口 $PAGCode = "bk_" . $activityId;