新增接口
This commit is contained in:
@@ -239,7 +239,7 @@ class Crontask extends Controller
|
||||
}
|
||||
|
||||
/**
|
||||
* @title 审稿人拒绝审稿[超过五日默认自动拒绝审稿]
|
||||
* @title 审稿人拒绝审稿[超过5日默认自动拒绝审稿]
|
||||
*
|
||||
*/
|
||||
public function refuseReviewArticle(){
|
||||
@@ -522,8 +522,11 @@ class Crontask extends Controller
|
||||
*/
|
||||
public function recommendedReviewer(){
|
||||
|
||||
$this->showMessage('批量处理待审核的文章自动推荐审稿人成功'."\n",1);
|
||||
exit;
|
||||
//查询条件
|
||||
$aWhere = ['state' => 2,'article_id' => 6311];
|
||||
$aWhere = ['state' => 2];
|
||||
$aWhere['user_id'] = 54;
|
||||
$aArticle = Db::name('article')->field('article_id,accept_sn')->where($aWhere)->limit(1)->select();
|
||||
if(empty($aArticle)){
|
||||
$this->showMessage('未查询到需要处理的待审核的文章',2);
|
||||
|
||||
Reference in New Issue
Block a user