소스 검색

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

alexzy 1 년 전
부모
커밋
3d10137229
1개의 변경된 파일22개의 추가작업 그리고 0개의 파일을 삭제
  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;
+}