ordersvw fixbug insure product

This commit is contained in:
qianhy
2023-02-17 17:04:54 +08:00
committed by lccsw
parent 31077af0d8
commit 3ad9da64c8
@@ -1233,7 +1233,7 @@ class Orders extends HD_Controller
'img' => $value,
'date' => $result['data']['policyStartDate'],
'price' => floatval($result['data']['premium']),
'product' => $result['data']['companyName']
'product' => $result['data']['companyName'] ? $result['data']['companyName'] : $result['data']['department']
];
$jsondata['ins_info'][md5($img_url)] = $result;
$update[$field] = json_encode($img_jsondata,JSON_UNESCAPED_UNICODE);