Commit 3d507956 authored by vicotor's avatar vicotor

update package name

parent 8a4e2544
Pipeline #728 failed with stages
......@@ -3,7 +3,7 @@ package cachedata
import (
"context"
lru "github.com/hashicorp/golang-lru"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
goredislib "github.com/redis/go-redis/v9"
)
......
......@@ -2,7 +2,7 @@ package cachedata
import (
"context"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
"testing"
)
......
......@@ -2,7 +2,7 @@ package cachedata
import (
"fmt"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
goredislib "github.com/redis/go-redis/v9"
log "github.com/sirupsen/logrus"
"strconv"
......
......@@ -3,7 +3,7 @@ package cachedata
import (
"context"
"encoding/json"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
"strconv"
)
......
package cachedata
import (
"github.com/odysseus/payment/model"
"github.com/odysseus/payment/redisService"
"github.com/odysseus/cache/model"
"github.com/odysseus/cache/redisService"
goredislib "github.com/redis/go-redis/v9"
log "github.com/sirupsen/logrus"
"strconv"
......
......@@ -2,7 +2,7 @@ package cachedata
import (
"encoding/json"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
"strconv"
)
......
......@@ -2,7 +2,7 @@ package cachedata
import (
"encoding/json"
"github.com/odysseus/payment/model"
"github.com/odysseus/cache/model"
"strconv"
)
......
module github.com/odysseus/payment
module github.com/odysseus/cache
go 1.18
......
......@@ -21,6 +21,10 @@ type TaskType struct {
SignUrl string `orm:"column(sign_url)" db:"sign_url" json:"sign_url" form:"sign_url"`
Username string `orm:"column(username)" db:"username" json:"username" form:"username"`
Password string `orm:"column(password)" db:"password" json:"password" form:"password"`
Type int `orm:"column(type)" db:"type" json:"type" form:"type"` // 任务类型 1=txt2img,2=txt2txt,3=txt2video
Kind int `orm:"column(kind)" db:"kind" json:"kind" form:"kind"` // 任务类型 0=系统任务,1=计算任务,2=自定义任务,3=标准任务
BaseModel string `orm:"column(base_model)" json:"base_model" db:"base_model" form:"base_model"`
Model string `orm:"column(model)" json:"model" db:"model" form:"model"`
CreatedTime time.Time `orm:"column(created_time)" db:"created_time" json:"created_time" form:"created_time"` // 创建时间
UpdatedTime time.Time `orm:"column(updated_time)" db:"updated_time" json:"updated_time" form:"updated_time"` // 更新时间
Deleted int64 `orm:"column(deleted)" db:"deleted" json:"deleted" form:"deleted"` // 逻辑删除
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment