Commit c9a53768 authored by 郭勇志's avatar 郭勇志

分库

parent cf08d5f8
......@@ -137,7 +137,7 @@ class ShopRbacUser extends BaseModel implements IdentityInterface
// 取得reids中用户信息
$redis = Yii::$app->redis;
$model = new ShopRbacUser;
$rtnGet=$redis->get('ROMENS_NEW_'.$token);
$rtnGet=$redis->get($model->formatKey($token));
$userInfo=json_decode($rtnGet,true);
$db='db-'.$userInfo['ORG_GUID'];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment