Browse Source

增加cps-api 渠道折扣获取服务

alexzy 1 year ago
parent
commit
3d10137229
1 changed files with 22 additions and 0 deletions
  1. 22 0
      src/promote/PromoteDiscountServiceInterface.php

+ 22 - 0
src/promote/PromoteDiscountServiceInterface.php

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