|
@@ -1704,10 +1704,7 @@ class WorkOrder extends Api
|
|
|
$rows = db('产品_技术附件')
|
|
$rows = db('产品_技术附件')
|
|
|
->where($where)
|
|
->where($where)
|
|
|
->select();
|
|
->select();
|
|
|
- foreach ($rows as &$row) {
|
|
|
|
|
- $row['附件内容'] = base64_encode($row['附件内容']);
|
|
|
|
|
- }
|
|
|
|
|
- $this->success('成功',$rows)->header(['Content-Type' => 'application/octet-stream']);
|
|
|
|
|
|
|
+ $this->success('成功',$rows);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
/**
|
|
/**
|