api接口
Some checks failed
Tests / PHP 8.2 (push) Has been cancelled
Tests / PHP 8.3 (push) Has been cancelled
Tests / PHP 8.4 (push) Has been cancelled

This commit is contained in:
2025-09-08 16:42:44 +08:00
parent 758b349646
commit 15954695ad

View File

@@ -27,7 +27,7 @@ Route::get('/list', function () {
// exit(json_encode($photoAlbum));
return json_encode([
'code' => 0,
'data' => $photoAlbum,
'result' => $photoAlbum,
'msg' => 'success',
]);
});
@@ -48,7 +48,7 @@ Route::get('/detail', function () {
return json_encode([
'code' => 0,
'data' => $photoAlbum,
'result' => $photoAlbum,
'msg' => 'success',
]);
// exit(json_encode($photoAlbum));