This commit is contained in:
weiz 2024-03-28 16:25:55 +08:00
parent 0b8ff22189
commit ccaa5821a4

View File

@ -61,6 +61,7 @@
->order(['id' => 'desc']) ->order(['id' => 'desc'])
->select()->each(function ($data) { ->select()->each(function ($data) {
$data['subject_category_text'] = $data->subject_category_text; $data['subject_category_text'] = $data->subject_category_text;
$data['subject_category'] = (string)$data['subject_category'];
}) })
->toArray(); ->toArray();
} }