edit-api-insure
This commit is contained in:
@@ -407,16 +407,29 @@ class User extends Wxapp{
|
||||
$jsondata = json_decode($order_data['jsondata'],true);
|
||||
$jsondata['car_info']['PlateNo'] && $platenumber = $jsondata['car_info']['PlateNo'];
|
||||
if($order_data['car_img']){
|
||||
$car_img[] = build_qiniu_image_url($order_data['car_img']);
|
||||
$car_img = [
|
||||
[
|
||||
'text' => '查看行驶证',
|
||||
'img' => build_qiniu_image_url($order_data['car_img']),
|
||||
]
|
||||
];
|
||||
}
|
||||
if($order_data['insurance_img'] || $order_data['business_img']){
|
||||
$insurance_img = json_decode($order_data['insurance_img'],true);
|
||||
$business_img = json_decode($order_data['business_img'],true);
|
||||
$insurance_img['img'] && $ins_img[] = build_qiniu_image_url($insurance_img['img']);
|
||||
if($insurance_img['img']){
|
||||
$ins_img[] = [
|
||||
'text' => '查看强制险',
|
||||
'img' => build_qiniu_image_url($insurance_img['img']),
|
||||
];
|
||||
}
|
||||
$ins_company = $business_img['product'];
|
||||
if($business_img['img']){
|
||||
$business_url = build_qiniu_image_url($business_img['img']);
|
||||
$ins_img[] = $business_url;
|
||||
$ins_img[] = [
|
||||
'text' => '查看商业险',
|
||||
'img' => $business_url,
|
||||
];
|
||||
// $business_info = $jsondata['ins_info'][md5($business_url)];
|
||||
// $insure = $business_info['data']['投保日期'] ? $business_info['data']['投保日期'] : '';
|
||||
}
|
||||
@@ -433,6 +446,7 @@ class User extends Wxapp{
|
||||
}
|
||||
}
|
||||
}
|
||||
$other = [];
|
||||
$other[] = [
|
||||
'icon'=>'icon-hangshizheng',
|
||||
'title'=>'行驶证',
|
||||
|
||||
Reference in New Issue
Block a user