接口调整

Former-commit-id: 44b49dc9984488704c9e0d0a33f2df1df8edbe42
This commit is contained in:
tzwang 2023-05-22 17:35:53 +08:00
parent a6ab1fd7da
commit 61a2453246
2 changed files with 2 additions and 2 deletions

View File

@ -38,7 +38,7 @@ func (l *StartNotebookLogic) StartNotebook(in *octopus.StartNotebookReq) (*octop
SetHeader("Authorization", "Bearer "+token). SetHeader("Authorization", "Bearer "+token).
SetPathParam("id", in.Id). SetPathParam("id", in.Id).
SetResult(resp). SetResult(resp).
Get(reqUrl) Post(reqUrl)
if err != nil { if err != nil {
return nil, err return nil, err

View File

@ -38,7 +38,7 @@ func (l *StopNotebookLogic) StopNotebook(in *octopus.StopNotebookReq) (*octopus.
SetHeader("Authorization", "Bearer "+token). SetHeader("Authorization", "Bearer "+token).
SetPathParam("id", in.Id). SetPathParam("id", in.Id).
SetResult(resp). SetResult(resp).
Get(reqUrl) Post(reqUrl)
if err != nil { if err != nil {
return nil, err return nil, err