This commit is contained in:
2025-12-10 14:59:41 +08:00
parent 6b3fb790f7
commit c0bd385b1a
7 changed files with 55 additions and 10 deletions
+2
View File
@@ -46,6 +46,8 @@ class SkuController extends BaseController
$data['created_at'] = date('Y-m-d H:i:s', $data['created_at']);
if (isset($data['updated_at']))
$data['updated_at'] = date('Y-m-d H:i:s', $data['updated_at']);
if (isset($data['spec_json']))
$data['spec'] = json_decode($data['spec_json'], true);
return $data;
}
}