20201112
This commit is contained in:
@@ -75,10 +75,6 @@ class Super extends Controller{
|
||||
*/
|
||||
public function getCCArticles(){
|
||||
$data = $this->request->post();
|
||||
// $data['issn'] = '2522-6371';
|
||||
// $data['type'] = "low";
|
||||
// $data['start'] = '2021-01-01';
|
||||
// $data['end'] = '2021-04-08';
|
||||
$journal_info = $this->journal_obj->where('issn',$data['issn'])->find();
|
||||
$where['journal_id'] = $journal_info['journal_id'];
|
||||
$where['ctime'] = [['>', strtotime($data['start'])],['<', strtotime($data['end'].' 23:59:59')]];
|
||||
@@ -93,7 +89,6 @@ class Super extends Controller{
|
||||
$where['repetition'] = ['>',50];
|
||||
}
|
||||
$list = $this->article_obj->where($where)->select();
|
||||
// echo $this->article_obj->getLastSql();
|
||||
$re['articles'] = $list;
|
||||
return jsonSuccess($re);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user