rabin 2 mesiacov pred
rodič
commit
355b9b94ab
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  1. 1 2
      api/Manage.php

+ 1 - 2
api/Manage.php

@@ -4,9 +4,8 @@ use Manage\Lib\Auth;
 class Manage extends Auth
 {
     # 将sku中的key解析成前端可以读取的格式
-    public function keyToField($key, $param = array())
+    public function keyToField($project, $key)
     {
-        $project = $param['project'] ?? 'api';
         if ($key != -1) {
             $result = array();
             $array = explode(',', $key);