接口调整
Former-commit-id: 44b49dc9984488704c9e0d0a33f2df1df8edbe42
This commit is contained in:
parent
a6ab1fd7da
commit
61a2453246
|
@ -38,7 +38,7 @@ func (l *StartNotebookLogic) StartNotebook(in *octopus.StartNotebookReq) (*octop
|
|||
SetHeader("Authorization", "Bearer "+token).
|
||||
SetPathParam("id", in.Id).
|
||||
SetResult(resp).
|
||||
Get(reqUrl)
|
||||
Post(reqUrl)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
|
@ -38,7 +38,7 @@ func (l *StopNotebookLogic) StopNotebook(in *octopus.StopNotebookReq) (*octopus.
|
|||
SetHeader("Authorization", "Bearer "+token).
|
||||
SetPathParam("id", in.Id).
|
||||
SetResult(resp).
|
||||
Get(reqUrl)
|
||||
Post(reqUrl)
|
||||
|
||||
if err != nil {
|
||||
return nil, err
|
||||
|
|
Loading…
Reference in New Issue