大更新,1投稿系统参考文献的类型增加功能,,,2官网数据库功能
This commit is contained in:
30
application/master/service/push/PusherInterface.php
Normal file
30
application/master/service/push/PusherInterface.php
Normal file
@@ -0,0 +1,30 @@
|
||||
<?php
|
||||
|
||||
namespace app\master\service\push;
|
||||
|
||||
/**
|
||||
* 数据库推送器接口
|
||||
* 每个学术数据库(Portico / Scopus / EBSCO / CNKI / 邮件送交...)实现一个推送器。
|
||||
*/
|
||||
interface PusherInterface
|
||||
{
|
||||
/**
|
||||
* 渠道唯一标识
|
||||
* @return string
|
||||
*/
|
||||
public function code();
|
||||
|
||||
/**
|
||||
* 展示名
|
||||
* @return string
|
||||
*/
|
||||
public function label();
|
||||
|
||||
/**
|
||||
* 推送整期
|
||||
* @param int $stageId 分期id
|
||||
* @param array $options 渠道额外配置(来自 j_db_channel.config 或默认配置)
|
||||
* @return PushResult
|
||||
*/
|
||||
public function pushStage($stageId, array $options = []);
|
||||
}
|
||||
Reference in New Issue
Block a user