|
|
@@ -0,0 +1,22 @@
|
|
|
+<?php
|
|
|
+
|
|
|
+namespace Yxy\Service\promote;
|
|
|
+
|
|
|
+interface PromoteDiscountServiceInterface
|
|
|
+{
|
|
|
+ /**
|
|
|
+ * 根据渠道ID查询指定游戏折扣信息
|
|
|
+ * @param $promote_id
|
|
|
+ * @param array $game_ids
|
|
|
+ * @return array
|
|
|
+ */
|
|
|
+ public function promoteDiscountList($promote_id, array $game_ids = []): array;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 根据一级渠道ID查询指定渠道及游戏折扣信息
|
|
|
+ * @param $parent_id
|
|
|
+ * @param array $child_games
|
|
|
+ * @return array
|
|
|
+ */
|
|
|
+ public function childDiscountList($parent_id, array $child_games = []): array;
|
|
|
+}
|