|
|
@@ -129,7 +129,7 @@ class AdminController extends BaseController
|
|
|
if (empty($miniOpenId)) {
|
|
|
util::fail('没有找到管理员信息(miniOpenId)');
|
|
|
}
|
|
|
- $cacheKey = 'SHOP_MINI_SESSION_KEY_' . $miniOpenId;
|
|
|
+ $cacheKey = 'GHS_SHOP_MINI_SESSION_KEY_' . $miniOpenId;
|
|
|
$sessionKey = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
$wxMiniSecret = Yii::getAlias("@vendor/weixinMiniSecret");
|
|
|
require_once($wxMiniSecret . '/wxBizDataCrypt.php');
|
|
|
@@ -161,7 +161,7 @@ class AdminController extends BaseController
|
|
|
if (empty($miniOpenId)) {
|
|
|
util::fail('没有找到管理员信息(miniOpenId)');
|
|
|
}
|
|
|
- $cacheKey = 'SHOP_MINI_SESSION_KEY_' . $miniOpenId;
|
|
|
+ $cacheKey = 'GHS_SHOP_MINI_SESSION_KEY_' . $miniOpenId;
|
|
|
$sessionKey = Yii::$app->redis->executeCommand('GET', [$cacheKey]);
|
|
|
if (empty($sessionKey)) {
|
|
|
util::fail('sesstion key empty');
|