生成核销码修改

This commit is contained in:
Yao 2024-10-03 13:43:27 +08:00
parent fc278cbf9e
commit e767a51ec2

@ -51,14 +51,14 @@ class VerifyLogic extends Logic
'verify_code_image' =>$d['set_image']
]);
if($set){
return JsonServer::success('上传成功',$data);
return $data;
}else{
return JsonServer::error('上传失败');
throw new Exception('获取失败,订单错误');
}
}
if(isset($response['errcode']) && 41030 === $response['errcode']){
return '商城小程序未上线或商城小程序页面发布';
throw new Exception('商城小程序未上线或商城小程序页面发布');
}
return $response;
}catch (Exception $e) {