调整设备数据返回
parent
438f037bb5
commit
8941848113
|
|
@ -30,7 +30,7 @@ class DeviceResource extends JsonResource
|
|||
}, ''), //录入人
|
||||
'created_at' => strtotime($this->created_at) ?? 0, //录入时间
|
||||
'is_recommend' => $this->is_recommend,
|
||||
'sort' => $this->sort,
|
||||
'sort' => $this->sort ?? 0,
|
||||
];
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue