['id' => $id], 'query' => [], 'http_errors' => false,'headers'=>['Authorization'=>"Bearer ".JWTAuth::getToken()] ]; return http($url,$array, 'get'); } catch (\Exception $e) { return []; } } public function getCategoryUids($category) { try { $url = config("customer.manage_service_url").'/community/post/getCategoryUids'; $array = [ 'json' => ['category' => $category], 'query' => [], 'http_errors' => false,'headers'=>['Authorization'=>"Bearer ".JWTAuth::getToken()] ]; return http($url,$array, 'get'); } catch (\Exception $e) { return []; } } }