初始化项目:添加后端代码、ThinkPHP框架、前端资源
This commit is contained in:
@@ -0,0 +1,49 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* This file is part of the overtrue/wechat.
|
||||
*
|
||||
* (c) overtrue <i@overtrue.me>
|
||||
*
|
||||
* This source file is subject to the MIT license that is bundled
|
||||
* with this source code in the file LICENSE.
|
||||
*/
|
||||
|
||||
namespace TuzhiEasyWeChat\Channels;
|
||||
|
||||
use TuzhiEasyWeChat\BasicService;
|
||||
use TuzhiEasyWeChat\Kernel\ServiceContainer;
|
||||
|
||||
/**
|
||||
* Class Application.
|
||||
*
|
||||
* @author overtrue <i@overtrue.me>
|
||||
*
|
||||
* @property \TuzhiEasyWeChat\BasicService\Media\Client $media
|
||||
* @property \TuzhiEasyWeChat\BasicService\Url\Client $url
|
||||
* @property \TuzhiEasyWeChat\BasicService\QrCode\Client $qrcode
|
||||
*/
|
||||
class Application extends ServiceContainer
|
||||
{
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
protected $providers = [
|
||||
Auth\ServiceProvider::class,
|
||||
Server\ServiceProvider::class,
|
||||
Sharer\ServiceProvider::class,
|
||||
OAuth\ServiceProvider::class,
|
||||
Aftersale\ServiceProvider::class,
|
||||
Order\ServiceProvider::class,
|
||||
Basics\ServiceProvider::class,
|
||||
Merchant\ServiceProvider::class,
|
||||
Category\ServiceProvider::class,
|
||||
Product\ServiceProvider::class,
|
||||
Window\ServiceProvider::class,
|
||||
// Base services
|
||||
BasicService\QrCode\ServiceProvider::class,
|
||||
BasicService\Media\ServiceProvider::class,
|
||||
BasicService\Url\ServiceProvider::class,
|
||||
BasicService\Jssdk\ServiceProvider::class
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user