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