if (!$r) { $tmparr1=array('data'=>null,"code"=>1,"msg"=>"图片生成失败"); echo json_encode($tmparr); }else{ $tmparr2=array('data'=>1,"code"=>0,"msg"=>"图片生成成功"); echo json_encode($tmparr2); }
完整代码如下:
if (!$r) { $tmparr1=array('data'=>null,"code"=>1,"msg"=>"图片生成失败"); echo json_encode($tmparr); }else{ $tmparr2=array('data'=>1,"code"=>0,"msg"=>"图片生成成功"); echo json_encode($tmparr2); }
完整代码如下:
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/28a810105477fba5597f726514282070.html