This commit is contained in:
wangjinlei
2021-07-15 10:22:44 +08:00
parent 234745046d
commit 8ea54fdcc2
7 changed files with 12 additions and 176 deletions

View File

@@ -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);
}