Merge branch 'master' of https://gitlab.zcorp.cc/easycorp/zentaopms into zentaopms_289

This commit is contained in:
caoyanyi
2023-03-01 15:24:30 +08:00
10 changed files with 60 additions and 21 deletions
+1 -1
View File
@@ -519,7 +519,7 @@ class adminModel extends model
{
if($hasInternet)
{
$searchType = $type == 'plugin' ? 'byUpdatedTime,offcial' : 'byModule';
$searchType = $type == 'plugin' ? 'byModule,offcial' : 'byModule';
$param = $type == 'plugin' ? '' : 'MTIxOA==';
$extensions = $this->loadModel('extension')->getExtensionsByAPI($searchType, $param, 0, $limit);
$plugins = isset($extensions->extensions) ? (array)$extensions->extensions : array();