updated datasets

This commit is contained in:
tzwang 2025-01-23 15:52:17 +08:00
parent 8ba83170d7
commit 0a94f55363
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
package apis
import (
"errors"
"github.com/gin-gonic/gin"
"gitlink.org.cn/JointCloud/pcm-openi/common"
"gitlink.org.cn/JointCloud/pcm-openi/model"
@ -80,7 +79,7 @@ func ExportDataset(ctx *gin.Context) {
}
if resp.Code != "0" {
model.Response(ctx, 500, common.INVOKEERROR, errors.New(resp.Msg))
model.Response(ctx, 500, resp.Msg, nil)
return
}