[更新]修正_list方法get方法

This commit is contained in:
Anyon 2018-08-07 18:52:13 +08:00
parent 671922bc23
commit 525d582477
4 changed files with 13 additions and 13 deletions

View File

@ -121,7 +121,7 @@ class BasicAdmin extends Controller
list($rowHTML, $curPage, $maxNum) = [[], $page->currentPage(), $page->lastPage()];
foreach ([10, 20, 30, 40, 50, 60, 70, 80, 90, 100, 110, 120, 130, 140, 150, 160, 170, 180, 190, 200] as $num) {
list($query['rows'], $query['page']) = [$num, '1'];
$url = url('@admin') . '#' . $this->request->baseUrl() . '?' . http_build_query($query);
$url = url('@admin') . '#' . $this->request->baseUrl() . '?' . urldecode(http_build_query($query));
$rowHTML[] = "<option data-url='{$url}' " . ($rows === $num ? 'selected' : '') . " value='{$num}'>{$num}</option>";
}
list($pattern, $replacement) = [['|href="(.*?)"|', '|pagination|'], ['data-open="$1"', 'pagination pull-right']];

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97::getLoader();
return ComposerAutoloaderInit5d00137d1db4a58cf3bb528ee40ba5ec::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97
class ComposerAutoloaderInit5d00137d1db4a58cf3bb528ee40ba5ec
{
private static $loader;
@ -19,15 +19,15 @@ class ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit5d00137d1db4a58cf3bb528ee40ba5ec', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
spl_autoload_unregister(array('ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit5d00137d1db4a58cf3bb528ee40ba5ec', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require_once __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit34c8d072f64c076dff5462b5ee996f97::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec::getInitializer($loader));
} else {
$map = require __DIR__ . '/autoload_namespaces.php';
foreach ($map as $namespace => $path) {
@ -48,19 +48,19 @@ class ComposerAutoloaderInit34c8d072f64c076dff5462b5ee996f97
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit34c8d072f64c076dff5462b5ee996f97::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire34c8d072f64c076dff5462b5ee996f97($fileIdentifier, $file);
composerRequire5d00137d1db4a58cf3bb528ee40ba5ec($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire34c8d072f64c076dff5462b5ee996f97($fileIdentifier, $file)
function composerRequire5d00137d1db4a58cf3bb528ee40ba5ec($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit34c8d072f64c076dff5462b5ee996f97
class ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec
{
public static $files = array (
'1cfd2761b63b0a29ed23657ea394cb2d' => __DIR__ . '/..' . '/topthink/think-captcha/src/helper.php',
@ -303,9 +303,9 @@ class ComposerStaticInit34c8d072f64c076dff5462b5ee996f97
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit34c8d072f64c076dff5462b5ee996f97::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit34c8d072f64c076dff5462b5ee996f97::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit34c8d072f64c076dff5462b5ee996f97::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit5d00137d1db4a58cf3bb528ee40ba5ec::$classMap;
}, null, ClassLoader::class);
}