Selaa lähdekoodia

增加查询游戏信息

alexzy 4 vuotta sitten
vanhempi
commit
1a3a283c90
1 muutettua tiedostoa jossa 16 lisäystä ja 0 poistoa
  1. 16 0
      src/GameServiceInterface.php

+ 16 - 0
src/GameServiceInterface.php

@@ -0,0 +1,16 @@
+<?php
+
+
+namespace Yxy\Service;
+
+
+interface GameServiceInterface
+{
+    /**
+     * 根据游戏ID获取游戏信息
+     * @param int $id
+     * @param array $field
+     * @return mixed
+     */
+    public function getById(int $id, array $field = ['*']): array;
+}