rabin 2 months ago
parent
commit
355b9b94ab
1 changed files with 1 additions and 2 deletions
  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);