生成核销码修改

This commit is contained in:
Yao 2024-10-03 14:04:16 +08:00
parent 8b425660f4
commit 3bd9c723af

@ -31,6 +31,10 @@ class VerifyLogic extends Logic
if(!$order){
throw new Exception('获取失败,订单错误');
}
if($order['verify_code_image'] !=null){
$data['url'] = $order['verify_code_image'];
return $data;
}
$scene = 'lsg_order_id='.$order['lsg_order_id'];
$save_dir = ROOT_PATH .'/uploads/verifycode/';
$a = time().$order['lsg_order_id'];