A库筛选保险日期调试

webUi^2
zhaocheng 5 years ago
parent b8ba1149c6
commit 0ebba637ec
  1. 12
      frontend/controllers/DatabaseController.php

@ -108,6 +108,18 @@ class DatabaseController extends BaseController
$biaozhu = $request->get('biaozhu'); $biaozhu = $request->get('biaozhu');
$car_use_id = $request->get('car_use_id'); $car_use_id = $request->get('car_use_id');
} }
$insurer1_begin_arr = explode('-',$insurer1_begin);
if(count($insurer1_begin_arr) == 2){
$insurer1_begin = '';
$insurer1_month = $insurer1_begin_arr[0];
$insurer1_day = $insurer1_begin_arr[1];
}
$insurer1_end_arr = explode('-',$insurer1_end);
if(count($insurer1_end_arr) == 2){
$insurer1_end = '';
$insurer1_month1 = $insurer1_end_arr[0];
$insurer1_day1 = $insurer1_end_arr[1];
}
$params = array(); $params = array();
$params['car_man'] = $car_man; $params['car_man'] = $car_man;
$params['phone'] = $phone; $params['phone'] = $phone;

Loading…
Cancel
Save