forked from JointCloud/pcm-octopus
updated logic
This commit is contained in:
parent
4805522532
commit
6ffd7668eb
|
@ -3,7 +3,7 @@ package common
|
|||
import (
|
||||
"bytes"
|
||||
"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"
|
||||
"log"
|
||||
"time"
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"context"
|
||||
"errors"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"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"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||
"log"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,9 +3,9 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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"
|
||||
"log"
|
||||
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -5,10 +5,10 @@ import (
|
|||
"encoding/json"
|
||||
"github.com/go-redis/redis"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
||||
"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"
|
||||
"strconv"
|
||||
"time"
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -4,17 +4,15 @@ import (
|
|||
"context"
|
||||
"encoding/json"
|
||||
"github.com/go-redis/redis"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/common"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/config"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"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"
|
||||
"strconv"
|
||||
"strings"
|
||||
"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 (
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -4,9 +4,9 @@ import (
|
|||
"context"
|
||||
"errors"
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
"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"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/common"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||
"log"
|
||||
)
|
||||
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,12 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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"
|
||||
"strconv"
|
||||
|
||||
"github.com/zeromicro/go-zero/core/logx"
|
||||
)
|
||||
|
||||
type GetUserImageListLogic struct {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,11 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -3,14 +3,12 @@ package logic
|
|||
import (
|
||||
"context"
|
||||
"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"
|
||||
"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 {
|
||||
|
|
|
@ -5,10 +5,9 @@ package server
|
|||
|
||||
import (
|
||||
"context"
|
||||
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/logic"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/internal/svc"
|
||||
"gitlink.org.cn/jcce-pcm/pcm-participant-octopus/octopus"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/logic"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/internal/svc"
|
||||
"gitlink.org.cn/JointCloud/pcm-octopus/octopus"
|
||||
)
|
||||
|
||||
type OctopusServer struct {
|
||||
|
|
|
@ -3,7 +3,7 @@ package svc
|
|||
import (
|
||||
"github.com/zeromicro/go-zero/zrpc"
|
||||
"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 {
|
||||
|
|
|
@ -3,13 +3,12 @@ package main
|
|||
import (
|
||||
"flag"
|
||||
"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/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/zrpc"
|
||||
"google.golang.org/grpc"
|
||||
|
|
Loading…
Reference in New Issue