├── app ├── .htaccess ├── data │ └── backup │ │ └── .gitignore ├── Request.php ├── service.php ├── model │ ├── Resource.php │ ├── File.php │ ├── AuthRule.php │ ├── Rule.php │ ├── Group.php │ ├── Test.php │ ├── Cover.php │ ├── SysConfig.php │ ├── Banner.php │ ├── MbNavs.php │ └── Link.php ├── middleware.php ├── provider.php ├── validate │ ├── GroupValidate.php │ ├── LinkValidate.php │ ├── PassWordValidate.php │ ├── AdminsValidate.php │ ├── IDPostiveInt.php │ ├── CardsValidate.php │ ├── ADValidate.php │ ├── LoginValidate.php │ ├── ProsValidate.php │ ├── CategoryValidate.php │ ├── ArticleValidate.php │ └── InstallValidate.php ├── event.php ├── http │ └── middleware │ │ └── cmsAuth.php ├── controller │ ├── pc │ │ ├── Cards.php │ │ ├── Lists.php │ │ ├── Pros.php │ │ └── Cover.php │ ├── install │ │ └── Check.php │ └── mobile │ │ ├── Cover.php │ │ ├── Lists.php │ │ └── MobileController.php ├── behavior │ └── CORS.php └── AppService.php ├── extend └── .gitignore ├── public ├── static │ └── .gitignore ├── robots.txt ├── assets │ ├── js │ │ └── theme-custom.js │ ├── show1.jpg │ ├── show2.jpg │ ├── img │ │ └── 480x320 │ │ │ ├── img19.jpg │ │ │ ├── img20.jpg │ │ │ └── img23.jpg │ ├── css │ │ └── fonts │ │ │ ├── bootstrap-icons.woff │ │ │ └── bootstrap-icons.woff2 │ └── svg │ │ ├── arr011.svg │ │ ├── arr012.svg │ │ └── components │ │ ├── map-pin.svg │ │ ├── shape-4.svg │ │ ├── card-11.svg │ │ ├── card-2.svg │ │ ├── card-1.svg │ │ ├── quote.svg │ │ ├── card-4.svg │ │ ├── card-16.svg │ │ └── card-7.svg ├── favicon.ico ├── h5 │ ├── static │ │ ├── logo.png │ │ ├── img │ │ │ └── titlebg.png │ │ └── svg │ │ │ ├── house.svg │ │ │ ├── user.svg │ │ │ ├── documentchecked.svg │ │ │ ├── documentcopy.svg │ │ │ ├── pricetag.svg │ │ │ ├── netobook.svg │ │ │ ├── goods.svg │ │ │ ├── menu.svg │ │ │ ├── edit.svg │ │ │ ├── picture.svg │ │ │ ├── box.svg │ │ │ ├── grid.svg │ │ │ ├── setup.svg │ │ │ └── guide.svg │ ├── assets │ │ ├── index.4f48e036.js.map │ │ ├── list.7b2aa4f4.js │ │ ├── footNav.2adf46e5.css │ │ ├── house.25afaaae.svg │ │ ├── user.009db3f7.svg │ │ ├── list.7b2aa4f4.js.map │ │ ├── documentchecked.1d42a2a1.svg │ │ ├── documentcopy.839bce9a.svg │ │ ├── pricetag.50e46d11.svg │ │ ├── netobook.2ded7935.svg │ │ ├── goods.fa5a342b.svg │ │ ├── menu.f2c9ffe9.svg │ │ ├── edit.088a9929.svg │ │ ├── picture.3743a1af.svg │ │ ├── box.de68498f.svg │ │ ├── grid.b1df0fcd.svg │ │ ├── setup.83e26f44.svg │ │ ├── guide.ca715c90.svg │ │ ├── index.4f48e036.js │ │ └── pages-detail-detail.54e00032.js │ └── index.html ├── qzcms │ ├── favicon.ico │ ├── static │ │ ├── img │ │ │ ├── bg.4cc09aa2.png │ │ │ ├── bg1.8474cc2d.png │ │ │ ├── img1.d9eff80f.jpg │ │ │ ├── img24.6c54a099.jpg │ │ │ ├── img31.36c7d824.jpg │ │ │ ├── img4.d8e9db2c.jpg │ │ │ ├── img5.d0f2ddfb.jpg │ │ │ ├── login1.3ab361c5.png │ │ │ ├── login2.cef0b5ea.png │ │ │ ├── phone_box.c29204cd.png │ │ │ ├── moon.2988f20a.svg │ │ │ └── eye-close.5d22b2e6.svg │ │ ├── css │ │ │ └── 546.64be415b.css │ │ └── js │ │ │ └── 495.f6fad28c.js │ └── index.html ├── uploads │ └── imgs │ │ ├── 0 │ │ ├── 628882bbcf0b9.jpg │ │ ├── 629c3ffa3dfa6.png │ │ └── 629c4001d652b.png │ │ ├── 1 │ │ ├── 625fb5dbe7eae.jpg │ │ ├── 625fb5decc696.jpg │ │ ├── 626e03622509b.jpg │ │ ├── 626e036469fdd.jpg │ │ ├── 629e2e200f6a8.jpg │ │ ├── 629e2f309bd2f.jpg │ │ ├── 629e2f5ad5d10.jpg │ │ ├── 629e2f5cbdd03.jpg │ │ ├── 629e2f66dc161.jpg │ │ ├── 629e2f6af0256.jpg │ │ ├── 629e2fba0d3df.jpg │ │ ├── 629e3116b17c1.jpg │ │ ├── 629e35113c094.jpg │ │ ├── 629eb85039cd9.jpg │ │ ├── 629eb854dd75c.jpg │ │ ├── 629eb85733201.jpg │ │ ├── 629eb85955c90.jpg │ │ ├── 629eb85bd6909.jpg │ │ ├── 62a0cb7f27d21.jpg │ │ ├── 62a2b5d85cd99.jpg │ │ ├── 62a2b5dadd38e.jpg │ │ ├── 62a2cd1ba7597.jpg │ │ ├── 62a322022058e.jpg │ │ ├── 62a3220e4072e.jpg │ │ ├── 625fb5dbe7eae_thumb.jpg │ │ ├── 625fb5decc696_thumb.jpg │ │ ├── 626e03622509b_thumb.jpg │ │ └── 626e036469fdd_thumb.jpg │ │ └── ctx │ │ ├── 20220607 │ │ ├── 629e3485868aa.jpg │ │ └── 629effb6af6ad.png │ │ ├── 20220608 │ │ └── 629f772f595a3.jpeg │ │ ├── 20220609 │ │ └── 62a0cb8d153af.jpg │ │ ├── 20220610 │ │ └── 62a3228843d86.jpg │ │ └── 20220613 │ │ └── 62a6ba6233f71.jpeg ├── .htaccess └── router.php ├── vendor ├── topthink │ ├── think-trace │ │ ├── .gitignore │ │ ├── README.md │ │ ├── src │ │ │ ├── config.php │ │ │ └── Service.php │ │ └── composer.json │ ├── think-view │ │ ├── .gitignore │ │ ├── composer.json │ │ └── README.md │ ├── think-image │ │ ├── tests │ │ │ ├── images │ │ │ │ ├── test.bmp │ │ │ │ ├── test.gif │ │ │ │ ├── test.jpg │ │ │ │ ├── test.png │ │ │ │ └── test.ttf │ │ │ ├── tmp │ │ │ │ └── .gitignore │ │ │ └── autoload.php │ │ ├── .gitignore │ │ ├── .travis.yml │ │ ├── composer.json │ │ ├── src │ │ │ └── image │ │ │ │ └── Exception.php │ │ └── phpunit.xml │ ├── think-template │ │ ├── .gitignore │ │ └── composer.json │ ├── think-orm │ │ ├── .gitignore │ │ ├── .gitattributes │ │ ├── stubs │ │ │ └── load_stubs.php │ │ ├── README.md │ │ └── src │ │ │ └── db │ │ │ └── exception │ │ │ ├── DbEventException.php │ │ │ ├── ModelEventException.php │ │ │ └── InvalidArgumentException.php │ ├── framework │ │ ├── tests │ │ │ └── bootstrap.php │ │ ├── logo.png │ │ ├── .gitignore │ │ ├── src │ │ │ └── think │ │ │ │ ├── console │ │ │ │ ├── bin │ │ │ │ │ ├── hiddeninput.exe │ │ │ │ │ └── README.md │ │ │ │ └── command │ │ │ │ │ └── make │ │ │ │ │ └── stubs │ │ │ │ │ ├── event.stub │ │ │ │ │ ├── subscribe.stub │ │ │ │ │ ├── controller.plain.stub │ │ │ │ │ ├── model.stub │ │ │ │ │ ├── listener.stub │ │ │ │ │ ├── middleware.stub │ │ │ │ │ ├── service.stub │ │ │ │ │ ├── validate.stub │ │ │ │ │ └── command.stub │ │ │ │ ├── exception │ │ │ │ ├── FuncNotFoundException.php │ │ │ │ ├── FileException.php │ │ │ │ └── RouteNotFoundException.php │ │ │ │ ├── event │ │ │ │ ├── AppInit.php │ │ │ │ ├── HttpEnd.php │ │ │ │ ├── HttpRun.php │ │ │ │ └── RouteLoaded.php │ │ │ │ ├── initializer │ │ │ │ └── BootService.php │ │ │ │ └── contract │ │ │ │ └── LogHandlerInterface.php │ │ └── phpunit.xml.dist │ └── think-helper │ │ ├── .gitignore │ │ ├── src │ │ └── contract │ │ │ ├── Arrayable.php │ │ │ └── Jsonable.php │ │ ├── tests │ │ └── TestCase.php │ │ ├── phpunit.xml.dist │ │ ├── README.md │ │ ├── composer.json │ │ └── .github │ │ └── workflows │ │ ├── ci.yml │ │ └── php.yml ├── league │ ├── flysystem-cached-adapter │ │ ├── clover │ │ │ └── .gitignore │ │ ├── .gitignore │ │ ├── phpunit.php │ │ ├── phpspec.yml │ │ ├── .editorconfig │ │ ├── .php_cs │ │ ├── src │ │ │ └── Storage │ │ │ │ └── Memory.php │ │ ├── tests │ │ │ └── InspectionTests.php │ │ ├── .travis.yml │ │ └── composer.json │ ├── flysystem │ │ ├── src │ │ │ ├── FilesystemException.php │ │ │ ├── Exception.php │ │ │ ├── Adapter │ │ │ │ ├── SynologyFtp.php │ │ │ │ ├── Polyfill │ │ │ │ │ ├── StreamedTrait.php │ │ │ │ │ └── NotSupportingVisibilityTrait.php │ │ │ │ └── CanOverwriteFiles.php │ │ │ ├── ConnectionErrorException.php │ │ │ ├── InvalidRootException.php │ │ │ ├── ConnectionRuntimeException.php │ │ │ ├── RootViolationException.php │ │ │ ├── Plugin │ │ │ │ ├── PluginNotFoundException.php │ │ │ │ ├── AbstractPlugin.php │ │ │ │ ├── EmptyDir.php │ │ │ │ ├── ListPaths.php │ │ │ │ └── ListFiles.php │ │ │ ├── FilesystemNotFoundException.php │ │ │ ├── PluginInterface.php │ │ │ ├── UnreadableFileException.php │ │ │ ├── CorruptedPathDetected.php │ │ │ ├── Directory.php │ │ │ ├── Util │ │ │ │ └── StreamHasher.php │ │ │ ├── FileNotFoundException.php │ │ │ ├── FileExistsException.php │ │ │ ├── SafeStorage.php │ │ │ └── NotSupportedException.php │ │ ├── SECURITY.md │ │ └── deprecations.md │ └── mime-type-detection │ │ ├── src │ │ ├── ExtensionToMimeTypeMap.php │ │ ├── EmptyExtensionToMimeTypeMap.php │ │ ├── MimeTypeDetector.php │ │ └── OverridingExtensionToMimeTypeMap.php │ │ ├── CHANGELOG.md │ │ └── composer.json ├── psr │ ├── container │ │ ├── .gitignore │ │ ├── src │ │ │ ├── NotFoundExceptionInterface.php │ │ │ └── ContainerExceptionInterface.php │ │ ├── README.md │ │ └── composer.json │ ├── log │ │ ├── Psr │ │ │ └── Log │ │ │ │ ├── InvalidArgumentException.php │ │ │ │ ├── Test │ │ │ │ └── DummyTest.php │ │ │ │ ├── LoggerAwareInterface.php │ │ │ │ ├── LogLevel.php │ │ │ │ ├── LoggerAwareTrait.php │ │ │ │ └── NullLogger.php │ │ └── composer.json │ ├── cache │ │ ├── src │ │ │ ├── CacheException.php │ │ │ └── InvalidArgumentException.php │ │ ├── README.md │ │ ├── composer.json │ │ └── CHANGELOG.md │ ├── simple-cache │ │ ├── src │ │ │ ├── CacheException.php │ │ │ └── InvalidArgumentException.php │ │ ├── .editorconfig │ │ ├── README.md │ │ └── composer.json │ └── http-message │ │ ├── README.md │ │ └── composer.json ├── ruhua │ └── ruhua_framework │ │ ├── README.md │ │ ├── LICENSE │ │ ├── src │ │ ├── subscribes │ │ │ ├── Points.php │ │ │ └── User.php │ │ ├── enum │ │ │ ├── ScopeEnum.php │ │ │ └── OrderEnum.php │ │ ├── traits │ │ │ ├── BaseTrait.php │ │ │ └── UserTrait.php │ │ ├── utils │ │ │ └── System.php │ │ ├── events │ │ │ ├── OrderEvent.php │ │ │ └── listens │ │ │ │ ├── ReduceStock.php │ │ │ │ ├── CheckStock.php │ │ │ │ └── editCoupon.php │ │ ├── exceptions │ │ │ ├── UserException.php │ │ │ ├── CmsException.php │ │ │ ├── PcException.php │ │ │ ├── ShopsException.php │ │ │ ├── ProductException.php │ │ │ ├── BaseException.php │ │ │ ├── OrderException.php │ │ │ └── TokenException.php │ │ ├── interfaces │ │ │ └── RoleInterface.php │ │ ├── job │ │ │ └── Job1.php │ │ ├── services │ │ │ └── QyFactory.php │ │ ├── msg │ │ │ └── 数据库相关.md │ │ └── auth │ │ │ └── auth │ │ │ └── CheckCms.php │ │ └── composer.json ├── firebase │ └── php-jwt │ │ └── src │ │ ├── ExpiredException.php │ │ ├── BeforeValidException.php │ │ └── SignatureInvalidException.php ├── symfony │ ├── polyfill-php80 │ │ ├── Resources │ │ │ └── stubs │ │ │ │ ├── ValueError.php │ │ │ │ ├── UnhandledMatchError.php │ │ │ │ ├── PhpToken.php │ │ │ │ ├── Stringable.php │ │ │ │ └── Attribute.php │ │ └── README.md │ ├── var-dumper │ │ ├── Resources │ │ │ └── js │ │ │ │ └── htmlDescriptor.js │ │ ├── Dumper │ │ │ ├── DataDumperInterface.php │ │ │ └── ContextProvider │ │ │ │ ├── ContextProviderInterface.php │ │ │ │ └── CliContextProvider.php │ │ ├── README.md │ │ ├── Cloner │ │ │ └── ClonerInterface.php │ │ ├── Command │ │ │ └── Descriptor │ │ │ │ └── DumpDescriptorInterface.php │ │ ├── Caster │ │ │ ├── DsPairStub.php │ │ │ ├── ImgStub.php │ │ │ ├── EnumStub.php │ │ │ ├── UuidCaster.php │ │ │ ├── CutArrayStub.php │ │ │ ├── MysqliCaster.php │ │ │ ├── FrameStub.php │ │ │ ├── ProxyManagerCaster.php │ │ │ ├── GmpCaster.php │ │ │ └── ConstStub.php │ │ └── Exception │ │ │ └── ThrowingCasterException.php │ ├── polyfill-mbstring │ │ └── README.md │ └── polyfill-php72 │ │ └── README.md ├── bin │ └── var-dump-server.bat ├── services.php ├── autoload.php └── composer │ ├── autoload_namespaces.php │ ├── autoload_classmap.php │ └── autoload_files.php ├── view └── pc │ ├── component │ ├── price │ │ └── a.html │ ├── content │ │ ├── b.html │ │ ├── c.html │ │ └── a.html │ ├── cover │ │ └── a.html │ ├── slogan │ │ ├── e.html │ │ ├── b.html │ │ └── c.html │ ├── hero │ │ └── c.html │ ├── footer │ │ └── c.html │ ├── ask │ │ └── a.html │ ├── cards │ │ ├── d.html │ │ └── a.html │ └── lists │ │ └── d.html │ ├── 404.html │ ├── jump.html │ ├── cards.html │ ├── pros.html │ ├── index.html │ ├── cover.html │ └── lists.html ├── .gitignore ├── .prettierrc ├── think ├── config ├── middleware.php ├── console.php ├── trace.php ├── session.php ├── cookie.php ├── filesystem.php ├── view.php ├── lang.php ├── cache.php ├── setting.php └── app.php └── route ├── common.php ├── pc.php └── mobile.php /app/.htaccess: -------------------------------------------------------------------------------- 1 | deny from all -------------------------------------------------------------------------------- /extend/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /app/data/backup/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /public/static/.gitignore: -------------------------------------------------------------------------------- 1 | * 2 | !.gitignore -------------------------------------------------------------------------------- /vendor/topthink/think-trace/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /vendor/topthink/think-view/.gitignore: -------------------------------------------------------------------------------- 1 | .idea 2 | -------------------------------------------------------------------------------- /view/pc/component/price/a.html: -------------------------------------------------------------------------------- 1 |
{$data['list'][1]}
10 | {/notempty} 11 |{$data['list'][0]['two']}
8 |20 | */ 21 | interface DataDumperInterface 22 | { 23 | public function dump(Data $data); 24 | } 25 | -------------------------------------------------------------------------------- /view/pc/cards.html: -------------------------------------------------------------------------------- 1 | {extend name="pc/base" /} 2 | 3 | {notempty name="category"} 4 | {block name="seo"} 5 | 6 | {notempty name="category['seotitle']"} 7 |
16 | */ 17 | interface ClonerInterface 18 | { 19 | /** 20 | * Clones a PHP variable. 21 | * 22 | * @param mixed $var Any PHP variable 23 | * 24 | * @return Data The cloned variable represented by a Data object 25 | */ 26 | public function cloneVar($var); 27 | } 28 | -------------------------------------------------------------------------------- /public/h5/static/svg/setup.svg: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /view/pc/component/ask/a.html: -------------------------------------------------------------------------------- 1 | {notempty name="data['list']"} 2 |
{$v['answer']}
14 |
18 | */
19 | class DsPairStub extends Stub
20 | {
21 | public function __construct($key, $value)
22 | {
23 | $this->value = [
24 | Caster::PREFIX_VIRTUAL.'key' => $key,
25 | Caster::PREFIX_VIRTUAL.'value' => $value,
26 | ];
27 | }
28 | }
29 |
--------------------------------------------------------------------------------
/public/h5/assets/guide.ca715c90.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/ruhua/ruhua_framework/src/events/listens/editCoupon.php:
--------------------------------------------------------------------------------
1 | editCoupon($post);
15 | }
16 |
17 | /**
18 | * 优惠券使用完成
19 | * @param $data
20 | * @throws OrderException
21 | */
22 | public function editCoupon($data){
23 | if($data['coupon_id']){
24 |
25 | $coupon=UserCouponModel::where('id',$data['coupon_id'])->update(['status'=>2]);
26 | if(!$coupon){
27 | throw new OrderException();
28 | }
29 | }
30 | }
31 | }
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/ImgStub.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | /**
15 | * @author Grégoire Pineau
20 | */
21 | class EnumStub extends Stub
22 | {
23 | public $dumpKeys = true;
24 |
25 | public function __construct(array $values, bool $dumpKeys = true)
26 | {
27 | $this->value = $values;
28 | $this->dumpKeys = $dumpKeys;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/topthink/framework/src/think/exception/FuncNotFoundException.php:
--------------------------------------------------------------------------------
1 | message = $message;
16 | $this->func = $func;
17 |
18 | parent::__construct($message, 0, $previous);
19 | }
20 |
21 | /**
22 | * 获取方法名
23 | * @access public
24 | * @return string
25 | */
26 | public function getFunc()
27 | {
28 | return $this->func;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Dumper/ContextProvider/ContextProviderInterface.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Dumper\ContextProvider;
13 |
14 | /**
15 | * Interface to provide contextual data about dump data clones sent to a server.
16 | *
17 | * @author Maxime Steinhausser
16 | */
17 | class ThrowingCasterException extends \Exception
18 | {
19 | /**
20 | * @param \Throwable $prev The exception thrown from the caster
21 | */
22 | public function __construct(\Throwable $prev)
23 | {
24 | parent::__construct('Unexpected '.\get_class($prev).' thrown from a caster: '.$prev->getMessage(), 0, $prev);
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/topthink/framework/src/think/event/RouteLoaded.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | declare (strict_types = 1);
12 |
13 | namespace think\event;
14 |
15 | /**
16 | * 路由加载完成事件
17 | */
18 | class RouteLoaded
19 | {
20 |
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/topthink/framework/src/think/exception/FileException.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | declare (strict_types = 1);
12 |
13 | namespace think\exception;
14 |
15 | class FileException extends \RuntimeException
16 | {
17 | }
18 |
--------------------------------------------------------------------------------
/vendor/topthink/think-orm/src/db/exception/DbEventException.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 |
12 | namespace think\db\exception;
13 |
14 | /**
15 | * Db事件异常
16 | */
17 | class DbEventException extends DbException
18 | {
19 | }
20 |
--------------------------------------------------------------------------------
/view/pc/component/lists/d.html:
--------------------------------------------------------------------------------
1 | {notempty name="data['list']"}
2 |
18 | */
19 | class CutArrayStub extends CutStub
20 | {
21 | public $preservedSubset;
22 |
23 | public function __construct(array $value, array $preservedKeys)
24 | {
25 | parent::__construct($value);
26 |
27 | $this->preservedSubset = array_intersect_key($value, array_flip($preservedKeys));
28 | $this->cut -= \count($this->preservedSubset);
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/Plugin/EmptyDir.php:
--------------------------------------------------------------------------------
1 | filesystem->listContents($dirname, false);
25 |
26 | foreach ($listing as $item) {
27 | if ($item['type'] === 'dir') {
28 | $this->filesystem->deleteDir($item['path']);
29 | } else {
30 | $this->filesystem->delete($item['path']);
31 | }
32 | }
33 | }
34 | }
35 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/Plugin/ListPaths.php:
--------------------------------------------------------------------------------
1 | filesystem->listContents($directory, $recursive);
29 |
30 | foreach ($contents as $object) {
31 | $result[] = $object['path'];
32 | }
33 |
34 | return $result;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/public/router.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | // $Id$
12 |
13 | if (is_file($_SERVER["DOCUMENT_ROOT"] . $_SERVER["SCRIPT_NAME"])) {
14 | return false;
15 | } else {
16 | $_SERVER["SCRIPT_FILENAME"] = __DIR__ . '/index.php';
17 |
18 | require __DIR__ . "/index.php";
19 | }
20 |
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/MysqliCaster.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | use Symfony\Component\VarDumper\Cloner\Stub;
15 |
16 | /**
17 | * @author Nicolas Grekas
18 | *
19 | * @internal
20 | */
21 | final class MysqliCaster
22 | {
23 | public static function castMysqliDriver(\mysqli_driver $c, array $a, Stub $stub, bool $isNested): array
24 | {
25 | foreach ($a as $k => $v) {
26 | if (isset($c->$k)) {
27 | $a[$k] = $c->$k;
28 | }
29 | }
30 |
31 | return $a;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/vendor/topthink/think-image/tests/autoload.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | define('TEST_PATH', __DIR__ . '/');
12 | // 加载框架基础文件
13 | require __DIR__ . '/../thinkphp/base.php';
14 | \think\Loader::addNamespace('tests', TEST_PATH);
15 | \think\Loader::addNamespace('think', __DIR__ . '/../src/');
--------------------------------------------------------------------------------
/public/assets/svg/components/card-4.svg:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/Plugin/ListFiles.php:
--------------------------------------------------------------------------------
1 | filesystem->listContents($directory, $recursive);
28 |
29 | $filter = function ($object) {
30 | return $object['type'] === 'file';
31 | };
32 |
33 | return array_values(array_filter($contents, $filter));
34 | }
35 | }
36 |
--------------------------------------------------------------------------------
/vendor/league/flysystem-cached-adapter/.travis.yml:
--------------------------------------------------------------------------------
1 | language: php
2 |
3 | php:
4 | - 5.5
5 | - 5.6
6 | - 7.0
7 | - 7.1
8 | - 7.2
9 |
10 | matrix:
11 | allow_failures:
12 | - php: 5.5
13 |
14 | env:
15 | - COMPOSER_OPTS=""
16 | - COMPOSER_OPTS="--prefer-lowest"
17 |
18 | install:
19 | - if [[ "${TRAVIS_PHP_VERSION}" == "5.5" ]]; then composer require phpunit/phpunit:^4.8.36 phpspec/phpspec:^2 --prefer-dist --update-with-dependencies; fi
20 | - if [[ "${TRAVIS_PHP_VERSION}" == "7.2" ]]; then composer require phpunit/phpunit:^6.0 --prefer-dist --update-with-dependencies; fi
21 | - travis_retry composer update --prefer-dist $COMPOSER_OPTS
22 |
23 | script:
24 | - vendor/bin/phpspec run
25 | - vendor/bin/phpunit
26 |
27 | after_script:
28 | - wget https://scrutinizer-ci.com/ocular.phar'
29 | - php ocular.phar code-coverage:upload --format=php-clover ./clover/phpunit.xml'
30 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/FileNotFoundException.php:
--------------------------------------------------------------------------------
1 | path = $path;
24 |
25 | parent::__construct('File not found at path: ' . $this->getPath(), $code, $previous);
26 | }
27 |
28 | /**
29 | * Get the path which was not found.
30 | *
31 | * @return string
32 | */
33 | public function getPath()
34 | {
35 | return $this->path;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/vendor/symfony/polyfill-php80/README.md:
--------------------------------------------------------------------------------
1 | Symfony Polyfill / Php80
2 | ========================
3 |
4 | This component provides features added to PHP 8.0 core:
5 |
6 | - `Stringable` interface
7 | - [`fdiv`](https://php.net/fdiv)
8 | - `ValueError` class
9 | - `UnhandledMatchError` class
10 | - `FILTER_VALIDATE_BOOL` constant
11 | - [`get_debug_type`](https://php.net/get_debug_type)
12 | - [`preg_last_error_msg`](https://php.net/preg_last_error_msg)
13 | - [`str_contains`](https://php.net/str_contains)
14 | - [`str_starts_with`](https://php.net/str_starts_with)
15 | - [`str_ends_with`](https://php.net/str_ends_with)
16 | - [`get_resource_id`](https://php.net/get_resource_id)
17 |
18 | More information can be found in the
19 | [main Polyfill README](https://github.com/symfony/polyfill/blob/main/README.md).
20 |
21 | License
22 | =======
23 |
24 | This library is released under the [MIT license](LICENSE).
25 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/FileExistsException.php:
--------------------------------------------------------------------------------
1 | path = $path;
24 |
25 | parent::__construct('File already exists at path: ' . $this->getPath(), $code, $previous);
26 | }
27 |
28 | /**
29 | * Get the path which was found.
30 | *
31 | * @return string
32 | */
33 | public function getPath()
34 | {
35 | return $this->path;
36 | }
37 | }
38 |
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/FrameStub.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | /**
15 | * Represents a single backtrace frame as returned by debug_backtrace() or Exception->getTrace().
16 | *
17 | * @author Nicolas Grekas
18 | */
19 | class FrameStub extends EnumStub
20 | {
21 | public $keepArgs;
22 | public $inTraceStub;
23 |
24 | public function __construct(array $frame, bool $keepArgs = true, bool $inTraceStub = false)
25 | {
26 | $this->value = $frame;
27 | $this->keepArgs = $keepArgs;
28 | $this->inTraceStub = $inTraceStub;
29 | }
30 | }
31 |
--------------------------------------------------------------------------------
/public/assets/svg/components/card-16.svg:
--------------------------------------------------------------------------------
1 |
18 |
--------------------------------------------------------------------------------
/vendor/league/flysystem-cached-adapter/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "league/flysystem-cached-adapter",
3 | "description": "An adapter decorator to enable meta-data caching.",
4 | "autoload": {
5 | "psr-4": {
6 | "League\\Flysystem\\Cached\\": "src/"
7 | }
8 | },
9 | "require": {
10 | "league/flysystem": "~1.0",
11 | "psr/cache": "^1.0.0"
12 | },
13 | "require-dev": {
14 | "phpspec/phpspec": "^3.4",
15 | "phpunit/phpunit": "^5.7",
16 | "mockery/mockery": "~0.9",
17 | "predis/predis": "~1.0",
18 | "tedivm/stash": "~0.12"
19 | },
20 | "suggest": {
21 | "ext-phpredis": "Pure C implemented extension for PHP"
22 | },
23 | "license": "MIT",
24 | "authors": [
25 | {
26 | "name": "frankdejonge",
27 | "email": "info@frenky.net"
28 | }
29 | ]
30 | }
31 |
--------------------------------------------------------------------------------
/vendor/topthink/think-helper/composer.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "topthink/think-helper",
3 | "description": "The ThinkPHP6 Helper Package",
4 | "license": "Apache-2.0",
5 | "authors": [
6 | {
7 | "name": "yunwuxin",
8 | "email": "448901948@qq.com"
9 | }
10 | ],
11 | "require": {
12 | "php": ">=7.1.0"
13 | },
14 | "require-dev": {
15 | "phpunit/phpunit": "^9.5"
16 | },
17 | "autoload": {
18 | "psr-4": {
19 | "think\\": "src"
20 | },
21 | "files": [
22 | "src/helper.php"
23 | ]
24 | },
25 | "autoload-dev": {
26 | "psr-4": {
27 | "Tests\\": "tests"
28 | }
29 | },
30 | "scripts": {
31 | "test": "./vendor/bin/phpunit --colors"
32 | },
33 | "scripts-descriptions": {
34 | "test": "Run all tests."
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/vendor/topthink/think-trace/src/Service.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | namespace think\trace;
12 |
13 | use think\Service as BaseService;
14 |
15 | class Service extends BaseService
16 | {
17 | public function register()
18 | {
19 | $this->app->middleware->add(TraceDebug::class);
20 | }
21 | }
22 |
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/ProxyManagerCaster.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | use ProxyManager\Proxy\ProxyInterface;
15 | use Symfony\Component\VarDumper\Cloner\Stub;
16 |
17 | /**
18 | * @author Nicolas Grekas
19 | *
20 | * @final since Symfony 4.4
21 | */
22 | class ProxyManagerCaster
23 | {
24 | public static function castProxy(ProxyInterface $c, array $a, Stub $stub, $isNested)
25 | {
26 | if ($parent = get_parent_class($c)) {
27 | $stub->class .= ' - '.$parent;
28 | }
29 | $stub->class .= '@proxy';
30 |
31 | return $a;
32 | }
33 | }
34 |
--------------------------------------------------------------------------------
/config/setting.php:
--------------------------------------------------------------------------------
1 |
2 | 'qz4d8wfe',
6 | 'access_token_url' => "https://api.weixin.qq.com/cgi-bin/token?grant_type=client_credential&appid=%s&secret=%s",
7 | 'wx_login_url' => "https://api.weixin.qq.com/sns/jscode2session?appid=%s&secret=%s&js_code=%s&grant_type=authorization_code",//小程序登陆,携带code换取openid
8 | 'soft_del' => '',
9 | 'token_expire_in' => 7200, //token过期时间,单位秒
10 | 'cache_expire_in' => 3600, //默认缓存时间,单位秒
11 |
12 | //snsapi_userinfo或snsapi_base
13 | 'gzh_code_url' => "https://open.weixin.qq.com/connect/oauth2/authorize?appid=%s&redirect_uri=%s&response_type=code&scope=snsapi_userinfo&state=123#wechat_redirect",
14 | 'gzh_login_url' =>'https://api.weixin.qq.com/sns/oauth2/access_token?appid=%s&secret=%s&code=%s&grant_type=authorization_code', //公众号登陆,携带code换取openid
15 |
16 | 'is_business'=>'1',
17 | 'PC_mode'=>1,
18 | 'user_mode'=>1
19 | ];
--------------------------------------------------------------------------------
/vendor/ruhua/ruhua_framework/src/exceptions/OrderException.php:
--------------------------------------------------------------------------------
1 | code = $params['code'];
24 | }
25 | if(array_key_exists('msg',$params)){
26 | $this->msg = $params['msg'];
27 | $this->message = $params['msg'];
28 | }
29 | if(array_key_exists('errorCode',$params)){
30 | $this->errorCode = $params['errorCode'];
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/GmpCaster.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | use Symfony\Component\VarDumper\Cloner\Stub;
15 |
16 | /**
17 | * Casts GMP objects to array representation.
18 | *
19 | * @author Hamza Amrouche
21 | *
22 | * @final since Symfony 4.4
23 | */
24 | class GmpCaster
25 | {
26 | public static function castGmp(\GMP $gmp, array $a, Stub $stub, $isNested, $filter): array
27 | {
28 | $a[Caster::PREFIX_VIRTUAL.'value'] = new ConstStub(gmp_strval($gmp), gmp_strval($gmp));
29 |
30 | return $a;
31 | }
32 | }
33 |
--------------------------------------------------------------------------------
/app/model/MbNavs.php:
--------------------------------------------------------------------------------
1 | find();
23 | $v['jump_type']=$model->where('id',$v['jump_id'])->value('type');
24 | $v['jump_type']=$v['jump_type']??"home";
25 | $one->save($v);
26 | }
27 | Db::commit();
28 | } catch (\Exception $e) {
29 | Db::rollback();
30 | throw new CmsException(['msg' => '更新错误']);
31 | }
32 | }
33 | }
--------------------------------------------------------------------------------
/vendor/topthink/framework/src/think/initializer/BootService.php:
--------------------------------------------------------------------------------
1 |
10 | // +----------------------------------------------------------------------
11 | declare (strict_types = 1);
12 |
13 | namespace think\initializer;
14 |
15 | use think\App;
16 |
17 | /**
18 | * 启动系统服务
19 | */
20 | class BootService
21 | {
22 | public function init(App $app)
23 | {
24 | $app->boot();
25 | }
26 | }
27 |
--------------------------------------------------------------------------------
/vendor/symfony/var-dumper/Caster/ConstStub.php:
--------------------------------------------------------------------------------
1 |
7 | *
8 | * For the full copyright and license information, please view the LICENSE
9 | * file that was distributed with this source code.
10 | */
11 |
12 | namespace Symfony\Component\VarDumper\Caster;
13 |
14 | use Symfony\Component\VarDumper\Cloner\Stub;
15 |
16 | /**
17 | * Represents a PHP constant and its value.
18 | *
19 | * @author Nicolas Grekas
20 | */
21 | class ConstStub extends Stub
22 | {
23 | public function __construct(string $name, $value = null)
24 | {
25 | $this->class = $name;
26 | $this->value = 1 < \func_num_args() ? $value : $name;
27 | }
28 |
29 | /**
30 | * @return string
31 | */
32 | public function __toString()
33 | {
34 | return (string) $this->value;
35 | }
36 | }
37 |
--------------------------------------------------------------------------------
/app/model/Link.php:
--------------------------------------------------------------------------------
1 | $v) {
18 | $this->where('id', $v['id'])->update(['sort' => $v['sort']]);
19 | }
20 | Db::commit();
21 | } catch (\Exception $e) {
22 | Db::rollback();
23 | throw new CmsException(['msg' => '更新排序错误']);
24 | }
25 | }
26 |
27 | public static function up($form)
28 | {
29 | $id = $form['id'];
30 | unset($form['id']);
31 | $model = self::find($id);
32 | if (!$model) {
33 | throw new CmsException(['msg' => '不存在']);
34 | }
35 | $model->save($form);
36 | }
37 | }
--------------------------------------------------------------------------------
/config/app.php:
--------------------------------------------------------------------------------
1 | env('app.host', ''),
9 | // 应用的命名空间
10 | 'app_namespace' => '',
11 | // 是否启用路由
12 | 'with_route' => true,
13 | // 默认应用
14 | 'default_app' => 'Index',
15 | // 默认时区
16 | 'default_timezone' => 'Asia/Shanghai',
17 |
18 | // 应用映射(自动多应用模式有效)
19 | 'app_map' => [],
20 | // 域名绑定(自动多应用模式有效)
21 | 'domain_bind' => [],
22 | // 禁止URL访问的应用列表(自动多应用模式有效)
23 | 'deny_app_list' => [],
24 |
25 | // 异常页面的模板文件
26 | 'exception_tmpl' => app()->getThinkPath() . 'tpl/think_exception.tpl',
27 |
28 | // 错误显示信息,非调试模式有效
29 | 'error_message' => '页面错误!请稍后再试~',
30 | // 显示错误信息
31 | 'show_error_msg' => false,
32 | ];
33 |
--------------------------------------------------------------------------------
/public/qzcms/static/img/eye-close.5d22b2e6.svg:
--------------------------------------------------------------------------------
1 |
--------------------------------------------------------------------------------
/vendor/league/flysystem/src/SafeStorage.php:
--------------------------------------------------------------------------------
1 | hash = spl_object_hash($this);
20 | static::$safeStorage[$this->hash] = [];
21 | }
22 |
23 | public function storeSafely($key, $value)
24 | {
25 | static::$safeStorage[$this->hash][$key] = $value;
26 | }
27 |
28 | public function retrieveSafely($key)
29 | {
30 | if (array_key_exists($key, static::$safeStorage[$this->hash])) {
31 | return static::$safeStorage[$this->hash][$key];
32 | }
33 | }
34 |
35 | public function __destruct()
36 | {
37 | unset(static::$safeStorage[$this->hash]);
38 | }
39 | }
40 |
--------------------------------------------------------------------------------
/public/h5/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
9 | {notempty name="data['list']"}
10 | {$data['list'][0]}
11 | {/notempty}
12 |
13 |