amend:hpc overview resp
Former-commit-id: 64b50119aa8ce1921bb84ff018df85684b6e9bcb
This commit is contained in:
parent
58263827d1
commit
a6fed83267
|
@ -52,7 +52,7 @@ func (l *ResourceLogic) Resource(req *types.HpcResourceReq) (resp *types.HpcReso
|
||||||
resp = &types.HpcResourceResp{
|
resp = &types.HpcResourceResp{
|
||||||
Code: 200,
|
Code: 200,
|
||||||
Msg: "success",
|
Msg: "success",
|
||||||
HPCResource: hpcResource,
|
Data: hpcResource,
|
||||||
}
|
}
|
||||||
return resp, nil
|
return resp, nil
|
||||||
}
|
}
|
||||||
|
|
|
@ -933,7 +933,7 @@ type HpcResourceReq struct {
|
||||||
type HpcResourceResp struct {
|
type HpcResourceResp struct {
|
||||||
Code int32 `json:"code"`
|
Code int32 `json:"code"`
|
||||||
Msg string `json:"msg"`
|
Msg string `json:"msg"`
|
||||||
HPCResource HPCResource `json:"hpcResource"`
|
Data HPCResource `json:"data"`
|
||||||
}
|
}
|
||||||
|
|
||||||
type HPCResource struct {
|
type HPCResource struct {
|
||||||
|
|
Loading…
Reference in New Issue