소스 검색

增加打包列表获取

alexzy 3 년 전
부모
커밋
49c721a989
1개의 변경된 파일11개의 추가작업 그리고 0개의 파일을 삭제
  1. 11 0
      src/PromoteApplyServiceInterface.php

+ 11 - 0
src/PromoteApplyServiceInterface.php

@@ -14,4 +14,15 @@ interface PromoteApplyServiceInterface
      * @return mixed
      */
     public function getByGidAndPid(int $game_id, int $promote_id, array $field = ['*']): array;
+
+    /**
+     * 根据搜索条件获取打包列表
+     * @param array $where 搜索条件
+     * @param array $field
+     * @param int $page
+     * @param int $limit
+     * @param bool $count
+     * @return array
+     */
+    public function listBySearch(array $where = [], array $field = ['*'], int $page = 1, int $limit = 5, bool $count = false): array;
 }