...
|
...
|
@@ -24,11 +24,20 @@ class Job extends Base { |
|
|
*/
|
|
|
public function index(){
|
|
|
|
|
|
$lists = db()->all(sendJobsSql::all(dbWhere([
|
|
|
$page = app()->request('page',1,'intval');
|
|
|
$limit = app()->request('limit',20,'intval');
|
|
|
|
|
|
$where = dbWhere([
|
|
|
'email_id' => $this->getEmails('id')
|
|
|
])));
|
|
|
]);
|
|
|
|
|
|
$lists = db()->all(sendJobsSql::all($where,$page,$limit));
|
|
|
|
|
|
|
|
|
|
|
|
return $lists;
|
|
|
return listsPage($lists,
|
|
|
db()->count(sendJobsSql::count($where))
|
|
|
,1,20);
|
|
|
}
|
|
|
|
|
|
|
...
|
...
|
|