算法版本列表接口调整
Former-commit-id: b0639ee26f2898e982b8b76ff153bc76fd49f795
This commit is contained in:
parent
61a2453246
commit
b7e7b8cd09
|
@ -14,13 +14,12 @@ type OctopusConfig struct {
|
|||
}
|
||||
|
||||
type OctopusApi struct {
|
||||
GetUserImageList string
|
||||
GetMyAlgorithmList string
|
||||
GetNotebookList string
|
||||
GetMydatasetList string
|
||||
CreateImage string
|
||||
DeleteImage string
|
||||
|
||||
GetUserImageList string
|
||||
GetMyAlgorithmList string
|
||||
GetNotebookList string
|
||||
GetMydatasetList string
|
||||
CreateImage string
|
||||
DeleteImage string
|
||||
CreateDataSet string
|
||||
DeleteDataSet string
|
||||
GetAlgorithmApplyList string
|
||||
|
|
|
@ -37,8 +37,9 @@ func (l *GetAlgorithmListLogic) GetAlgorithmList(in *octopus.GetAlgorithmListReq
|
|||
req := tool.GetACHttpRequest()
|
||||
_, err := req.
|
||||
SetHeader("Authorization", "Bearer "+token).
|
||||
SetQueryString("pageIndex=" + strconv.Itoa(int(in.PageIndex))).
|
||||
SetQueryString("pageSize=" + strconv.Itoa(int(in.PageSize))).
|
||||
SetQueryString("pageIndex="+strconv.Itoa(int(in.PageIndex))).
|
||||
SetQueryString("pageSize="+strconv.Itoa(int(in.PageSize))).
|
||||
SetPathParam("algorithmId", in.AlgorithmId).
|
||||
SetResult(resp).
|
||||
Get(reqUrl)
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -97,8 +97,9 @@ message PayloadUploadAlgorithmConfirm{
|
|||
|
||||
message GetAlgorithmListReq{
|
||||
string platform =1;
|
||||
int32 pageIndex =2;
|
||||
int32 pageSize =3;
|
||||
string algorithmId = 2;
|
||||
int32 pageIndex =3;
|
||||
int32 pageSize =4;
|
||||
}
|
||||
|
||||
message GetAlgorithmListResp{
|
||||
|
|
Loading…
Reference in New Issue