Browse Source

增加查询指定前缀文件

alexzy 3 năm trước cách đây
mục cha
commit
4b6f883b03
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  1. 8 0
      src/GameSourceServiceInterface.php

+ 8 - 0
src/GameSourceServiceInterface.php

@@ -29,4 +29,12 @@ interface GameSourceServiceInterface
      * @return array
      */
     public function listByPackPrefix($pre, array $field = ['*'], int $page = 1, int $limit = 5): array;
+
+    /**
+     * 根据id更新pack_url
+     * @param $id
+     * @param $file_url
+     * @return int
+     */
+    public function updateFileUrlById($id, $file_url): int;
 }