Explorar o código

增加限制等级信息获取

alexzy %!s(int64=3) %!d(string=hai) anos
pai
achega
19b09b3ba3
Modificáronse 1 ficheiros con 14 adicións e 0 borrados
  1. 14 0
      src/GameLevelServiceInterface.php

+ 14 - 0
src/GameLevelServiceInterface.php

@@ -0,0 +1,14 @@
+<?php
+
+namespace Yxy\Service;
+
+interface GameLevelServiceInterface
+{
+    /**
+     * 根据限制等级获取游戏限制信息
+     * @param $id
+     * @param int $promote_id
+     * @return array
+     */
+    public function gameLimitByLevelId($id, int $promote_id = 0): array;
+}