状态调整
This commit is contained in:
@@ -18,8 +18,9 @@ class TicketService
|
||||
{
|
||||
$res = (new TicketLogic())->list($params);
|
||||
foreach ($res as $k => &$v) {
|
||||
$res[$k]['categorie']['name'] = isset($v['categorie']['translation']) ? $v['categorie']['translation']['name'] : '';
|
||||
unset($v['categorie']['translation']);
|
||||
$name = isset($v['categorie']['translation']) ? $v['categorie']['translation']['name'] : '';
|
||||
$res[$k]['categorie']['name'] = $name;
|
||||
unset($res[$k]['categorie']['translation']);
|
||||
foreach ($v['attachments'] as &$attachments) {
|
||||
$attachments['storage_path_full'] = (new \app\common\service\OssService())->generatePrivateUrl($attachments['storage_path']);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user