购物车迁入
This commit is contained in:
16
extend/workermans/model/RedisInit.php
Normal file
16
extend/workermans/model/RedisInit.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace extend\workermans\model;
|
||||
|
||||
use support\Redis;
|
||||
|
||||
/**
|
||||
* 购物车
|
||||
*/
|
||||
class RedisInit extends Base
|
||||
{
|
||||
public static function inits()
|
||||
{
|
||||
self::$redis = Redis::connection();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user