fix:增加寒武纪数据集代码到2.0分支
This commit is contained in:
parent
fa058438f9
commit
2215c8b9a5
|
@ -42,7 +42,7 @@ func (l *CreateDataSetLogic) CreateDataSet(in *hanwuji.CreateDataSetReq) (*hanwu
|
|||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
if statusCode == 201 {
|
||||
if statusCode == 200 {
|
||||
json.Unmarshal(body, &resp)
|
||||
} else if statusCode == 400 {
|
||||
json.Unmarshal(body, &resp)
|
||||
|
|
Loading…
Reference in New Issue