|
|
@@ -5,6 +5,7 @@ namespace SixShop\Wechat\Service;
|
|
|
|
|
|
use EasyWeChat\MiniApp\Application;
|
|
|
use think\exception\InvalidArgumentException;
|
|
|
+use think\facade\Cache;
|
|
|
|
|
|
class MiniApp extends Application
|
|
|
{
|
|
|
@@ -30,5 +31,6 @@ class MiniApp extends Application
|
|
|
}
|
|
|
}
|
|
|
parent::__construct($config);
|
|
|
+ $this->setCache(Cache::instance());
|
|
|
}
|
|
|
}
|