updated logic

This commit is contained in:
tzwang 2024-04-07 10:57:24 +08:00
parent 4805522532
commit 6ffd7668eb
59 changed files with 227 additions and 325 deletions

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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