feat: Implement comprehensive product management, including categories, pricing, and integration into the order system.

This commit is contained in:
pbao9
2026-02-12 14:29:29 +07:00
parent 3b1beef66e
commit f3a679d7f3
25 changed files with 577 additions and 692 deletions
@@ -0,0 +1,19 @@
<?php
namespace App\Http\Controllers\Api\Setting;
use App\Http\Controllers\Controller;
use App\Models\Setting;
class SettingController extends Controller
{
public function getSetting()
{
$setting = Setting::where('key', 'setting')->first();
return response()->json([
'data' => $setting->value,
'message' => 'Get setting successfully',
'error' => false
]);
}
}