| 12345678910111213141516171819202122232425262728293031323334353637 |
- <?php
- namespace app\common\service;
- use app\common\model\BoxMidHandleModel;
- use utils\RedisCache;
- /**
- * 盒子匹配服务 by wes
- * Class BoxMidHandleService
- * @package app\common\service
- */
- class BoxMidHandleService
- {
- protected static $instance = null;
- protected $model = null;
- public function __construct()
- {
- $this->model = new BoxMidHandleModel();
- }
- /**
- * 静态化入口
- * @return static|null
- */
- public static function make()
- {
- if(!self::$instance){
- self::$instance = new static();
- }
- return self::$instance;
- }
- }
|