18 lines
289 B
PHP
18 lines
289 B
PHP
<?php
|
|
|
|
namespace App\Http\Controllers;
|
|
|
|
use Auth;
|
|
|
|
class ResellerServicesController extends Controller
|
|
{
|
|
public function agents()
|
|
{
|
|
return ['data'=>Auth::user()->all_agents()->values()];
|
|
}
|
|
|
|
public function accounts()
|
|
{
|
|
return ['data'=>Auth::user()->all_accounts()->values()];
|
|
}
|
|
} |