插件上传提示优化

feat/task1-c-wallet
devil_gong 2019-11-22 15:30:08 +08:00
parent 3bfe163c46
commit b38e0d61b1
1 changed files with 7 additions and 1 deletions

View File

@ -1012,8 +1012,14 @@ php;
// 获取包名
if(empty($plugins_name))
{
// 应用不存在则添加
// 应用名称
$plugins_name = substr($file, 0, strpos($file, '/'));
if(empty($plugins_name))
{
return DataReturn('插件包有误', -30);
}
// 应用不存在则添加
$ret = self::PluginsVerification($plugins_name);
if($ret['code'] != 0)
{