From b5a11a3c43691efbfc4c539378f5555b04fb5582 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Mon, 24 Apr 2023 16:21:09 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=88=B6=E5=85=B3=E9=97=AD=E8=BF=9B?= =?UTF-8?q?=E7=A8=8B=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- console/client/src/sections/console/actions/index.js | 2 +- console/client/src/utils/webapi.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/console/client/src/sections/console/actions/index.js b/console/client/src/sections/console/actions/index.js index 88704fe..25528a3 100644 --- a/console/client/src/sections/console/actions/index.js +++ b/console/client/src/sections/console/actions/index.js @@ -40,7 +40,7 @@ export function getVideo (params) { export function logoutApp (params) { return dispatch => basicAction({ - type: 'get', + type: 'post', query: params, dispatch: dispatch, actionType: 'LOGOUT_APP', diff --git a/console/client/src/utils/webapi.js b/console/client/src/utils/webapi.js index 7a652db..fd7b446 100644 --- a/console/client/src/utils/webapi.js +++ b/console/client/src/utils/webapi.js @@ -11,7 +11,7 @@ export const ApiTable = { craneSetting: 'v1/settings', dataLive: 'v1/data/live', videoGet: 'v1/video/get', - logoutApp: 'v1/', + logoutApp: 'v1/shutdown', }; export const RouteTable = {