| xqd
@@ -27,7 +27,7 @@ class AgentController extends Controller
|
|
|
if(!$this->repository) $this->repository = $repository;
|
|
|
}
|
|
|
|
|
|
- function index(Request $request) {dd($this->getStoreId());
|
|
|
+ function index(Request $request) {
|
|
|
$search['keyword'] = $request->input('keyword');
|
|
|
$search['status'] = $request->input('status') ?? -1;
|
|
|
$query = $this->repository->pushCriteria(new AgentWhere($search, $this->getStoreId()));
|