生成核销码修改
This commit is contained in:
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'];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user