|
@@ -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);
|