added zarbox list
This commit is contained in:
@@ -59,6 +59,18 @@ class PriceController extends Controller
|
||||
]);
|
||||
}
|
||||
|
||||
public function zaarboxProducts(ZaarboxPriceService $zaarboxPriceService)
|
||||
{
|
||||
return response()->json([
|
||||
'code' => 0,
|
||||
'message' => 'عملیات با موفقیت انجام شد.',
|
||||
'data' => [
|
||||
'items' => $zaarboxPriceService->listProductOptions(),
|
||||
'api_url' => $zaarboxPriceService->apiUrl(),
|
||||
],
|
||||
]);
|
||||
}
|
||||
|
||||
public function table(Request $request){
|
||||
$records = Price::with(['user']);
|
||||
TableEngine::create($records, $request->all())
|
||||
|
||||
Reference in New Issue
Block a user