公告类型契约收敛到数据中心并清理冗余契约
This commit is contained in:
@@ -12,8 +12,6 @@ interface NoticeService extends
|
||||
NoticePositionInterface,
|
||||
NoticePositionHistoryInterface,
|
||||
NoticePositionCollectInterface,
|
||||
NoticePositionPkInterface,
|
||||
NoticeStatsInterface,
|
||||
NoticeStatsLogInterface
|
||||
NoticePositionPkInterface
|
||||
{
|
||||
}
|
||||
|
||||
@@ -9,8 +9,6 @@ interface NoticeServiceInterface
|
||||
// 公告管理
|
||||
public function getList(array $params): array;
|
||||
|
||||
public function appGetNoticeTypes(int $regionId = 0): array;
|
||||
|
||||
public function appGetList(array $params): array;
|
||||
|
||||
public function officialGetList(array $params): array;
|
||||
|
||||
@@ -1,12 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dhd\Micro\Interface\NoticeService;
|
||||
|
||||
/**
|
||||
* 公告统计聚合契约(空,预留)
|
||||
*/
|
||||
interface NoticeStatsInterface
|
||||
{
|
||||
}
|
||||
@@ -1,26 +0,0 @@
|
||||
<?php
|
||||
|
||||
declare(strict_types=1);
|
||||
|
||||
namespace Dhd\Micro\Interface\NoticeService;
|
||||
|
||||
interface NoticeStatsLogInterface
|
||||
{
|
||||
// 记录浏览日志
|
||||
public function logView(int $noticeId): int;
|
||||
|
||||
// 记录分享日志
|
||||
public function logShare(int $noticeId): int;
|
||||
|
||||
// 记录点赞日志
|
||||
public function logLike(int $noticeId): int;
|
||||
|
||||
// 记录取消点赞日志
|
||||
public function logCancelLike(int $noticeId): int;
|
||||
|
||||
// 记录下载日志
|
||||
public function logDownload(int $noticeId, int $attachmentId): int;
|
||||
|
||||
// 获取公告的统计日志
|
||||
public function getLogsByNoticeId(int $noticeId, array $params = []): array;
|
||||
}
|
||||
Reference in New Issue
Block a user