module-menu 0.2.8 → 0.2.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -115,12 +115,9 @@ const ModuleUser = ({ stash }) => {
|
|
|
115
115
|
// 切换租户改缓存、调接口、刷界面
|
|
116
116
|
const handleChangeTenant = (e) => {
|
|
117
117
|
let token = getStore({ name: 'access_token' });
|
|
118
|
-
Axios(
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
'',
|
|
122
|
-
{},
|
|
123
|
-
)
|
|
118
|
+
Axios('post', `/admin-api/system/auth/setRedisTokenOfTenant`, '', {
|
|
119
|
+
data: { token, tenantId: e },
|
|
120
|
+
})
|
|
124
121
|
.then((res) => {
|
|
125
122
|
if (res.data.code === 0) {
|
|
126
123
|
console.log('接口调用成功');
|