forked from JointCloud/pcm-octopus
updated logic
This commit is contained in:
parent
4805522532
commit
6ffd7668eb
|
@ -3,7 +3,7 @@ package common
|
||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/config"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateDataSetVersionLogic struct {
|
type CreateDataSetVersionLogic struct {
|
||||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateImageLogic struct {
|
type CreateImageLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateModelDeployLogic struct {
|
type CreateModelDeployLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateMyAlgorithmLogic struct {
|
type CreateMyAlgorithmLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateNotebookLogic struct {
|
type CreateNotebookLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type CreateTrainJobLogic struct {
|
type CreateTrainJobLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteDataSetLogic struct {
|
type DeleteDataSetLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteDataSetVersionLogic struct {
|
type DeleteDataSetVersionLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteImageLogic struct {
|
type DeleteImageLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteModelDeployLogic struct {
|
type DeleteModelDeployLogic struct {
|
||||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteModelVersionLogic struct {
|
type DeleteModelVersionLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteMyAlgorithmLogic struct {
|
type DeleteMyAlgorithmLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteMyModelLogic struct {
|
type DeleteMyModelLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteNotebookLogic struct {
|
type DeleteNotebookLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type DeleteTrainJobLogic struct {
|
type DeleteTrainJobLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type DownloadAlgorithmLogic struct {
|
type DownloadAlgorithmLogic struct {
|
||||||
|
|
|
@ -3,9 +3,9 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetAlgorithmApplyListLogic struct {
|
type GetAlgorithmApplyListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetAlgorithmFrameworkListLogic struct {
|
type GetAlgorithmFrameworkListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetAlgorithmListLogic struct {
|
type GetAlgorithmListLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetAlgorithmLogic struct {
|
type GetAlgorithmLogic struct {
|
||||||
|
|
|
@ -5,10 +5,10 @@ import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/go-redis/redis"
|
"github.com/go-redis/redis"
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/config"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
"time"
|
"time"
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetDatasetApplyListLogic struct {
|
type GetDatasetApplyListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetDatasetTypeListLogic struct {
|
type GetDatasetTypeListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetDatasetVersionListLogic struct {
|
type GetDatasetVersionListLogic struct {
|
||||||
|
|
|
@ -4,17 +4,15 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"github.com/go-redis/redis"
|
"github.com/go-redis/redis"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/config"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
const (
|
const (
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetModelDeployEventLogic struct {
|
type GetModelDeployEventLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetModelDeployListLogic struct {
|
type GetModelDeployListLogic struct {
|
||||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetModelDeployLogic struct {
|
type GetModelDeployLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetModelVersionListLogic struct {
|
type GetModelVersionListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetMyAlgorithmListLogic struct {
|
type GetMyAlgorithmListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetMyDatasetListLogic struct {
|
type GetMyDatasetListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetMyModelListLogic struct {
|
type GetMyModelListLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetNotebookListLogic struct {
|
type GetNotebookListLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetNotebookLogic struct {
|
type GetNotebookLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetPresetImageListLogic struct {
|
type GetPresetImageListLogic struct {
|
||||||
|
|
|
@ -4,9 +4,9 @@ import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetTrainJobEventLogic struct {
|
type GetTrainJobEventLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetTrainJobListLogic struct {
|
type GetTrainJobListLogic struct {
|
||||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetTrainJobLogic struct {
|
type GetTrainJobLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetTrainJobMetricLogic struct {
|
type GetTrainJobMetricLogic struct {
|
||||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetUserBalanceLogic struct {
|
type GetUserBalanceLogic struct {
|
||||||
|
|
|
@ -3,13 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"log"
|
"log"
|
||||||
"strconv"
|
"strconv"
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type GetUserImageListLogic struct {
|
type GetUserImageListLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type InferModelDeployLogic struct {
|
type InferModelDeployLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StartNotebookLogic struct {
|
type StartNotebookLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StopModelDeployLogic struct {
|
type StopModelDeployLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StopNotebookLogic struct {
|
type StopNotebookLogic struct {
|
||||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
|
||||||
"log"
|
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
|
"log"
|
||||||
)
|
)
|
||||||
|
|
||||||
type StopTrainJobLogic struct {
|
type StopTrainJobLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadAlgorithmConfirmLogic struct {
|
type UploadAlgorithmConfirmLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadAlgorithmLogic struct {
|
type UploadAlgorithmLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadDataSetConfirmLogic struct {
|
type UploadDataSetConfirmLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadDataSetLogic struct {
|
type UploadDataSetLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadImageConfirmLogic struct {
|
type UploadImageConfirmLogic struct {
|
||||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
"errors"
|
"errors"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/tool"
|
"gitlink.org.cn/jcce-pcm/utils/tool"
|
||||||
"log"
|
"log"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type UploadImageLogic struct {
|
type UploadImageLogic struct {
|
||||||
|
|
|
@ -5,10 +5,9 @@ package server
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"context"
|
"context"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/logic"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/logic"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
)
|
)
|
||||||
|
|
||||||
type OctopusServer struct {
|
type OctopusServer struct {
|
||||||
|
|
|
@ -3,7 +3,7 @@ package svc
|
||||||
import (
|
import (
|
||||||
"github.com/zeromicro/go-zero/zrpc"
|
"github.com/zeromicro/go-zero/zrpc"
|
||||||
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/pcmcore"
|
"gitlink.org.cn/JointCloud/pcm-coordinator/rpc/client/pcmcore"
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/config"
|
||||||
)
|
)
|
||||||
|
|
||||||
type ServiceContext struct {
|
type ServiceContext struct {
|
||||||
|
|
|
@ -3,13 +3,12 @@ package main
|
||||||
import (
|
import (
|
||||||
"flag"
|
"flag"
|
||||||
"github.com/zeromicro/go-zero/core/logx"
|
"github.com/zeromicro/go-zero/core/logx"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/config"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/server"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||||
|
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||||
"gitlink.org.cn/jcce-pcm/utils/interceptor/rpcserver"
|
"gitlink.org.cn/jcce-pcm/utils/interceptor/rpcserver"
|
||||||
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/server"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
|
||||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
|
||||||
|
|
||||||
"github.com/zeromicro/go-zero/core/service"
|
"github.com/zeromicro/go-zero/core/service"
|
||||||
"github.com/zeromicro/go-zero/zrpc"
|
"github.com/zeromicro/go-zero/zrpc"
|
||||||
"google.golang.org/grpc"
|
"google.golang.org/grpc"
|
||||||
|
|
Loading…
Reference in New Issue