fix:增加寒武纪数据集代码到2.0分支

This commit is contained in:
qiwang 2023-04-04 21:30:29 +08:00
parent fa058438f9
commit 2215c8b9a5
1 changed files with 1 additions and 1 deletions

View File

@ -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)