rabin 3 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
 class Manage extends Auth
 {
 {
     # 将sku中的key解析成前端可以读取的格式
     # 将sku中的key解析成前端可以读取的格式
-    public function keyToField($key, $param = array())
+    public function keyToField($project, $key)
     {
     {
-        $project = $param['project'] ?? 'api';
         if ($key != -1) {
         if ($key != -1) {
             $result = array();
             $result = array();
             $array = explode(',', $key);
             $array = explode(',', $key);