在线安装应用插件

feat/task1-c-wallet
Devil 2021-02-28 01:21:50 +08:00
parent 2045677c92
commit cdcca71f7f
2 changed files with 5 additions and 1 deletions

View File

@ -42,7 +42,7 @@ class PackageInstall extends Common
}
/**
* 功能插件安装
* 获取安装参数
* @author Devil
* @blog http://gong.gg/
* @version 1.0.0

View File

@ -239,6 +239,10 @@ class PackageInstallService
'ver' => APPLICATION_VERSION,
'terminal' => empty($params['terminal']) ? '' : $params['terminal'],
];
foreach($data as $k=>$v)
{
$data[$k] = urldecode(base64_encode($v));
}
$ret = self::HttpRequest($url, $data);
if(!empty($ret) && isset($ret['code']) && $ret['code'] == 0)
{