Browse Source

增加更新打包状态

alexzy 3 years ago
parent
commit
567ffdc602
1 changed files with 9 additions and 0 deletions
  1. 9 0
      src/PromoteApplyServiceInterface.php

+ 9 - 0
src/PromoteApplyServiceInterface.php

@@ -25,4 +25,13 @@ interface PromoteApplyServiceInterface
      * @return array
      */
     public function listBySearch(array $where = [], array $field = ['*'], int $page = 1, int $limit = 5, bool $count = false): array;
+
+    /**
+     * 更新打包状态
+     * @param $id
+     * @param $enable_status
+     * @param string $pack_url
+     * @return int
+     */
+    public function updateEnableStatus($id, $enable_status, string $pack_url = ''): int;
 }