修改上报检测所时,图片为空的情况
This commit is contained in:
parent
46cee4c1df
commit
9a2cb72848
@ -117,6 +117,7 @@ class Wy extends Base
|
||||
$oss = new Oss();
|
||||
|
||||
$pics = [];
|
||||
if (!empty($order_detection['detection_pic'])){
|
||||
$detection_pics = explode(',',$order_detection['detection_pic']);
|
||||
foreach ($detection_pics as $key => $value){
|
||||
// 去除用户签名图片第一个/ oss不识别
|
||||
@ -136,6 +137,8 @@ class Wy extends Base
|
||||
$pics[$key]['pictureName'] = "检测管图片"; // 图片名称
|
||||
$pics[$key]['pictureInfo'] = $pic; // 对图片进行base64后的编码
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// 获取签名
|
||||
$sign = $this->getSign();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user