From ba31581e31f5477c6a09215d6b484f7a927d7878 Mon Sep 17 00:00:00 2001 From: wyt <309301362@qq.com> Date: Thu, 2 Feb 2023 14:10:24 +0800 Subject: [PATCH] 1 --- cmd/internal/controller/artisrInfo.go | 11 +- cmd/internal/controller/artwork.go | 7 + cmd/internal/dao/artistInfo.go | 29 + cmd/internal/dao/artwork.go | 187 +++- cmd/internal/logic/artistInfo.go | 5 + cmd/internal/logic/artwork.go | 6 + conf/conf.ini | 4 +- conf/dubbogo.yaml | 64 +- main.go | 243 +++++ pb/artistinfo/artistinfo.pb.go | 1421 ++++++++++++++++++------- pb/artistinfo/artistinfo.proto | 64 +- pb/artistinfo/artistinfo_triple.pb.go | 69 +- pb/artwork/artwork.pb.go | 693 +++++++++--- pb/artwork/artwork.proto | 40 +- pb/artwork/artwork_triple.pb.go | 104 +- 15 files changed, 2368 insertions(+), 579 deletions(-) create mode 100644 main.go diff --git a/cmd/internal/controller/artisrInfo.go b/cmd/internal/controller/artisrInfo.go index 5eb2d38..77b1baf 100644 --- a/cmd/internal/controller/artisrInfo.go +++ b/cmd/internal/controller/artisrInfo.go @@ -13,7 +13,7 @@ type ArtistInfoProvider struct { artistInfoLogic *logic.ArtistInfo } -func (a *ArtistInfoProvider) registerUser(ctx context.Context, req *artistinfo.RegisterUserRequest) (rep *artistinfo.RegisterUserRespond, err error) { +func (a *ArtistInfoProvider) RegisterUser(ctx context.Context, req *artistinfo.RegisterUserRequest) (rep *artistinfo.RegisterUserRespond, err error) { fmt.Println("第一处") // backup := &artistInfo.GetUserInfoRespond{} if rep, err = a.artistInfoLogic.RegisterUser(req); err != nil { @@ -57,3 +57,12 @@ func (a *ArtistInfoProvider) CheckUserLock(ctx context.Context, req *artistinfo. } return rep, nil } + +func (a *ArtistInfoProvider) ArtistSupplyList(ctx context.Context, req *artistinfo.ArtistSupplyListRequest) (rep *artistinfo.ArtistSupplyListRespond, err error) { + fmt.Println("第一处") + // backup := &artistInfo.GetUserInfoRespond{} + if rep, err = a.artistInfoLogic.ArtistSupplyList(req); err != nil { + return nil, err + } + return rep, nil +} diff --git a/cmd/internal/controller/artwork.go b/cmd/internal/controller/artwork.go index f1d28d1..0c63c7d 100644 --- a/cmd/internal/controller/artwork.go +++ b/cmd/internal/controller/artwork.go @@ -60,3 +60,10 @@ func (a *ArtWorkProvider) UploadArtwork(ctx context.Context, req *artwork.Upload } return rep, nil } +func (a *ArtWorkProvider) ApproveArtwork(ctx context.Context, req *artwork.ApproveArtworkRequest) (rep *artwork.ApproveArtworkRespond, err error) { + fmt.Println("第一处") + if rep, err = a.artWorkLogic.ApproveArtwork(req); err != nil { + return nil, err + } + return rep, nil +} \ No newline at end of file diff --git a/cmd/internal/dao/artistInfo.go b/cmd/internal/dao/artistInfo.go index 5419897..64dde2e 100644 --- a/cmd/internal/dao/artistInfo.go +++ b/cmd/internal/dao/artistInfo.go @@ -89,6 +89,35 @@ func FinishVerify(req *artistinfo.FinishVerifyRequest) (rep *artistinfo.FinishVe return rep, nil } +func ArtistSupplyList(req *artistinfo.ArtistSupplyListRequest) (rep *artistinfo.ArtistSupplyListRespond, err error) { + var artistList = make([]artistinfo.ArtistArtworkSupplyListResponseData, 0) + var args []interface{} + sql := `select cc.* from (SELECT a.id,a.name,a.pen_name,a.is_import,a.tel_num,a.sex,a.age,b.id_num,a.invited_code,a.certificate_num,a.con_address,b.idcard_front,b.idcard_back,a.photo,a.video,a.created_at,a.updated_at,a.is_lock,a.certificate_img,min(d.created_at) as dd from user a inner join real_name b on a.real_name_id = b.id left join bank c on a.id = c.user_id left join supply_info d on a.id = d.user_id where (d.types = 1 or d.types = 4 or d.types = 2 or d.types = 3 or d.types =6) and a.is_real_name = true ` + sqlWhere := ` ` + sqlGroup := ` group by a.id order by min(d.created_at) desc ) cc inner join supply_info f where dd >0 and dd = f.created_at and cc.id = f.user_id group by cc.id,dd ` + var count uint64 + tx := db.DB.Raw("select count(*) from (" + sql + sqlWhere + sqlGroup + ") cc").Scan(&count) + if tx.Error != nil { + zap.L().Error("get user info err", zap.Error(tx.Error)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.Count = count + var sqlLimit = " limit ?,? " + args = append(args, (req.Page-1)*req.PageSize) + args = append(args, req.PageSize) + err = db.DB.Raw(sql + sqlWhere + sqlGroup + sqlLimit).Scan(&artistList).Error + if err != nil { + zap.L().Error("get user info err", zap.Error(tx.Error)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + for _, v := range artistList { + rep.Data = append(rep.Data, &v) + } + return rep, nil +} + // // Update 用户修改信息 // func Create(reqs *artist.CreateUserInfoRequest) (rep *artist.CreateUserInfoRespond, err error) { // req := reqs.Data diff --git a/cmd/internal/dao/artwork.go b/cmd/internal/dao/artwork.go index 0d7ffd0..dc83336 100644 --- a/cmd/internal/dao/artwork.go +++ b/cmd/internal/dao/artwork.go @@ -4,6 +4,7 @@ import ( "encoding/json" "errors" + "github.com/alibaba/sentinel-golang/logging" "github.com/fonchain-artistserver/cmd/model" "github.com/fonchain-artistserver/pb/artwork" db "github.com/fonchain-artistserver/pkg/db" @@ -44,6 +45,85 @@ func ArtworkAdd(res *artwork.ArtworkAddRequest) (req *artwork.ArtworkAddRespond, return } + + +//Get 用户修改信息 +func (service UserUpdateInfoService) Update(id uint) serializer.Response { + var user model.User + code := e.SUCCESS + //找到用户 + err := model.DB.First(&user, "id = ?", id).Error + if err != nil { + logging.Info(err) + code = e.ErrorDatabase + return serializer.Response{ + Status: 400, + Msg: e.GetMsg(code), + Error: err.Error(), + } + } + user.PenName = service.PenName + user.Photo = service.Photo + user.Video = service.Video + user.CertificateImg = service.CertificateImg + conAddessByte, err := json.Marshal(service.ConAddress) + if err != nil { + logging.Info(err) + code = e.ErrorDatabase + return serializer.Response{ + Status: 400, + Msg: e.GetMsg(code), + Error: err.Error(), + } + } + user.ConAddress = string(conAddessByte) + user.WxAccount = service.WxAccount + user.CertificateNum = service.CertificateNum + err = model.DB.Save(&user).Error + if err != nil { + logging.Info(err) + code = e.ErrorDatabase + return serializer.Response{ + Status: 400, + Msg: e.GetMsg(code), + Error: err.Error(), + } + } + var realName model.RealName + err = model.DB.First(&realName, "id = ?", user.RealNameID).Error + if err != nil { + logging.Info(err) + code = e.ErrorDatabase + return serializer.Response{ + Status: 400, + Msg: e.GetMsg(code), + Error: err.Error(), + } + } + realName.IdcardBack = service.IdCardBack + realName.IdcardFront = service.IdCardFront + err = model.DB.Save(&realName).Error + if err != nil { + logging.Info(err) + code = e.ErrorDatabase + return serializer.Response{ + Status: 400, + Msg: e.GetMsg(code), + Error: err.Error(), + } + } + return serializer.Response{ + Status: code, + Data: serializer.BuildUser(user), + Msg: e.GetMsg(code), + } +} + + + + + + func CheckUserLock(id int64) (err error) { var user model.User if err = db.DB.Where("id = ? ", id).First(&user).Error; err != nil { @@ -104,14 +184,30 @@ func DelArtwork(id int32) (err error) { return } +func ApproveArtwork(req *artwork.ApproveArtworkRequest)(rep *artwork.ApproveArtworkRespond,err error){ + var artwork model.Artwork + artwork.ID = int32(data.ID) + var state int + if req.IsApprove { + state = 3 + } else { + state = 4 + } + if err = db.DB.Update(&artwork).Where("state = ?,remark = ?,remark2 = ?",state,req.Remark,req.Remark2).Error; err != nil { + zap.L().Error("get artwork info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + return +} func GetArtworkList(req *artwork.GetArtworkListRequest) (rep *artwork.GetArtworkListRespond, err error) { rep = &artwork.GetArtworkListRespond{} var datas []*artwork.UpdateArtworkRequest var artworkList []model.Artwork - //找到用户 - if err = db.DB.Order("created_at desc").Where("artist_id = ?", req.ID).Find(&artworkList).Error; err != nil { + //找到用户 p[] + if err = db.DB.Order("created_at desc").Where("id = ?", req.Id).Find(&artworkList).Error; err != nil { zap.L().Error("get artwork info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) return @@ -122,7 +218,7 @@ func GetArtworkList(req *artwork.GetArtworkListRequest) (rep *artwork.GetArtwork var createAddressByte []string json.Unmarshal([]byte(artworkList[k].CreateAddress), &createAddressByte) data.ID = uint64(artworkList[k].ID) - data.ArtistId = uint64(artworkList[k].ArtistId) + // data.ArtistId = uint64(artworkList[k].ArtistId) data.Name = artworkList[k].Name data.ModelYear = artworkList[k].ModelYear data.Photo = artworkList[k].Photo @@ -157,7 +253,7 @@ func GetArtwork(id int32) (rep *artwork.GetArtworkRespond, err error) { var createAddressByte []string json.Unmarshal([]byte(artworkRes.CreateAddress), &createAddressByte) rep.ID = uint64(artworkRes.ID) - rep.ArtistId = uint64(artworkRes.ArtistId) + // rep.ArtistId = uint64(artworkRes.ArtistId) rep.Name = artworkRes.Name rep.ModelYear = artworkRes.ModelYear rep.Photo = artworkRes.Photo @@ -177,18 +273,95 @@ func GetArtwork(id int32) (rep *artwork.GetArtworkRespond, err error) { func UploadArtwork(Id uint64) (err error) { var artwork model.Artwork - if err = db.DB.First(&artwork, "id = ?", Id).Error; err != nil { + if err = db.DB.Find(&artwork, "id = ?", Id).Error; err != nil { zap.L().Error("get artwork info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) return } - artwork.State = 1 if err = db.DB.Save(&artwork).Error; err != nil { - zap.L().Error("save artwork info err", zap.Error(err)) + zap.L().Error("save artwork info err", zap.Error(rr)) err = errors.New(m.SAVE_ERROR) return } return } + +func GetMgmtArtworkList(req *artwork.GetMgmtArtworkListRequest) (rep *artwork.GetMgmtArtworkListRespond, err error) { + rep = &artwork.GetArtworkListRespond{} + var datas []*artwork.UpdateArtworkRequest + id, err := GetUserId(req.ArtistId) + if err != nil { + zap.L().Error("get artwork info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + var args []interface{} + var sqlWhere = " (state >=1 and state <=3) " + if req.Name != "" { + sqlWhere += ` and name like ? ` + args = append(args, "%"+req.Name+"%") + } + // if req.BatchId != 0 { + // sqlWhere += `and c.batch_id = ? ` + // args = append(args, req.BatchId) + // } + if req.ArtistId != 0 { + sqlWhere += ` artist_id = ? ` + args = append(args, id) + } + if req.State != 0 { + sqlWhere += ` and state = ? ` + args = append(args, req.State) + } + //找到用户 + var artworkCount model.Artwork + + tx = db.DB.Where(sqlWhere, args...).Count(&artworkCount) + if tx.Error != nil { + zap.L().Error("get artwork info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + rep.Count = tx. + var artworkList []model.Artwork + //找到用户 + var sqlLimit = sqlWhere + " limit ?,? " + args = append(args, (req.Page-1)*req.PageSize) + args = append(args, req.Num) + if err = db.DB.Order("created_at desc").Where(sqlWhere, args...).Find(&artworkList).Error; err != nil { + zap.L().Error("get artwork info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return + } + for k, v := range artworkList { + artworkList[k].CreateTime = v.CreatedAt.Format("2006-01-02") + var data artwork.UpdateArtworkRequest + var createAddressByte []string + json.Unmarshal([]byte(artworkList[k].CreateAddress), &createAddressByte) + data.Name = artworkList[k].Name + data.ModelYear = artworkList[k].ModelYear + data.Photo = artworkList[k].Photo + data.ArtistPhoto = artworkList[k].ArtistPhoto + data.CreateAt = artworkList[k].CreateTme + data.NetworkTrace = artworkList[k].Netor + data.Url = artworkList[k].Url + data.State = uint64(artworkList[k].State) + datas = append(datas, &data) + } + rep.Data = datas + return +} + +func GetUserId(artistId string) (uint64, error) { + var user model.User + if err := db.DB.First(&user, "id = ? and deleted_at is null", id).Error; err != nil { + + + err = errors.New(m.ERROR_SELECT) + return 0, err + } + return user.ID, nil + +} diff --git a/cmd/internal/logic/artistInfo.go b/cmd/internal/logic/artistInfo.go index f8b41bc..9ab44f6 100644 --- a/cmd/internal/logic/artistInfo.go +++ b/cmd/internal/logic/artistInfo.go @@ -12,6 +12,7 @@ type IArtistInfo interface { UpdateRealName(req *artistinfo.UpdateRealNameRequest) (rep *artistinfo.UpdateRealNameRespond, err error) FinishVerify(req *artistinfo.FinishVerifyRequest) (rep *artistinfo.FinishVerifyRespond, err error) CheckUserLock(req *artistinfo.CheckUserLockRequest) (rep *artistinfo.CheckUserLockRespond, err error) + ArtistSupplyList(req *artistinfo.ArtistSupplyListRequest) (rep *artistinfo.ArtistSupplyListRespond, err error) } func NewArtistInfo() IArtistInfo { @@ -48,3 +49,7 @@ func (a *ArtistInfo) CheckUserLock(req *artistinfo.CheckUserLockRequest) (rep *a err = dao.CheckUserLock(int64(req.ID)) return } +func (a *ArtistInfo) ArtistSupplyList(req *artistinfo.ArtistSupplyListRequest) (rep *artistinfo.ArtistSupplyListRespond, err error) { + err = dao.ArtistSupplyList(int64(req.ID)) + return +} diff --git a/cmd/internal/logic/artwork.go b/cmd/internal/logic/artwork.go index a2b207e..d4f86e9 100644 --- a/cmd/internal/logic/artwork.go +++ b/cmd/internal/logic/artwork.go @@ -57,3 +57,9 @@ func (a *ArtWork) UploadArtwork(req *artwork.UploadArtworkRequest) (rep *artwork err = dao.UploadArtwork(req.ID) return } + +func (a *ArtWork) ApproveArtwork(req *artwork.ApproveArtworkRequest) (rep *artwork.ApproveArtworkRespond, err error) { + + err = dao.ApproveArtwork(req.ID) + return +} diff --git a/conf/conf.ini b/conf/conf.ini index 02c95a7..5414059 100644 --- a/conf/conf.ini +++ b/conf/conf.ini @@ -3,11 +3,11 @@ mode = dev #正式prod #测试dev [mysql] Db = mysql -DbHost = 121.229.45.214 +DbHost = 172.16.100.99 #214 DbPort = 9007 DbUser = artuser DbPassWord = "C250PflXIWv2SQm8" -DbName = artistmgmt +DbArtist = artist [redis] RedisDB = 2 diff --git a/conf/dubbogo.yaml b/conf/dubbogo.yaml index 0e0d3d5..5859060 100644 --- a/conf/dubbogo.yaml +++ b/conf/dubbogo.yaml @@ -3,17 +3,71 @@ dubbo: enable: true # default is true path: /metrics # default is /metrics port: 9091 # default is 9090 - namespace: dubboArtistInfo # default is dubbo 作为数据上报 metrics 的前缀 + namespace: dubboArtist # default is dubbo 作为数据上报 metrics 的前 registries: demoZK: protocol: zookeeper timeout: 3s - address: 127.0.0.1:2181 +# address: 127.0.0.1:2181 +# address: 121.229.45.214:9004 +# address: 114.218.158.24:2181 + address: 172.16.100.93:2181 protocols: triple: #triple name: tri - port: 20020 +# ip: 121.229.45.214 + port: 20004 provider: services: - ArtistInfoProvider: - interface: com.fontree.microservices.common.ArtistInfo \ No newline at end of file + ArtistProvider: + interface: com.fontree.microservices.common.Artist + retries: 0 + filter: tps +# token: "dubbo" +# application: "1234" + tps.limiter: method-service + tps.limit.strategy: fixedWindow + tps.limit.rejected.handler: DefaultValueHandler + tps.limit.interval: 1000 + tps.limit.rate: 3 + warmup: 100 #预热时间 + logger: + zap-config: + level: info # 日志级别 + development: false + disableCaller: false + disableStacktrace: false + encoding: "json" + # zap encoder 配置 + encoderConfig: + messageKey: "message" + levelKey: "level" + timeKey: "time" + nameKey: "logger" + callerKey: "caller" + stacktraceKey: "stacktrace" + lineEnding: "" + levelEncoder: "capitalColor" + timeEncoder: "iso8601" + durationEncoder: "seconds" + callerEncoder: "short" + nameEncoder: "" + EncodeTime: zapcore.TimeEncoderOfLayout("2006-01-02 15:04:05.000"), + EncodeDuration: zapcore.SecondsDurationEncoder, + outputPaths: + - "stderr" + errorOutputPaths: + - "stderr" + lumberjack-config: + # 写日志的文件名称 + filename: "logs/artist_server.log" + # 每个日志文件长度的最大大小,单位是 MiB。默认 100MiB + maxSize: 10 + # 日志保留的最大天数(只保留最近多少天的日志) + maxAge: 15 + # 只保留最近多少个日志文件,用于控制程序总日志的大小 + maxBackups: 10 + # 是否使用本地时间,默认使用 UTC 时间 + localTime: true + # 是否压缩日志文件,压缩方法 gzip + compress: false \ No newline at end of file diff --git a/main.go b/main.go new file mode 100644 index 0000000..1bcfd6c --- /dev/null +++ b/main.go @@ -0,0 +1,243 @@ +package main + +import ( + "flag" + "fmt" + "io" + "io/ioutil" + "os" + "os/exec" + "path" +) + +type App struct { + DevImage string + Image string + Path string + CmdFile string + Doc string + Env string +} + +var serviceMap = map[string]App{ + "account": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/account:3.1", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/account:2.1", + Path: "D:\\project\\fonchain-account\\", + CmdFile: "D:\\project\\fonchain-account\\Dockerfile", + Doc: "D:\\project", + }, + "seller": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/seller:3.1", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/seller:2.1", + Path: "D:\\project\\seller-main\\", + CmdFile: "D:\\project\\seller-main\\Dockerfile", + Doc: "D:\\project", + }, + "task": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/task:3.1", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/task:2.1", + Path: "D:\\project\\fonchain-task_microservice\\", + CmdFile: "D:\\project\\fonchain-task_microservice\\Dockerfile", + Doc: "D:\\project", + }, + "auth": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/auth:3.2", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/auth:2.2", + Path: "D:\\project\\fonchain-auth\\", + CmdFile: "D:\\project\\fonchain-auth\\Dockerfile", + }, + "chain": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/chain:3.2", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/chain:2.2", + Path: "D:\\project\\fontree-chain_microservice\\", + CmdFile: "D:\\project\\fontree-chain_microservice\\Dockerfile", + Doc: "D:\\project", + }, + "mall": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/malltest:3.0", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/malltest:2.0", + Path: "D:\\project\\fonchain-main_mall\\", + CmdFile: "D:\\project\\fonchain-main_mall\\Dockerfile", + Doc: "D:\\project", + }, + "approval": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/approval:3.3", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/approval:2.3", + Path: "D:\\project\\fonchain-approval\\", + CmdFile: "D:\\project\\fonchain-approval\\Dockerfile", + Doc: "D:\\project", + }, + + "order": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/order:3.1", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/order:2.1", + Path: "D:\\project\\fonchain-order\\", + CmdFile: "D:\\project\\fonchain-order\\Dockerfile", + Doc: "D:\\project", + }, + "client": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/client:3.0", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/client:2.0", + Path: "C:\\Users\\user054\\Documents\\fonchain-main\\", + CmdFile: "C:\\Users\\user054\\Documents\\fonchain-main\\Dockerfile", + }, + "server": { + Image: "121.229.45.214:9006/main-server", + DevImage: "121.229.45.214:9006/main-server", + Path: "D:\\project\\fonchain-main\\", + CmdFile: "D:\\project\\fonchain-main\\Dockerfile", + Doc: "D:\\project", + }, + + "shop_mall": { + Image: "121.229.45.214:9006/shop-main-server", + DevImage: "121.229.45.214:9006/shop-main-server", + Path: "D:\\project\\shop-main\\", + CmdFile: "D:\\project\\shop-main\\Dockerfile", + Doc: "D:\\project", + }, + "shop": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/shop:3.0", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/shop:2.0", + Path: "D:\\project\\shop-main\\", + CmdFile: "D:\\project\\shop-main\\Dockerfile", + Doc: "D:\\project", + }, + "artist": { + Image: "registry.cn-hangzhou.aliyuncs.com/fontree/artistinfo:3.0", + DevImage: "registry.cn-hangzhou.aliyuncs.com/fontree/artistinfo:2.0", + Path: "D:\\code\\go\\src\\github.com\\fonchain\\fonchain-artistinfo\\", + CmdFile: "D:\\code\\go\\src\\github.com\\fonchain\\fonchain-artistinfo\\Dockerfile", + Doc: "D:\\code\\go\\src\\github.com\\fonchain", + }, +} + +func main() { + + //查询命令所在目录,可用于判断操作系统中是否能用该命令 + //docker build -f ./Dockerfile -t xxx . + //cmd中执行的命令:ffmpeg -i psg.flv test.mp4 + var name string + var image string + var env string + var envDir string + var appMap App + + fmt.Println("1--2-") + + flag.StringVar(&name, "n", "", "没有服务名称 auth approval account client") + flag.StringVar(&envDir, "e", "", "没有使用的配置文件信息 auth approval account client") + flag.Parse() + + fmt.Printf("---------------执行项目%s,使用配置文件%s\n", name, envDir) + _, ok := serviceMap[name] + + if ok == false { + fmt.Println("没有找对应项目项目") + return + } + + appMap = serviceMap[name] + if envDir == "test" { + env = "conf\\" + envDir + "\\" + image = appMap.DevImage + } else if envDir == "prod" { + env = "conf\\" + envDir + "\\" + image = appMap.Image + } else { + fmt.Println("没有配置配置文件") + return + } + + s, _ := GetAllFile(appMap.Path+env, []string{}) + fmt.Println(s) + for _, t := range s { + fmt.Println(t, path.Base(t)) + copyFile(t, appMap.Path+"conf\\"+path.Base(t)) + } + + fmt.Println("----------------------------0 配置文件拷贝成功") + + //构建 + var cmd *exec.Cmd + + if appMap.Doc == "" { + cmd = exec.Command("docker", "build", "-f", appMap.CmdFile, "-t", image, ".") + } else { + cmd = exec.Command("docker", "build", "-f", appMap.CmdFile, appMap.Doc, "-t", image) + } + + cmd.Dir = appMap.Path + /* + docker build -t registry.cn-hangzhou.aliyuncs.com/fontree/auth:2.2 . + docker push registry.cn-hangzhou.aliyuncs.com/fontree/account:2.1 + docker push registry.cn-hangzhou.aliyuncs.com/fontree/account:2.1 + */ + + //阻塞至等待命令执行完成 + fmt.Println(cmd.String()) + fmt.Println("1---------------", appMap.Path) + out, err1 := cmd.CombinedOutput() + + fmt.Printf("%s\n", out) + if err1 != nil { + fmt.Println(err1) + fmt.Println("结束") + return + } + + fmt.Println("------------------1 Success------------------") + + //成功则去执行docker push操作 + cmd2 := exec.Command("docker", "push", image) + out2, err2 := cmd2.CombinedOutput() + + fmt.Printf("%s\n", out2) + if err2 != nil { + fmt.Println(err1) + fmt.Println("结束") + return + } + + fmt.Println("------------------2 Success------------------") + + //开始重新构建xxx + +} + +func copyFile(old string, new string) bool { + op, err1 := os.Open(old) + of, err2 := os.Create(new) + if err1 != nil || err2 != nil { + fmt.Println("文件拷贝失败") + return false + } + defer op.Close() + defer of.Close() + _, err := io.Copy(of, op) + + if err != nil { + fmt.Println(err) + return false + } + return true +} + +func GetAllFile(pathname string, s []string) ([]string, error) { + rd, err := ioutil.ReadDir(pathname) + if err != nil { + fmt.Println("read dir fail:", err) + return s, err + } + + for _, fi := range rd { + if !fi.IsDir() { + fullName := pathname + "/" + fi.Name() + s = append(s, fullName) + } else { //是文件夹 + //s = append(s, ) + } + } + return s, nil +} diff --git a/pb/artistinfo/artistinfo.pb.go b/pb/artistinfo/artistinfo.pb.go index 5e6541a..b3ef335 100644 --- a/pb/artistinfo/artistinfo.pb.go +++ b/pb/artistinfo/artistinfo.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.9.0 -// source: api/artistinfo/artistinfo.proto +// source: pb/artistinfo/artistinfo.proto package artistinfo @@ -29,7 +29,7 @@ type UploadPicRequest struct { func (x *UploadPicRequest) Reset() { *x = UploadPicRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[0] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -42,7 +42,7 @@ func (x *UploadPicRequest) String() string { func (*UploadPicRequest) ProtoMessage() {} func (x *UploadPicRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[0] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -55,7 +55,7 @@ func (x *UploadPicRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadPicRequest.ProtoReflect.Descriptor instead. func (*UploadPicRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{0} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{0} } type UploadPicRespond struct { @@ -67,7 +67,7 @@ type UploadPicRespond struct { func (x *UploadPicRespond) Reset() { *x = UploadPicRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[1] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -80,7 +80,7 @@ func (x *UploadPicRespond) String() string { func (*UploadPicRespond) ProtoMessage() {} func (x *UploadPicRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[1] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -93,7 +93,7 @@ func (x *UploadPicRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadPicRespond.ProtoReflect.Descriptor instead. func (*UploadPicRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{1} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{1} } type UploadIdCardRequest struct { @@ -105,7 +105,7 @@ type UploadIdCardRequest struct { func (x *UploadIdCardRequest) Reset() { *x = UploadIdCardRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[2] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -118,7 +118,7 @@ func (x *UploadIdCardRequest) String() string { func (*UploadIdCardRequest) ProtoMessage() {} func (x *UploadIdCardRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[2] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -131,7 +131,7 @@ func (x *UploadIdCardRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadIdCardRequest.ProtoReflect.Descriptor instead. func (*UploadIdCardRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{2} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{2} } type UploadIdCardRespond struct { @@ -143,7 +143,7 @@ type UploadIdCardRespond struct { func (x *UploadIdCardRespond) Reset() { *x = UploadIdCardRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[3] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -156,7 +156,7 @@ func (x *UploadIdCardRespond) String() string { func (*UploadIdCardRespond) ProtoMessage() {} func (x *UploadIdCardRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[3] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -169,7 +169,62 @@ func (x *UploadIdCardRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadIdCardRespond.ProtoReflect.Descriptor instead. func (*UploadIdCardRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{3} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{3} +} + +type CheckMsgRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + TelNum string `protobuf:"bytes,1,opt,name=TelNum,proto3" json:"TelNum,omitempty"` + VerCode string `protobuf:"bytes,2,opt,name=VerCode,proto3" json:"VerCode,omitempty"` +} + +func (x *CheckMsgRequest) Reset() { + *x = CheckMsgRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *CheckMsgRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*CheckMsgRequest) ProtoMessage() {} + +func (x *CheckMsgRequest) ProtoReflect() protoreflect.Message { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[4] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use CheckMsgRequest.ProtoReflect.Descriptor instead. +func (*CheckMsgRequest) Descriptor() ([]byte, []int) { + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{4} +} + +func (x *CheckMsgRequest) GetTelNum() string { + if x != nil { + return x.TelNum + } + return "" +} + +func (x *CheckMsgRequest) GetVerCode() string { + if x != nil { + return x.VerCode + } + return "" } type RegisterUserRequest struct { @@ -186,7 +241,7 @@ type RegisterUserRequest struct { func (x *RegisterUserRequest) Reset() { *x = RegisterUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[4] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -199,7 +254,7 @@ func (x *RegisterUserRequest) String() string { func (*RegisterUserRequest) ProtoMessage() {} func (x *RegisterUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[4] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -212,7 +267,7 @@ func (x *RegisterUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterUserRequest.ProtoReflect.Descriptor instead. func (*RegisterUserRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{4} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{5} } func (x *RegisterUserRequest) GetId() uint64 { @@ -252,7 +307,7 @@ type RegisterUserRespond struct { func (x *RegisterUserRespond) Reset() { *x = RegisterUserRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[5] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -265,7 +320,7 @@ func (x *RegisterUserRespond) String() string { func (*RegisterUserRespond) ProtoMessage() {} func (x *RegisterUserRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[5] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -278,7 +333,7 @@ func (x *RegisterUserRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use RegisterUserRespond.ProtoReflect.Descriptor instead. func (*RegisterUserRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{5} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{6} } type GetUserRequest struct { @@ -292,7 +347,7 @@ type GetUserRequest struct { func (x *GetUserRequest) Reset() { *x = GetUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[6] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -305,7 +360,7 @@ func (x *GetUserRequest) String() string { func (*GetUserRequest) ProtoMessage() {} func (x *GetUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[6] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -318,7 +373,7 @@ func (x *GetUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserRequest.ProtoReflect.Descriptor instead. func (*GetUserRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{6} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{7} } func (x *GetUserRequest) GetTelNum() string { @@ -345,7 +400,7 @@ type GetUserRespond struct { func (x *GetUserRespond) Reset() { *x = GetUserRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[7] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -358,7 +413,7 @@ func (x *GetUserRespond) String() string { func (*GetUserRespond) ProtoMessage() {} func (x *GetUserRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[7] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -371,7 +426,7 @@ func (x *GetUserRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserRespond.ProtoReflect.Descriptor instead. func (*GetUserRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{7} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{8} } func (x *GetUserRespond) GetId() uint64 { @@ -434,7 +489,7 @@ type GetUserByIdRequest struct { func (x *GetUserByIdRequest) Reset() { *x = GetUserByIdRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[8] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -447,7 +502,7 @@ func (x *GetUserByIdRequest) String() string { func (*GetUserByIdRequest) ProtoMessage() {} func (x *GetUserByIdRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[8] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -460,7 +515,7 @@ func (x *GetUserByIdRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserByIdRequest.ProtoReflect.Descriptor instead. func (*GetUserByIdRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{8} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{9} } func (x *GetUserByIdRequest) GetId() uint64 { @@ -489,7 +544,7 @@ type GetUserByIdRespond struct { func (x *GetUserByIdRespond) Reset() { *x = GetUserByIdRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[9] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -502,7 +557,7 @@ func (x *GetUserByIdRespond) String() string { func (*GetUserByIdRespond) ProtoMessage() {} func (x *GetUserByIdRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[9] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -515,7 +570,7 @@ func (x *GetUserByIdRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserByIdRespond.ProtoReflect.Descriptor instead. func (*GetUserByIdRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{9} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{10} } func (x *GetUserByIdRespond) GetId() uint64 { @@ -616,7 +671,7 @@ type GetUserByIdData struct { func (x *GetUserByIdData) Reset() { *x = GetUserByIdData{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[10] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -629,7 +684,7 @@ func (x *GetUserByIdData) String() string { func (*GetUserByIdData) ProtoMessage() {} func (x *GetUserByIdData) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[10] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -642,7 +697,7 @@ func (x *GetUserByIdData) ProtoReflect() protoreflect.Message { // Deprecated: Use GetUserByIdData.ProtoReflect.Descriptor instead. func (*GetUserByIdData) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{10} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{11} } func (x *GetUserByIdData) GetTelNum() string { @@ -832,7 +887,7 @@ type CreateUserRequest struct { func (x *CreateUserRequest) Reset() { *x = CreateUserRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[11] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -845,7 +900,7 @@ func (x *CreateUserRequest) String() string { func (*CreateUserRequest) ProtoMessage() {} func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[11] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -858,7 +913,7 @@ func (x *CreateUserRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserRequest.ProtoReflect.Descriptor instead. func (*CreateUserRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{11} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{12} } func (x *CreateUserRequest) GetId() uint64 { @@ -884,7 +939,7 @@ type CreateUserRespond struct { func (x *CreateUserRespond) Reset() { *x = CreateUserRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[12] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -897,7 +952,7 @@ func (x *CreateUserRespond) String() string { func (*CreateUserRespond) ProtoMessage() {} func (x *CreateUserRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[12] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -910,7 +965,7 @@ func (x *CreateUserRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserRespond.ProtoReflect.Descriptor instead. func (*CreateUserRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{12} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{13} } type CreateUserInfoRequest struct { @@ -948,7 +1003,7 @@ type CreateUserInfoRequest struct { func (x *CreateUserInfoRequest) Reset() { *x = CreateUserInfoRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[13] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -961,7 +1016,7 @@ func (x *CreateUserInfoRequest) String() string { func (*CreateUserInfoRequest) ProtoMessage() {} func (x *CreateUserInfoRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[13] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -974,7 +1029,7 @@ func (x *CreateUserInfoRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserInfoRequest.ProtoReflect.Descriptor instead. func (*CreateUserInfoRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{13} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{14} } func (x *CreateUserInfoRequest) GetTelNum() string { @@ -1161,7 +1216,7 @@ type CreateUserInfoRespond struct { func (x *CreateUserInfoRespond) Reset() { *x = CreateUserInfoRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[14] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1174,7 +1229,7 @@ func (x *CreateUserInfoRespond) String() string { func (*CreateUserInfoRespond) ProtoMessage() {} func (x *CreateUserInfoRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[14] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1187,7 +1242,7 @@ func (x *CreateUserInfoRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use CreateUserInfoRespond.ProtoReflect.Descriptor instead. func (*CreateUserInfoRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{14} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{15} } type UpdateRealNameRequest struct { @@ -1201,7 +1256,7 @@ type UpdateRealNameRequest struct { func (x *UpdateRealNameRequest) Reset() { *x = UpdateRealNameRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[15] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1214,7 +1269,7 @@ func (x *UpdateRealNameRequest) String() string { func (*UpdateRealNameRequest) ProtoMessage() {} func (x *UpdateRealNameRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[15] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1227,7 +1282,7 @@ func (x *UpdateRealNameRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRealNameRequest.ProtoReflect.Descriptor instead. func (*UpdateRealNameRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{15} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{16} } func (x *UpdateRealNameRequest) GetId() uint64 { @@ -1246,7 +1301,7 @@ type UpdateRealNameRespond struct { func (x *UpdateRealNameRespond) Reset() { *x = UpdateRealNameRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[16] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1259,7 +1314,7 @@ func (x *UpdateRealNameRespond) String() string { func (*UpdateRealNameRespond) ProtoMessage() {} func (x *UpdateRealNameRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[16] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1272,7 +1327,7 @@ func (x *UpdateRealNameRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateRealNameRespond.ProtoReflect.Descriptor instead. func (*UpdateRealNameRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{16} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{17} } type FinishVerifyRequest struct { @@ -1286,7 +1341,7 @@ type FinishVerifyRequest struct { func (x *FinishVerifyRequest) Reset() { *x = FinishVerifyRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[17] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1299,7 +1354,7 @@ func (x *FinishVerifyRequest) String() string { func (*FinishVerifyRequest) ProtoMessage() {} func (x *FinishVerifyRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[17] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1312,7 +1367,7 @@ func (x *FinishVerifyRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use FinishVerifyRequest.ProtoReflect.Descriptor instead. func (*FinishVerifyRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{17} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{18} } func (x *FinishVerifyRequest) GetId() uint64 { @@ -1331,7 +1386,7 @@ type FinishVerifyRespond struct { func (x *FinishVerifyRespond) Reset() { *x = FinishVerifyRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[18] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1344,7 +1399,7 @@ func (x *FinishVerifyRespond) String() string { func (*FinishVerifyRespond) ProtoMessage() {} func (x *FinishVerifyRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[18] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1357,7 +1412,7 @@ func (x *FinishVerifyRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use FinishVerifyRespond.ProtoReflect.Descriptor instead. func (*FinishVerifyRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{18} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{19} } type CheckUserLockRequest struct { @@ -1371,7 +1426,7 @@ type CheckUserLockRequest struct { func (x *CheckUserLockRequest) Reset() { *x = CheckUserLockRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[19] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1384,7 +1439,7 @@ func (x *CheckUserLockRequest) String() string { func (*CheckUserLockRequest) ProtoMessage() {} func (x *CheckUserLockRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[19] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1397,7 +1452,7 @@ func (x *CheckUserLockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckUserLockRequest.ProtoReflect.Descriptor instead. func (*CheckUserLockRequest) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{19} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{20} } func (x *CheckUserLockRequest) GetID() uint64 { @@ -1416,7 +1471,7 @@ type CheckUserLockRespond struct { func (x *CheckUserLockRespond) Reset() { *x = CheckUserLockRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[20] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1429,7 +1484,7 @@ func (x *CheckUserLockRespond) String() string { func (*CheckUserLockRespond) ProtoMessage() {} func (x *CheckUserLockRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artistinfo_artistinfo_proto_msgTypes[20] + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1442,305 +1497,877 @@ func (x *CheckUserLockRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckUserLockRespond.ProtoReflect.Descriptor instead. func (*CheckUserLockRespond) Descriptor() ([]byte, []int) { - return file_api_artistinfo_artistinfo_proto_rawDescGZIP(), []int{20} + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{21} } -var File_api_artistinfo_artistinfo_proto protoreflect.FileDescriptor +type ArtistSupplyListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -var file_api_artistinfo_artistinfo_proto_rawDesc = []byte{ - 0x0a, 0x1f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, - 0x2f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x12, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x12, 0x0a, - 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x22, 0x12, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, - 0x64, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x64, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, - 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x4d, - 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0x15, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, 0x73, - 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x28, - 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0xc8, 0x01, 0x0a, 0x0e, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, - 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, - 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, - 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x4d, - 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, - 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x46, 0x64, 0x64, - 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x49, 0x73, 0x46, 0x64, 0x64, 0x12, 0x1e, 0x0a, - 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x75, - 0x6c, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, - 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, - 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x22, 0x8e, 0x02, 0x0a, 0x12, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, - 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, - 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, - 0x49, 0x73, 0x46, 0x64, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x49, 0x73, 0x46, - 0x64, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, - 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, - 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, - 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x22, 0xeb, 0x05, 0x0a, 0x0f, 0x47, - 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x44, 0x61, 0x74, 0x61, 0x12, 0x16, - 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x74, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, - 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, - 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x26, - 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x4a, 0x6f, 0x69, 0x6e, 0x41, 0x73, - 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, - 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, - 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, - 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x65, 0x6e, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, - 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, - 0x12, 0x16, 0x0a, 0x06, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x06, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x64, 0x43, 0x61, - 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, - 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x64, - 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67, - 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x75, 0x6c, - 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, - 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, - 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, - 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x12, 0x1a, - 0x0a, 0x08, 0x46, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, - 0x52, 0x08, 0x66, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x75, - 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, - 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, - 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, - 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, - 0x0a, 0x09, 0x57, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x09, 0x77, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x09, - 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x06, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x51, 0x72, 0x43, 0x6f, 0x64, - 0x65, 0x49, 0x6d, 0x67, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x17, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0e, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, - 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x18, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3b, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, - 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, - 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, - 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, - 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0xf1, 0x05, 0x0a, 0x15, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, + ArtistId string `protobuf:"bytes,1,opt,name=ArtistId,proto3" json:"ArtistId,omitempty"` + Name string `protobuf:"bytes,2,opt,name=Name,proto3" json:"Name,omitempty"` + ArtistName string `protobuf:"bytes,3,opt,name=ArtistName,proto3" json:"ArtistName,omitempty"` + InvitedName string `protobuf:"bytes,4,opt,name=InvitedName,proto3" json:"InvitedName,omitempty"` + IsImport uint64 `protobuf:"varint,5,opt,name=IsImport,proto3" json:"IsImport,omitempty"` + State uint64 `protobuf:"varint,6,opt,name=State,proto3" json:"State,omitempty"` + Page uint64 `protobuf:"varint,7,opt,name=Page,proto3" json:"Page,omitempty"` + PageSize uint64 `protobuf:"varint,8,opt,name=PageSize,proto3" json:"PageSize,omitempty"` +} + +func (x *ArtistSupplyListRequest) Reset() { + *x = ArtistSupplyListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[22] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistSupplyListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistSupplyListRequest) ProtoMessage() {} + +func (x *ArtistSupplyListRequest) ProtoReflect() protoreflect.Message { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[22] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArtistSupplyListRequest.ProtoReflect.Descriptor instead. +func (*ArtistSupplyListRequest) Descriptor() ([]byte, []int) { + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{22} +} + +func (x *ArtistSupplyListRequest) GetArtistId() string { + if x != nil { + return x.ArtistId + } + return "" +} + +func (x *ArtistSupplyListRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ArtistSupplyListRequest) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *ArtistSupplyListRequest) GetInvitedName() string { + if x != nil { + return x.InvitedName + } + return "" +} + +func (x *ArtistSupplyListRequest) GetIsImport() uint64 { + if x != nil { + return x.IsImport + } + return 0 +} + +func (x *ArtistSupplyListRequest) GetState() uint64 { + if x != nil { + return x.State + } + return 0 +} + +func (x *ArtistSupplyListRequest) GetPage() uint64 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *ArtistSupplyListRequest) GetPageSize() uint64 { + if x != nil { + return x.PageSize + } + return 0 +} + +type ArtistSupplyListRespond struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Count uint64 `protobuf:"varint,1,opt,name=Count,proto3" json:"Count,omitempty"` + Data []*ArtistArtworkSupplyListResponseData `protobuf:"bytes,2,rep,name=Data,proto3" json:"Data,omitempty"` +} + +func (x *ArtistSupplyListRespond) Reset() { + *x = ArtistSupplyListRespond{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[23] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistSupplyListRespond) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistSupplyListRespond) ProtoMessage() {} + +func (x *ArtistSupplyListRespond) ProtoReflect() protoreflect.Message { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[23] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArtistSupplyListRespond.ProtoReflect.Descriptor instead. +func (*ArtistSupplyListRespond) Descriptor() ([]byte, []int) { + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{23} +} + +func (x *ArtistSupplyListRespond) GetCount() uint64 { + if x != nil { + return x.Count + } + return 0 +} + +func (x *ArtistSupplyListRespond) GetData() []*ArtistArtworkSupplyListResponseData { + if x != nil { + return x.Data + } + return nil +} + +type ArtistArtworkSupplyListResponseData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` + Account string `protobuf:"bytes,2,opt,name=Account,proto3" json:"Account,omitempty"` + PassRulerCount uint64 `protobuf:"varint,3,opt,name=PassRulerCount,proto3" json:"PassRulerCount,omitempty"` + MnemonicWords string `protobuf:"bytes,4,opt,name=MnemonicWords,proto3" json:"MnemonicWords,omitempty"` + TelNum string `protobuf:"bytes,5,opt,name=TelNum,proto3" json:"TelNum,omitempty"` + PassArtworkCount uint64 `protobuf:"varint,6,opt,name=PassArtworkCount,proto3" json:"PassArtworkCount,omitempty"` + Name string `protobuf:"bytes,7,opt,name=Name,proto3" json:"Name,omitempty"` + PenName string `protobuf:"bytes,8,opt,name=PenName,proto3" json:"PenName,omitempty"` + Certificate string `protobuf:"bytes,9,opt,name=Certificate,proto3" json:"Certificate,omitempty"` + CertificateImg string `protobuf:"bytes,10,opt,name=CertificateImg,proto3" json:"CertificateImg,omitempty"` + Key string `protobuf:"bytes,11,opt,name=Key,proto3" json:"Key,omitempty"` + Sex uint64 `protobuf:"varint,12,opt,name=Sex,proto3" json:"Sex,omitempty"` + Age uint64 `protobuf:"varint,13,opt,name=Age,proto3" json:"Age,omitempty"` + Introduct string `protobuf:"bytes,14,opt,name=Introduct,proto3" json:"Introduct,omitempty"` + CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,proto3" json:"CreateTime,omitempty"` + JoinAssoTime string `protobuf:"bytes,16,opt,name=JoinAssoTime,proto3" json:"JoinAssoTime,omitempty"` + StageName string `protobuf:"bytes,17,opt,name=StageName,proto3" json:"StageName,omitempty"` + UpdateTime string `protobuf:"bytes,18,opt,name=UpdateTime,proto3" json:"UpdateTime,omitempty"` + ConAddress string `protobuf:"bytes,19,opt,name=ConAddress,proto3" json:"ConAddress,omitempty"` + Photo string `protobuf:"bytes,20,opt,name=Photo,proto3" json:"Photo,omitempty"` + Video string `protobuf:"bytes,21,opt,name=Video,proto3" json:"Video,omitempty"` + InvitedName string `protobuf:"bytes,22,opt,name=InvitedName,proto3" json:"InvitedName,omitempty"` + Enable bool `protobuf:"varint,23,opt,name=Enable,proto3" json:"Enable,omitempty"` + IdCard string `protobuf:"bytes,24,opt,name=IdCard,proto3" json:"IdCard,omitempty"` + IsImport uint64 `protobuf:"varint,25,opt,name=IsImport,proto3" json:"IsImport,omitempty"` + IsLock bool `protobuf:"varint,26,opt,name=IsLock,proto3" json:"IsLock,omitempty"` + IdCardFront string `protobuf:"bytes,27,opt,name=IdCardFront,proto3" json:"IdCardFront,omitempty"` + IdCardBack string `protobuf:"bytes,28,opt,name=IdCardBack,proto3" json:"IdCardBack,omitempty"` + BankName string `protobuf:"bytes,29,opt,name=BankName,proto3" json:"BankName,omitempty"` + BankAccount string `protobuf:"bytes,30,opt,name=BankAccount,proto3" json:"BankAccount,omitempty"` + MinTime string `protobuf:"bytes,31,opt,name=MinTime,proto3" json:"MinTime,omitempty"` + LockTime string `protobuf:"bytes,32,opt,name=LockTime,proto3" json:"LockTime,omitempty"` + ArtworkCount uint64 `protobuf:"varint,33,opt,name=ArtworkCount,proto3" json:"ArtworkCount,omitempty"` + RulerCount uint64 `protobuf:"varint,34,opt,name=RulerCount,proto3" json:"RulerCount,omitempty"` +} + +func (x *ArtistArtworkSupplyListResponseData) Reset() { + *x = ArtistArtworkSupplyListResponseData{} + if protoimpl.UnsafeEnabled { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[24] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ArtistArtworkSupplyListResponseData) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ArtistArtworkSupplyListResponseData) ProtoMessage() {} + +func (x *ArtistArtworkSupplyListResponseData) ProtoReflect() protoreflect.Message { + mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[24] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ArtistArtworkSupplyListResponseData.ProtoReflect.Descriptor instead. +func (*ArtistArtworkSupplyListResponseData) Descriptor() ([]byte, []int) { + return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{24} +} + +func (x *ArtistArtworkSupplyListResponseData) GetID() string { + if x != nil { + return x.ID + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetAccount() string { + if x != nil { + return x.Account + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetPassRulerCount() uint64 { + if x != nil { + return x.PassRulerCount + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetMnemonicWords() string { + if x != nil { + return x.MnemonicWords + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetTelNum() string { + if x != nil { + return x.TelNum + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetPassArtworkCount() uint64 { + if x != nil { + return x.PassArtworkCount + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetPenName() string { + if x != nil { + return x.PenName + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetCertificate() string { + if x != nil { + return x.Certificate + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetCertificateImg() string { + if x != nil { + return x.CertificateImg + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetKey() string { + if x != nil { + return x.Key + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetSex() uint64 { + if x != nil { + return x.Sex + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetAge() uint64 { + if x != nil { + return x.Age + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetIntroduct() string { + if x != nil { + return x.Introduct + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetCreateTime() string { + if x != nil { + return x.CreateTime + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetJoinAssoTime() string { + if x != nil { + return x.JoinAssoTime + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetStageName() string { + if x != nil { + return x.StageName + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetUpdateTime() string { + if x != nil { + return x.UpdateTime + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetConAddress() string { + if x != nil { + return x.ConAddress + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetPhoto() string { + if x != nil { + return x.Photo + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetVideo() string { + if x != nil { + return x.Video + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetInvitedName() string { + if x != nil { + return x.InvitedName + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetEnable() bool { + if x != nil { + return x.Enable + } + return false +} + +func (x *ArtistArtworkSupplyListResponseData) GetIdCard() string { + if x != nil { + return x.IdCard + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetIsImport() uint64 { + if x != nil { + return x.IsImport + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetIsLock() bool { + if x != nil { + return x.IsLock + } + return false +} + +func (x *ArtistArtworkSupplyListResponseData) GetIdCardFront() string { + if x != nil { + return x.IdCardFront + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetIdCardBack() string { + if x != nil { + return x.IdCardBack + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetBankName() string { + if x != nil { + return x.BankName + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetBankAccount() string { + if x != nil { + return x.BankAccount + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetMinTime() string { + if x != nil { + return x.MinTime + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetLockTime() string { + if x != nil { + return x.LockTime + } + return "" +} + +func (x *ArtistArtworkSupplyListResponseData) GetArtworkCount() uint64 { + if x != nil { + return x.ArtworkCount + } + return 0 +} + +func (x *ArtistArtworkSupplyListResponseData) GetRulerCount() uint64 { + if x != nil { + return x.RulerCount + } + return 0 +} + +var File_pb_artistinfo_artistinfo_proto protoreflect.FileDescriptor + +var file_pb_artistinfo_artistinfo_proto_rawDesc = []byte{ + 0x0a, 0x1e, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2f, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x12, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x12, 0x0a, 0x10, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x22, 0x12, 0x0a, 0x10, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, + 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x15, 0x0a, 0x13, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x64, 0x22, 0x43, 0x0a, 0x0f, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x4d, 0x73, 0x67, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x18, 0x0a, + 0x07, 0x56, 0x65, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x56, 0x65, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x81, 0x01, 0x0a, 0x13, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, + 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, + 0x1e, 0x0a, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x22, 0x0a, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0x15, 0x0a, 0x13, 0x52, + 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x64, 0x22, 0x28, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, - 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, - 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, - 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, - 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x12, 0x22, 0x0a, 0x0c, - 0x4a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x50, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, - 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, - 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, - 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x12, 0x20, - 0x0a, 0x0b, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, - 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x18, 0x0b, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, - 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, - 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x41, - 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, - 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, - 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, - 0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, - 0x69, 0x64, 0x65, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x18, 0x12, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, - 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, - 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, - 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, - 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x09, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x18, - 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, - 0x11, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, - 0x61, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c, - 0x54, 0x79, 0x70, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x6d, 0x6c, - 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x18, - 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x22, 0x17, - 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, - 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, - 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x25, 0x0a, 0x13, 0x46, 0x69, 0x6e, - 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, - 0x22, 0x15, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, - 0x16, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0xc2, 0x06, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, 0x0a, 0x09, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, - 0x50, 0x69, 0x63, 0x12, 0x1c, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, - 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, - 0x00, 0x12, 0x52, 0x0a, 0x0c, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, - 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, - 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, - 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, - 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x43, 0x0a, 0x07, 0x47, 0x65, 0x74, - 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, - 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1a, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, - 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4f, - 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x2e, - 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, - 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, - 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, - 0x4c, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, - 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, - 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x58, 0x0a, - 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, - 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, - 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, - 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, - 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, - 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, - 0x00, 0x12, 0x52, 0x0a, 0x0c, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, - 0x79, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x46, - 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, - 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, - 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, - 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, - 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x42, 0x0f, 0x5a, 0x0d, - 0x2e, 0x2f, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x06, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0xc8, 0x01, 0x0a, + 0x0e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, + 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x12, + 0x1e, 0x0a, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, + 0x22, 0x0a, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x14, 0x0a, 0x05, 0x49, + 0x73, 0x46, 0x64, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x49, 0x73, 0x46, 0x64, + 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, + 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x22, 0x24, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, + 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, 0x64, 0x22, 0x8e, 0x02, + 0x0a, 0x12, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0a, 0x4d, 0x67, 0x6d, 0x74, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0c, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x49, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4d, 0x67, 0x6d, 0x74, + 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, + 0x75, 0x6d, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, + 0x12, 0x14, 0x0a, 0x05, 0x49, 0x73, 0x46, 0x64, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x49, 0x73, 0x46, 0x64, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x73, 0x52, 0x65, 0x61, 0x6c, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x49, 0x73, 0x52, 0x65, + 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1e, + 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x18, 0x09, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x22, 0xeb, + 0x05, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x44, 0x61, + 0x74, 0x61, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, + 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, + 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x65, 0x49, 0x6d, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x12, 0x22, 0x0a, 0x0c, 0x4a, 0x6f, + 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x65, + 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x65, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, + 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x18, 0x09, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, + 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x12, 0x1e, + 0x0a, 0x0a, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x12, 0x10, + 0x0a, 0x03, 0x41, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x41, 0x64, 0x64, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x41, + 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, + 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x69, 0x64, + 0x65, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x11, + 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x64, 0x64, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, + 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, + 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, + 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, + 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, + 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x78, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, + 0x12, 0x19, 0x0a, 0x09, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x18, 0x16, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x29, 0x0a, 0x11, 0x51, + 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x71, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x48, 0x74, 0x6d, 0x6c, 0x54, 0x79, + 0x70, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x68, 0x74, 0x6d, 0x6c, 0x54, 0x79, + 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x22, 0x3b, 0x0a, 0x11, + 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x49, + 0x64, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x22, 0x13, 0x0a, 0x11, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0xf1, + 0x05, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, + 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, + 0x75, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x65, 0x6c, 0x4e, 0x75, 0x6d, + 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, + 0x75, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x4e, 0x75, 0x6d, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0e, 0x63, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, + 0x12, 0x22, 0x0a, 0x0c, 0x4a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, + 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, + 0x12, 0x18, 0x0a, 0x07, 0x50, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x65, 0x6e, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, + 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, + 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, + 0x08, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x73, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x64, + 0x43, 0x61, 0x72, 0x64, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x69, 0x64, 0x43, 0x61, + 0x72, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, + 0x74, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, + 0x72, 0x6f, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x42, 0x61, + 0x63, 0x6b, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x69, 0x64, 0x43, 0x61, 0x72, 0x64, + 0x42, 0x61, 0x63, 0x6b, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, + 0x05, 0x52, 0x03, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, + 0x0d, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1e, 0x0a, 0x0a, + 0x43, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x0e, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x0a, 0x63, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, + 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, + 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x18, 0x10, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x05, 0x76, 0x69, 0x64, 0x65, 0x6f, 0x12, 0x1a, 0x0a, 0x08, 0x46, 0x64, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x66, 0x64, 0x64, 0x53, + 0x74, 0x61, 0x74, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x65, 0x72, + 0x49, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, + 0x65, 0x72, 0x49, 0x64, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, + 0x6f, 0x64, 0x65, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, + 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x14, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x57, 0x78, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x77, 0x78, 0x41, + 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x19, 0x0a, 0x09, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, + 0x49, 0x6d, 0x67, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x71, 0x72, 0x43, 0x6f, 0x64, + 0x65, 0x12, 0x29, 0x0a, 0x11, 0x51, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x49, 0x6d, 0x67, 0x44, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x17, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x71, 0x72, + 0x43, 0x6f, 0x64, 0x65, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x48, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, + 0x68, 0x74, 0x6d, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x45, 0x6e, 0x76, 0x54, + 0x79, 0x70, 0x65, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, + 0x70, 0x65, 0x22, 0x17, 0x0a, 0x15, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, + 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x49, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, + 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x25, 0x0a, + 0x13, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x02, 0x49, 0x64, 0x22, 0x15, 0x0a, 0x13, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x43, + 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, + 0x02, 0x69, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, + 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0xed, 0x01, 0x0a, 0x17, + 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x41, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, + 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x49, 0x6e, + 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x49, + 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x49, 0x73, 0x49, + 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, + 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x50, 0x61, 0x67, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x22, 0x74, 0x0a, 0x17, 0x41, + 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x43, 0x0a, 0x04, + 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x52, 0x04, 0x44, 0x61, 0x74, + 0x61, 0x22, 0xfb, 0x07, 0x0a, 0x23, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x44, 0x61, 0x74, 0x61, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x18, 0x0a, 0x07, 0x41, 0x63, 0x63, + 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x41, 0x63, 0x63, 0x6f, + 0x75, 0x6e, 0x74, 0x12, 0x26, 0x0a, 0x0e, 0x50, 0x61, 0x73, 0x73, 0x52, 0x75, 0x6c, 0x65, 0x72, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x0e, 0x50, 0x61, 0x73, + 0x73, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x4d, + 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0d, 0x4d, 0x6e, 0x65, 0x6d, 0x6f, 0x6e, 0x69, 0x63, 0x57, 0x6f, 0x72, 0x64, + 0x73, 0x12, 0x16, 0x0a, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x06, 0x54, 0x65, 0x6c, 0x4e, 0x75, 0x6d, 0x12, 0x2a, 0x0a, 0x10, 0x50, 0x61, 0x73, + 0x73, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x10, 0x50, 0x61, 0x73, 0x73, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x50, 0x65, 0x6e, + 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x50, 0x65, 0x6e, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, + 0x74, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, + 0x69, 0x63, 0x61, 0x74, 0x65, 0x12, 0x26, 0x0a, 0x0e, 0x43, 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, + 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x43, + 0x65, 0x72, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x65, 0x49, 0x6d, 0x67, 0x12, 0x10, 0x0a, + 0x03, 0x4b, 0x65, 0x79, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x4b, 0x65, 0x79, 0x12, + 0x10, 0x0a, 0x03, 0x53, 0x65, 0x78, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x53, 0x65, + 0x78, 0x12, 0x10, 0x0a, 0x03, 0x41, 0x67, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, + 0x41, 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, + 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, 0x65, 0x18, + 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x4a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, 0x6f, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x4a, 0x6f, 0x69, 0x6e, 0x41, 0x73, 0x73, + 0x6f, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x53, 0x74, 0x61, 0x67, 0x65, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x69, 0x6d, + 0x65, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, + 0x69, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x43, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x43, 0x6f, 0x6e, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x14, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x56, 0x69, 0x64, + 0x65, 0x6f, 0x18, 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x56, 0x69, 0x64, 0x65, 0x6f, 0x12, + 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x16, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x16, 0x0a, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x17, 0x20, 0x01, 0x28, + 0x08, 0x52, 0x06, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x64, 0x43, + 0x61, 0x72, 0x64, 0x18, 0x18, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x49, 0x64, 0x43, 0x61, 0x72, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x49, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x19, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x08, 0x49, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x16, 0x0a, + 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, + 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x46, + 0x72, 0x6f, 0x6e, 0x74, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x49, 0x64, 0x43, 0x61, + 0x72, 0x64, 0x46, 0x72, 0x6f, 0x6e, 0x74, 0x12, 0x1e, 0x0a, 0x0a, 0x49, 0x64, 0x43, 0x61, 0x72, + 0x64, 0x42, 0x61, 0x63, 0x6b, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x49, 0x64, 0x43, + 0x61, 0x72, 0x64, 0x42, 0x61, 0x63, 0x6b, 0x12, 0x1a, 0x0a, 0x08, 0x42, 0x61, 0x6e, 0x6b, 0x4e, + 0x61, 0x6d, 0x65, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x42, 0x61, 0x6e, 0x6b, 0x4e, + 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x41, 0x63, 0x63, 0x6f, 0x75, + 0x6e, 0x74, 0x18, 0x1e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x42, 0x61, 0x6e, 0x6b, 0x41, 0x63, + 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x4d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, + 0x18, 0x1f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x4d, 0x69, 0x6e, 0x54, 0x69, 0x6d, 0x65, 0x12, + 0x1a, 0x0a, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x18, 0x20, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x4c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x21, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x0c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, + 0x1e, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x22, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x32, + 0xa2, 0x07, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x49, + 0x0a, 0x09, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, 0x12, 0x1c, 0x2e, 0x61, 0x72, + 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, + 0x69, 0x63, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x69, 0x63, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0c, 0x55, 0x70, 0x6c, + 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, 0x61, 0x72, 0x64, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, 0x43, + 0x61, 0x72, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x49, 0x64, + 0x43, 0x61, 0x72, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x52, 0x0a, + 0x0c, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1f, 0x2e, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, + 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, + 0x73, 0x74, 0x65, 0x72, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, + 0x00, 0x12, 0x43, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1a, 0x2e, 0x61, + 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0b, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, + 0x72, 0x42, 0x79, 0x49, 0x64, 0x12, 0x1e, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, + 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, + 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x42, 0x79, 0x49, 0x64, 0x52, 0x65, + 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, + 0x65, 0x55, 0x73, 0x65, 0x72, 0x12, 0x1d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, + 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, + 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x58, 0x0a, 0x0e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, + 0x73, 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, 0x65, 0x72, 0x49, + 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x55, 0x73, + 0x65, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, + 0x58, 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, + 0x65, 0x12, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, + 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, + 0x6f, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x52, 0x65, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0c, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, 0x72, + 0x69, 0x66, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x56, 0x65, + 0x72, 0x69, 0x66, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x55, 0x0a, + 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x20, + 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x20, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, + 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x64, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x10, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x75, + 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x53, 0x75, 0x70, 0x70, + 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x23, 0x2e, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x53, 0x75, 0x70, 0x70, 0x6c, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x64, 0x22, 0x00, 0x42, 0x0f, 0x5a, 0x0d, 0x2e, 0x2f, 0x3b, 0x61, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( - file_api_artistinfo_artistinfo_proto_rawDescOnce sync.Once - file_api_artistinfo_artistinfo_proto_rawDescData = file_api_artistinfo_artistinfo_proto_rawDesc + file_pb_artistinfo_artistinfo_proto_rawDescOnce sync.Once + file_pb_artistinfo_artistinfo_proto_rawDescData = file_pb_artistinfo_artistinfo_proto_rawDesc ) -func file_api_artistinfo_artistinfo_proto_rawDescGZIP() []byte { - file_api_artistinfo_artistinfo_proto_rawDescOnce.Do(func() { - file_api_artistinfo_artistinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_artistinfo_artistinfo_proto_rawDescData) +func file_pb_artistinfo_artistinfo_proto_rawDescGZIP() []byte { + file_pb_artistinfo_artistinfo_proto_rawDescOnce.Do(func() { + file_pb_artistinfo_artistinfo_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artistinfo_artistinfo_proto_rawDescData) }) - return file_api_artistinfo_artistinfo_proto_rawDescData + return file_pb_artistinfo_artistinfo_proto_rawDescData } -var file_api_artistinfo_artistinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 21) -var file_api_artistinfo_artistinfo_proto_goTypes = []interface{}{ - (*UploadPicRequest)(nil), // 0: artistinfo.UploadPicRequest - (*UploadPicRespond)(nil), // 1: artistinfo.UploadPicRespond - (*UploadIdCardRequest)(nil), // 2: artistinfo.UploadIdCardRequest - (*UploadIdCardRespond)(nil), // 3: artistinfo.UploadIdCardRespond - (*RegisterUserRequest)(nil), // 4: artistinfo.RegisterUserRequest - (*RegisterUserRespond)(nil), // 5: artistinfo.RegisterUserRespond - (*GetUserRequest)(nil), // 6: artistinfo.GetUserRequest - (*GetUserRespond)(nil), // 7: artistinfo.GetUserRespond - (*GetUserByIdRequest)(nil), // 8: artistinfo.GetUserByIdRequest - (*GetUserByIdRespond)(nil), // 9: artistinfo.GetUserByIdRespond - (*GetUserByIdData)(nil), // 10: artistinfo.GetUserByIdData - (*CreateUserRequest)(nil), // 11: artistinfo.CreateUserRequest - (*CreateUserRespond)(nil), // 12: artistinfo.CreateUserRespond - (*CreateUserInfoRequest)(nil), // 13: artistinfo.CreateUserInfoRequest - (*CreateUserInfoRespond)(nil), // 14: artistinfo.CreateUserInfoRespond - (*UpdateRealNameRequest)(nil), // 15: artistinfo.UpdateRealNameRequest - (*UpdateRealNameRespond)(nil), // 16: artistinfo.UpdateRealNameRespond - (*FinishVerifyRequest)(nil), // 17: artistinfo.FinishVerifyRequest - (*FinishVerifyRespond)(nil), // 18: artistinfo.FinishVerifyRespond - (*CheckUserLockRequest)(nil), // 19: artistinfo.CheckUserLockRequest - (*CheckUserLockRespond)(nil), // 20: artistinfo.CheckUserLockRespond +var file_pb_artistinfo_artistinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 25) +var file_pb_artistinfo_artistinfo_proto_goTypes = []interface{}{ + (*UploadPicRequest)(nil), // 0: artistinfo.UploadPicRequest + (*UploadPicRespond)(nil), // 1: artistinfo.UploadPicRespond + (*UploadIdCardRequest)(nil), // 2: artistinfo.UploadIdCardRequest + (*UploadIdCardRespond)(nil), // 3: artistinfo.UploadIdCardRespond + (*CheckMsgRequest)(nil), // 4: artistinfo.CheckMsgRequest + (*RegisterUserRequest)(nil), // 5: artistinfo.RegisterUserRequest + (*RegisterUserRespond)(nil), // 6: artistinfo.RegisterUserRespond + (*GetUserRequest)(nil), // 7: artistinfo.GetUserRequest + (*GetUserRespond)(nil), // 8: artistinfo.GetUserRespond + (*GetUserByIdRequest)(nil), // 9: artistinfo.GetUserByIdRequest + (*GetUserByIdRespond)(nil), // 10: artistinfo.GetUserByIdRespond + (*GetUserByIdData)(nil), // 11: artistinfo.GetUserByIdData + (*CreateUserRequest)(nil), // 12: artistinfo.CreateUserRequest + (*CreateUserRespond)(nil), // 13: artistinfo.CreateUserRespond + (*CreateUserInfoRequest)(nil), // 14: artistinfo.CreateUserInfoRequest + (*CreateUserInfoRespond)(nil), // 15: artistinfo.CreateUserInfoRespond + (*UpdateRealNameRequest)(nil), // 16: artistinfo.UpdateRealNameRequest + (*UpdateRealNameRespond)(nil), // 17: artistinfo.UpdateRealNameRespond + (*FinishVerifyRequest)(nil), // 18: artistinfo.FinishVerifyRequest + (*FinishVerifyRespond)(nil), // 19: artistinfo.FinishVerifyRespond + (*CheckUserLockRequest)(nil), // 20: artistinfo.CheckUserLockRequest + (*CheckUserLockRespond)(nil), // 21: artistinfo.CheckUserLockRespond + (*ArtistSupplyListRequest)(nil), // 22: artistinfo.ArtistSupplyListRequest + (*ArtistSupplyListRespond)(nil), // 23: artistinfo.ArtistSupplyListRespond + (*ArtistArtworkSupplyListResponseData)(nil), // 24: artistinfo.ArtistArtworkSupplyListResponseData } -var file_api_artistinfo_artistinfo_proto_depIdxs = []int32{ - 0, // 0: artistinfo.ArtistInfo.UploadPic:input_type -> artistinfo.UploadPicRequest - 2, // 1: artistinfo.ArtistInfo.UploadIdCard:input_type -> artistinfo.UploadIdCardRequest - 4, // 2: artistinfo.ArtistInfo.RegisterUser:input_type -> artistinfo.RegisterUserRequest - 6, // 3: artistinfo.ArtistInfo.GetUser:input_type -> artistinfo.GetUserRequest - 8, // 4: artistinfo.ArtistInfo.GetUserById:input_type -> artistinfo.GetUserByIdRequest - 11, // 5: artistinfo.ArtistInfo.CreateUser:input_type -> artistinfo.CreateUserRequest - 13, // 6: artistinfo.ArtistInfo.CreateUserInfo:input_type -> artistinfo.CreateUserInfoRequest - 15, // 7: artistinfo.ArtistInfo.UpdateRealName:input_type -> artistinfo.UpdateRealNameRequest - 17, // 8: artistinfo.ArtistInfo.FinishVerify:input_type -> artistinfo.FinishVerifyRequest - 19, // 9: artistinfo.ArtistInfo.CheckUserLock:input_type -> artistinfo.CheckUserLockRequest - 1, // 10: artistinfo.ArtistInfo.UploadPic:output_type -> artistinfo.UploadPicRespond - 3, // 11: artistinfo.ArtistInfo.UploadIdCard:output_type -> artistinfo.UploadIdCardRespond - 5, // 12: artistinfo.ArtistInfo.RegisterUser:output_type -> artistinfo.RegisterUserRespond - 7, // 13: artistinfo.ArtistInfo.GetUser:output_type -> artistinfo.GetUserRespond - 9, // 14: artistinfo.ArtistInfo.GetUserById:output_type -> artistinfo.GetUserByIdRespond - 12, // 15: artistinfo.ArtistInfo.CreateUser:output_type -> artistinfo.CreateUserRespond - 14, // 16: artistinfo.ArtistInfo.CreateUserInfo:output_type -> artistinfo.CreateUserInfoRespond - 16, // 17: artistinfo.ArtistInfo.UpdateRealName:output_type -> artistinfo.UpdateRealNameRespond - 18, // 18: artistinfo.ArtistInfo.FinishVerify:output_type -> artistinfo.FinishVerifyRespond - 20, // 19: artistinfo.ArtistInfo.CheckUserLock:output_type -> artistinfo.CheckUserLockRespond - 10, // [10:20] is the sub-list for method output_type - 0, // [0:10] is the sub-list for method input_type - 0, // [0:0] is the sub-list for extension type_name - 0, // [0:0] is the sub-list for extension extendee - 0, // [0:0] is the sub-list for field type_name +var file_pb_artistinfo_artistinfo_proto_depIdxs = []int32{ + 24, // 0: artistinfo.ArtistSupplyListRespond.Data:type_name -> artistinfo.ArtistArtworkSupplyListResponseData + 0, // 1: artistinfo.ArtistInfo.UploadPic:input_type -> artistinfo.UploadPicRequest + 2, // 2: artistinfo.ArtistInfo.UploadIdCard:input_type -> artistinfo.UploadIdCardRequest + 5, // 3: artistinfo.ArtistInfo.RegisterUser:input_type -> artistinfo.RegisterUserRequest + 7, // 4: artistinfo.ArtistInfo.GetUser:input_type -> artistinfo.GetUserRequest + 9, // 5: artistinfo.ArtistInfo.GetUserById:input_type -> artistinfo.GetUserByIdRequest + 12, // 6: artistinfo.ArtistInfo.CreateUser:input_type -> artistinfo.CreateUserRequest + 14, // 7: artistinfo.ArtistInfo.CreateUserInfo:input_type -> artistinfo.CreateUserInfoRequest + 16, // 8: artistinfo.ArtistInfo.UpdateRealName:input_type -> artistinfo.UpdateRealNameRequest + 18, // 9: artistinfo.ArtistInfo.FinishVerify:input_type -> artistinfo.FinishVerifyRequest + 20, // 10: artistinfo.ArtistInfo.CheckUserLock:input_type -> artistinfo.CheckUserLockRequest + 22, // 11: artistinfo.ArtistInfo.ArtistSupplyList:input_type -> artistinfo.ArtistSupplyListRequest + 1, // 12: artistinfo.ArtistInfo.UploadPic:output_type -> artistinfo.UploadPicRespond + 3, // 13: artistinfo.ArtistInfo.UploadIdCard:output_type -> artistinfo.UploadIdCardRespond + 6, // 14: artistinfo.ArtistInfo.RegisterUser:output_type -> artistinfo.RegisterUserRespond + 8, // 15: artistinfo.ArtistInfo.GetUser:output_type -> artistinfo.GetUserRespond + 10, // 16: artistinfo.ArtistInfo.GetUserById:output_type -> artistinfo.GetUserByIdRespond + 13, // 17: artistinfo.ArtistInfo.CreateUser:output_type -> artistinfo.CreateUserRespond + 15, // 18: artistinfo.ArtistInfo.CreateUserInfo:output_type -> artistinfo.CreateUserInfoRespond + 17, // 19: artistinfo.ArtistInfo.UpdateRealName:output_type -> artistinfo.UpdateRealNameRespond + 19, // 20: artistinfo.ArtistInfo.FinishVerify:output_type -> artistinfo.FinishVerifyRespond + 21, // 21: artistinfo.ArtistInfo.CheckUserLock:output_type -> artistinfo.CheckUserLockRespond + 23, // 22: artistinfo.ArtistInfo.ArtistSupplyList:output_type -> artistinfo.ArtistSupplyListRespond + 12, // [12:23] is the sub-list for method output_type + 1, // [1:12] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name } -func init() { file_api_artistinfo_artistinfo_proto_init() } -func file_api_artistinfo_artistinfo_proto_init() { - if File_api_artistinfo_artistinfo_proto != nil { +func init() { file_pb_artistinfo_artistinfo_proto_init() } +func file_pb_artistinfo_artistinfo_proto_init() { + if File_pb_artistinfo_artistinfo_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_api_artistinfo_artistinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadPicRequest); i { case 0: return &v.state @@ -1752,7 +2379,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadPicRespond); i { case 0: return &v.state @@ -1764,7 +2391,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadIdCardRequest); i { case 0: return &v.state @@ -1776,7 +2403,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadIdCardRespond); i { case 0: return &v.state @@ -1788,7 +2415,19 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CheckMsgRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_artistinfo_artistinfo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterUserRequest); i { case 0: return &v.state @@ -1800,7 +2439,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterUserRespond); i { case 0: return &v.state @@ -1812,7 +2451,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserRequest); i { case 0: return &v.state @@ -1824,7 +2463,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserRespond); i { case 0: return &v.state @@ -1836,7 +2475,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserByIdRequest); i { case 0: return &v.state @@ -1848,7 +2487,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserByIdRespond); i { case 0: return &v.state @@ -1860,7 +2499,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetUserByIdData); i { case 0: return &v.state @@ -1872,7 +2511,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserRequest); i { case 0: return &v.state @@ -1884,7 +2523,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserRespond); i { case 0: return &v.state @@ -1896,7 +2535,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserInfoRequest); i { case 0: return &v.state @@ -1908,7 +2547,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CreateUserInfoRespond); i { case 0: return &v.state @@ -1920,7 +2559,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRealNameRequest); i { case 0: return &v.state @@ -1932,7 +2571,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateRealNameRespond); i { case 0: return &v.state @@ -1944,7 +2583,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FinishVerifyRequest); i { case 0: return &v.state @@ -1956,7 +2595,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*FinishVerifyRespond); i { case 0: return &v.state @@ -1968,7 +2607,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckUserLockRequest); i { case 0: return &v.state @@ -1980,7 +2619,7 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } - file_api_artistinfo_artistinfo_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + file_pb_artistinfo_artistinfo_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckUserLockRespond); i { case 0: return &v.state @@ -1992,23 +2631,59 @@ func file_api_artistinfo_artistinfo_proto_init() { return nil } } + file_pb_artistinfo_artistinfo_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistSupplyListRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_artistinfo_artistinfo_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistSupplyListRespond); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_pb_artistinfo_artistinfo_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ArtistArtworkSupplyListResponseData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_api_artistinfo_artistinfo_proto_rawDesc, + RawDescriptor: file_pb_artistinfo_artistinfo_proto_rawDesc, NumEnums: 0, - NumMessages: 21, + NumMessages: 25, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_api_artistinfo_artistinfo_proto_goTypes, - DependencyIndexes: file_api_artistinfo_artistinfo_proto_depIdxs, - MessageInfos: file_api_artistinfo_artistinfo_proto_msgTypes, + GoTypes: file_pb_artistinfo_artistinfo_proto_goTypes, + DependencyIndexes: file_pb_artistinfo_artistinfo_proto_depIdxs, + MessageInfos: file_pb_artistinfo_artistinfo_proto_msgTypes, }.Build() - File_api_artistinfo_artistinfo_proto = out.File - file_api_artistinfo_artistinfo_proto_rawDesc = nil - file_api_artistinfo_artistinfo_proto_goTypes = nil - file_api_artistinfo_artistinfo_proto_depIdxs = nil + File_pb_artistinfo_artistinfo_proto = out.File + file_pb_artistinfo_artistinfo_proto_rawDesc = nil + file_pb_artistinfo_artistinfo_proto_goTypes = nil + file_pb_artistinfo_artistinfo_proto_depIdxs = nil } diff --git a/pb/artistinfo/artistinfo.proto b/pb/artistinfo/artistinfo.proto index a60484b..20ed605 100644 --- a/pb/artistinfo/artistinfo.proto +++ b/pb/artistinfo/artistinfo.proto @@ -1,7 +1,7 @@ syntax = "proto3"; package artistinfo; option go_package = "./;artistinfo"; -// protoc --proto_path=. --go_out=./api/artistinfo --go-triple_out=./api/artistinfo ./api/artistinfo/artistinfo.proto +// protoc --proto_path=. --go_out=./pb/artistinfo --go-triple_out=./pb/artistinfo ./pb/artistinfo/artistinfo.proto service ArtistInfo { rpc UploadPic (UploadPicRequest) returns (UploadPicRespond) {} rpc UploadIdCard (UploadIdCardRequest) returns (UploadIdCardRespond) {} @@ -13,6 +13,7 @@ service ArtistInfo { rpc UpdateRealName (UpdateRealNameRequest) returns (UpdateRealNameRespond){} rpc FinishVerify (FinishVerifyRequest) returns (FinishVerifyRespond){} rpc CheckUserLock (CheckUserLockRequest) returns (CheckUserLockRespond) {} + rpc ArtistSupplyList (ArtistSupplyListRequest) returns (ArtistSupplyListRespond){} } message UploadPicRequest { @@ -31,7 +32,10 @@ message UploadIdCardRespond { } - +message CheckMsgRequest{ + string TelNum = 1 ; + string VerCode = 2; +} message RegisterUserRequest { uint64 Id =1; uint64 MgmtUserId =2; @@ -172,3 +176,59 @@ message CheckUserLockRequest { message CheckUserLockRespond { } + + + + message ArtistSupplyListRequest { +string ArtistId = 1; +string Name =2; +string ArtistName =3; +string InvitedName =4; +uint64 IsImport =5; +uint64 State =6; +uint64 Page =7; +uint64 PageSize =8; + } + + message ArtistSupplyListRespond { + uint64 Count =1; + repeated ArtistArtworkSupplyListResponseData Data =2; + } + +message ArtistArtworkSupplyListResponseData { + string ID = 1; + string Account = 2; + uint64 PassRulerCount = 3; + string MnemonicWords = 4; + string TelNum = 5; + uint64 PassArtworkCount = 6; + string Name = 7; + string PenName = 8; + string Certificate = 9; + string CertificateImg = 10; + string Key = 11; + uint64 Sex = 12; + uint64 Age = 13; + string Introduct = 14; + string CreateTime = 15; + string JoinAssoTime = 16; + string StageName = 17; + string UpdateTime = 18; + string ConAddress = 19; + string Photo = 20; + string Video = 21; + string InvitedName = 22; + bool Enable = 23; + string IdCard = 24; + uint64 IsImport = 25; + bool IsLock = 26; + string IdCardFront = 27; + string IdCardBack = 28; + string BankName = 29; + string BankAccount = 30; + string MinTime = 31; + string LockTime = 32; + uint64 ArtworkCount = 33; + uint64 RulerCount = 34; + } + \ No newline at end of file diff --git a/pb/artistinfo/artistinfo_triple.pb.go b/pb/artistinfo/artistinfo_triple.pb.go index e7f7191..755af75 100644 --- a/pb/artistinfo/artistinfo_triple.pb.go +++ b/pb/artistinfo/artistinfo_triple.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-triple v1.0.5 // - protoc v3.9.0 -// source: api/artistinfo/artistinfo.proto +// source: pb/artistinfo/artistinfo.proto package artistinfo @@ -38,6 +38,7 @@ type ArtistInfoClient interface { UpdateRealName(ctx context.Context, in *UpdateRealNameRequest, opts ...grpc_go.CallOption) (*UpdateRealNameRespond, common.ErrorWithAttachment) FinishVerify(ctx context.Context, in *FinishVerifyRequest, opts ...grpc_go.CallOption) (*FinishVerifyRespond, common.ErrorWithAttachment) CheckUserLock(ctx context.Context, in *CheckUserLockRequest, opts ...grpc_go.CallOption) (*CheckUserLockRespond, common.ErrorWithAttachment) + ArtistSupplyList(ctx context.Context, in *ArtistSupplyListRequest, opts ...grpc_go.CallOption) (*ArtistSupplyListRespond, common.ErrorWithAttachment) } type artistInfoClient struct { @@ -45,16 +46,17 @@ type artistInfoClient struct { } type ArtistInfoClientImpl struct { - UploadPic func(ctx context.Context, in *UploadPicRequest) (*UploadPicRespond, error) - UploadIdCard func(ctx context.Context, in *UploadIdCardRequest) (*UploadIdCardRespond, error) - RegisterUser func(ctx context.Context, in *RegisterUserRequest) (*RegisterUserRespond, error) - GetUser func(ctx context.Context, in *GetUserRequest) (*GetUserRespond, error) - GetUserById func(ctx context.Context, in *GetUserByIdRequest) (*GetUserByIdRespond, error) - CreateUser func(ctx context.Context, in *CreateUserRequest) (*CreateUserRespond, error) - CreateUserInfo func(ctx context.Context, in *CreateUserInfoRequest) (*CreateUserInfoRespond, error) - UpdateRealName func(ctx context.Context, in *UpdateRealNameRequest) (*UpdateRealNameRespond, error) - FinishVerify func(ctx context.Context, in *FinishVerifyRequest) (*FinishVerifyRespond, error) - CheckUserLock func(ctx context.Context, in *CheckUserLockRequest) (*CheckUserLockRespond, error) + UploadPic func(ctx context.Context, in *UploadPicRequest) (*UploadPicRespond, error) + UploadIdCard func(ctx context.Context, in *UploadIdCardRequest) (*UploadIdCardRespond, error) + RegisterUser func(ctx context.Context, in *RegisterUserRequest) (*RegisterUserRespond, error) + GetUser func(ctx context.Context, in *GetUserRequest) (*GetUserRespond, error) + GetUserById func(ctx context.Context, in *GetUserByIdRequest) (*GetUserByIdRespond, error) + CreateUser func(ctx context.Context, in *CreateUserRequest) (*CreateUserRespond, error) + CreateUserInfo func(ctx context.Context, in *CreateUserInfoRequest) (*CreateUserInfoRespond, error) + UpdateRealName func(ctx context.Context, in *UpdateRealNameRequest) (*UpdateRealNameRespond, error) + FinishVerify func(ctx context.Context, in *FinishVerifyRequest) (*FinishVerifyRespond, error) + CheckUserLock func(ctx context.Context, in *CheckUserLockRequest) (*CheckUserLockRespond, error) + ArtistSupplyList func(ctx context.Context, in *ArtistSupplyListRequest) (*ArtistSupplyListRespond, error) } func (c *ArtistInfoClientImpl) GetDubboStub(cc *triple.TripleConn) ArtistInfoClient { @@ -129,6 +131,12 @@ func (c *artistInfoClient) CheckUserLock(ctx context.Context, in *CheckUserLockR return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/CheckUserLock", in, out) } +func (c *artistInfoClient) ArtistSupplyList(ctx context.Context, in *ArtistSupplyListRequest, opts ...grpc_go.CallOption) (*ArtistSupplyListRespond, common.ErrorWithAttachment) { + out := new(ArtistSupplyListRespond) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ArtistSupplyList", in, out) +} + // ArtistInfoServer is the server API for ArtistInfo service. // All implementations must embed UnimplementedArtistInfoServer // for forward compatibility @@ -143,6 +151,7 @@ type ArtistInfoServer interface { UpdateRealName(context.Context, *UpdateRealNameRequest) (*UpdateRealNameRespond, error) FinishVerify(context.Context, *FinishVerifyRequest) (*FinishVerifyRespond, error) CheckUserLock(context.Context, *CheckUserLockRequest) (*CheckUserLockRespond, error) + ArtistSupplyList(context.Context, *ArtistSupplyListRequest) (*ArtistSupplyListRespond, error) mustEmbedUnimplementedArtistInfoServer() } @@ -181,6 +190,9 @@ func (UnimplementedArtistInfoServer) FinishVerify(context.Context, *FinishVerify func (UnimplementedArtistInfoServer) CheckUserLock(context.Context, *CheckUserLockRequest) (*CheckUserLockRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method CheckUserLock not implemented") } +func (UnimplementedArtistInfoServer) ArtistSupplyList(context.Context, *ArtistSupplyListRequest) (*ArtistSupplyListRespond, error) { + return nil, status.Errorf(codes.Unimplemented, "method ArtistSupplyList not implemented") +} func (s *UnimplementedArtistInfoServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -499,6 +511,35 @@ func _ArtistInfo_CheckUserLock_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _ArtistInfo_ArtistSupplyList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ArtistSupplyListRequest) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ArtistSupplyList", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + // ArtistInfo_ServiceDesc is the grpc_go.ServiceDesc for ArtistInfo service. // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) @@ -546,7 +587,11 @@ var ArtistInfo_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "CheckUserLock", Handler: _ArtistInfo_CheckUserLock_Handler, }, + { + MethodName: "ArtistSupplyList", + Handler: _ArtistInfo_ArtistSupplyList_Handler, + }, }, Streams: []grpc_go.StreamDesc{}, - Metadata: "api/artistinfo/artistinfo.proto", + Metadata: "pb/artistinfo/artistinfo.proto", } diff --git a/pb/artwork/artwork.pb.go b/pb/artwork/artwork.pb.go index de72511..b766990 100644 --- a/pb/artwork/artwork.pb.go +++ b/pb/artwork/artwork.pb.go @@ -94,10 +94,10 @@ type ArtworkListRequest struct { Name string `protobuf:"bytes,3,opt,name=Name,json=name,proto3" json:"Name,omitempty"` ArtistName string `protobuf:"bytes,4,opt,name=ArtistName,json=artistName,proto3" json:"ArtistName,omitempty"` InvitedName string `protobuf:"bytes,5,opt,name=InvitedName,json=invitedName,proto3" json:"InvitedName,omitempty"` - IsImport int64 `protobuf:"varint,6,opt,name=IsImport,json=isImport,proto3" json:"IsImport,omitempty"` - State int64 `protobuf:"varint,7,opt,name=State,json=state,proto3" json:"State,omitempty"` - Page int64 `protobuf:"varint,8,opt,name=Page,json=page,proto3" json:"Page,omitempty"` - Num int64 `protobuf:"varint,9,opt,name=Num,json=num,proto3" json:"Num,omitempty"` + IsImport uint64 `protobuf:"varint,6,opt,name=IsImport,json=isImport,proto3" json:"IsImport,omitempty"` + State uint64 `protobuf:"varint,7,opt,name=State,json=state,proto3" json:"State,omitempty"` + Page uint64 `protobuf:"varint,8,opt,name=Page,json=page,proto3" json:"Page,omitempty"` + Num uint64 `protobuf:"varint,9,opt,name=Num,json=num,proto3" json:"Num,omitempty"` } func (x *ArtworkListRequest) Reset() { @@ -167,28 +167,28 @@ func (x *ArtworkListRequest) GetInvitedName() string { return "" } -func (x *ArtworkListRequest) GetIsImport() int64 { +func (x *ArtworkListRequest) GetIsImport() uint64 { if x != nil { return x.IsImport } return 0 } -func (x *ArtworkListRequest) GetState() int64 { +func (x *ArtworkListRequest) GetState() uint64 { if x != nil { return x.State } return 0 } -func (x *ArtworkListRequest) GetPage() int64 { +func (x *ArtworkListRequest) GetPage() uint64 { if x != nil { return x.Page } return 0 } -func (x *ArtworkListRequest) GetNum() int64 { +func (x *ArtworkListRequest) GetNum() uint64 { if x != nil { return x.Num } @@ -491,7 +491,7 @@ type UpdateArtworkRequest struct { unknownFields protoimpl.UnknownFields ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ArtistId uint64 `protobuf:"varint,2,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` + ArtistId string `protobuf:"bytes,2,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,json=name,proto3" json:"Name,omitempty"` ModelYear string `protobuf:"bytes,4,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear,omitempty"` Photo string `protobuf:"bytes,5,opt,name=Photo,json=photo,proto3" json:"Photo,omitempty"` @@ -547,11 +547,11 @@ func (x *UpdateArtworkRequest) GetID() uint64 { return 0 } -func (x *UpdateArtworkRequest) GetArtistId() uint64 { +func (x *UpdateArtworkRequest) GetArtistId() string { if x != nil { return x.ArtistId } - return 0 + return "" } func (x *UpdateArtworkRequest) GetName() string { @@ -737,6 +737,77 @@ func (x *GetArtworkListRequest) GetID() uint64 { return 0 } +type ApproveArtworkRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ArtworkId string `protobuf:"bytes,1,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId,omitempty"` + IsApprove bool `protobuf:"varint,2,opt,name=IsApprove,json=isApprove,proto3" json:"IsApprove,omitempty"` + Remark string `protobuf:"bytes,3,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` + Remark2 string `protobuf:"bytes,4,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` +} + +func (x *ApproveArtworkRequest) Reset() { + *x = ApproveArtworkRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_artwork_artwork_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApproveArtworkRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApproveArtworkRequest) ProtoMessage() {} + +func (x *ApproveArtworkRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_artwork_artwork_proto_msgTypes[9] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApproveArtworkRequest.ProtoReflect.Descriptor instead. +func (*ApproveArtworkRequest) Descriptor() ([]byte, []int) { + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{9} +} + +func (x *ApproveArtworkRequest) GetArtworkId() string { + if x != nil { + return x.ArtworkId + } + return "" +} + +func (x *ApproveArtworkRequest) GetIsApprove() bool { + if x != nil { + return x.IsApprove + } + return false +} + +func (x *ApproveArtworkRequest) GetRemark() string { + if x != nil { + return x.Remark + } + return "" +} + +func (x *ApproveArtworkRequest) GetRemark2() string { + if x != nil { + return x.Remark2 + } + return "" +} + type GetArtworkListRespond struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -748,7 +819,7 @@ type GetArtworkListRespond struct { func (x *GetArtworkListRespond) Reset() { *x = GetArtworkListRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[9] + mi := &file_api_artwork_artwork_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -761,7 +832,7 @@ func (x *GetArtworkListRespond) String() string { func (*GetArtworkListRespond) ProtoMessage() {} func (x *GetArtworkListRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[9] + mi := &file_api_artwork_artwork_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -774,7 +845,7 @@ func (x *GetArtworkListRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtworkListRespond.ProtoReflect.Descriptor instead. func (*GetArtworkListRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{9} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{10} } func (x *GetArtworkListRespond) GetData() []*UpdateArtworkRequest { @@ -784,6 +855,164 @@ func (x *GetArtworkListRespond) GetData() []*UpdateArtworkRequest { return nil } +type GetMgmtArtworkListRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + BatchId int64 `protobuf:"varint,1,opt,name=BatchId,json=batchId,proto3" json:"BatchId,omitempty"` + ArtistId int64 `protobuf:"varint,2,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` + Name string `protobuf:"bytes,3,opt,name=Name,json=name,proto3" json:"Name,omitempty"` + ArtistName string `protobuf:"bytes,4,opt,name=ArtistName,json=artistName,proto3" json:"ArtistName,omitempty"` + InvitedName string `protobuf:"bytes,5,opt,name=InvitedName,json=invitedName,proto3" json:"InvitedName,omitempty"` + IsImport uint64 `protobuf:"varint,6,opt,name=IsImport,json=isImport,proto3" json:"IsImport,omitempty"` + State uint64 `protobuf:"varint,7,opt,name=State,json=state,proto3" json:"State,omitempty"` + Page uint64 `protobuf:"varint,8,opt,name=Page,json=page,proto3" json:"Page,omitempty"` + Num uint64 `protobuf:"varint,9,opt,name=Num,json=num,proto3" json:"Num,omitempty"` +} + +func (x *GetMgmtArtworkListRequest) Reset() { + *x = GetMgmtArtworkListRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_api_artwork_artwork_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMgmtArtworkListRequest) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMgmtArtworkListRequest) ProtoMessage() {} + +func (x *GetMgmtArtworkListRequest) ProtoReflect() protoreflect.Message { + mi := &file_api_artwork_artwork_proto_msgTypes[11] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMgmtArtworkListRequest.ProtoReflect.Descriptor instead. +func (*GetMgmtArtworkListRequest) Descriptor() ([]byte, []int) { + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{11} +} + +func (x *GetMgmtArtworkListRequest) GetBatchId() int64 { + if x != nil { + return x.BatchId + } + return 0 +} + +func (x *GetMgmtArtworkListRequest) GetArtistId() int64 { + if x != nil { + return x.ArtistId + } + return 0 +} + +func (x *GetMgmtArtworkListRequest) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *GetMgmtArtworkListRequest) GetArtistName() string { + if x != nil { + return x.ArtistName + } + return "" +} + +func (x *GetMgmtArtworkListRequest) GetInvitedName() string { + if x != nil { + return x.InvitedName + } + return "" +} + +func (x *GetMgmtArtworkListRequest) GetIsImport() uint64 { + if x != nil { + return x.IsImport + } + return 0 +} + +func (x *GetMgmtArtworkListRequest) GetState() uint64 { + if x != nil { + return x.State + } + return 0 +} + +func (x *GetMgmtArtworkListRequest) GetPage() uint64 { + if x != nil { + return x.Page + } + return 0 +} + +func (x *GetMgmtArtworkListRequest) GetNum() uint64 { + if x != nil { + return x.Num + } + return 0 +} + +type GetMgmtArtworkListRespond struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Data []*UpdateArtworkRequest `protobuf:"bytes,2,rep,name=Data,json=data,proto3" json:"Data,omitempty"` +} + +func (x *GetMgmtArtworkListRespond) Reset() { + *x = GetMgmtArtworkListRespond{} + if protoimpl.UnsafeEnabled { + mi := &file_api_artwork_artwork_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetMgmtArtworkListRespond) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetMgmtArtworkListRespond) ProtoMessage() {} + +func (x *GetMgmtArtworkListRespond) ProtoReflect() protoreflect.Message { + mi := &file_api_artwork_artwork_proto_msgTypes[12] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetMgmtArtworkListRespond.ProtoReflect.Descriptor instead. +func (*GetMgmtArtworkListRespond) Descriptor() ([]byte, []int) { + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{12} +} + +func (x *GetMgmtArtworkListRespond) GetData() []*UpdateArtworkRequest { + if x != nil { + return x.Data + } + return nil +} + type GetArtworkRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -795,7 +1024,7 @@ type GetArtworkRequest struct { func (x *GetArtworkRequest) Reset() { *x = GetArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[10] + mi := &file_api_artwork_artwork_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -808,7 +1037,7 @@ func (x *GetArtworkRequest) String() string { func (*GetArtworkRequest) ProtoMessage() {} func (x *GetArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[10] + mi := &file_api_artwork_artwork_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -821,7 +1050,7 @@ func (x *GetArtworkRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtworkRequest.ProtoReflect.Descriptor instead. func (*GetArtworkRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{10} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{13} } func (x *GetArtworkRequest) GetID() uint64 { @@ -837,7 +1066,7 @@ type GetArtworkRespond struct { unknownFields protoimpl.UnknownFields ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ArtistId uint64 `protobuf:"varint,2,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` + ArtistId string `protobuf:"bytes,2,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` Name string `protobuf:"bytes,3,opt,name=Name,json=name,proto3" json:"Name,omitempty"` ModelYear string `protobuf:"bytes,4,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear,omitempty"` Photo string `protobuf:"bytes,5,opt,name=Photo,json=photo,proto3" json:"Photo,omitempty"` @@ -857,7 +1086,7 @@ type GetArtworkRespond struct { func (x *GetArtworkRespond) Reset() { *x = GetArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[11] + mi := &file_api_artwork_artwork_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -870,7 +1099,7 @@ func (x *GetArtworkRespond) String() string { func (*GetArtworkRespond) ProtoMessage() {} func (x *GetArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[11] + mi := &file_api_artwork_artwork_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -883,7 +1112,7 @@ func (x *GetArtworkRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtworkRespond.ProtoReflect.Descriptor instead. func (*GetArtworkRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{11} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{14} } func (x *GetArtworkRespond) GetID() uint64 { @@ -893,11 +1122,11 @@ func (x *GetArtworkRespond) GetID() uint64 { return 0 } -func (x *GetArtworkRespond) GetArtistId() uint64 { +func (x *GetArtworkRespond) GetArtistId() string { if x != nil { return x.ArtistId } - return 0 + return "" } func (x *GetArtworkRespond) GetName() string { @@ -1010,7 +1239,7 @@ type DelArtworkRequest struct { func (x *DelArtworkRequest) Reset() { *x = DelArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[12] + mi := &file_api_artwork_artwork_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1023,7 +1252,7 @@ func (x *DelArtworkRequest) String() string { func (*DelArtworkRequest) ProtoMessage() {} func (x *DelArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[12] + mi := &file_api_artwork_artwork_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1036,7 +1265,7 @@ func (x *DelArtworkRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use DelArtworkRequest.ProtoReflect.Descriptor instead. func (*DelArtworkRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{12} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{15} } func (x *DelArtworkRequest) GetId() uint64 { @@ -1062,7 +1291,7 @@ type DelArtworkRespond struct { func (x *DelArtworkRespond) Reset() { *x = DelArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[13] + mi := &file_api_artwork_artwork_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1075,7 +1304,7 @@ func (x *DelArtworkRespond) String() string { func (*DelArtworkRespond) ProtoMessage() {} func (x *DelArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[13] + mi := &file_api_artwork_artwork_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1088,7 +1317,7 @@ func (x *DelArtworkRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use DelArtworkRespond.ProtoReflect.Descriptor instead. func (*DelArtworkRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{13} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{16} } type UploadArtworkRequest struct { @@ -1102,7 +1331,7 @@ type UploadArtworkRequest struct { func (x *UploadArtworkRequest) Reset() { *x = UploadArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[14] + mi := &file_api_artwork_artwork_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1115,7 +1344,7 @@ func (x *UploadArtworkRequest) String() string { func (*UploadArtworkRequest) ProtoMessage() {} func (x *UploadArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[14] + mi := &file_api_artwork_artwork_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1128,7 +1357,7 @@ func (x *UploadArtworkRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadArtworkRequest.ProtoReflect.Descriptor instead. func (*UploadArtworkRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{14} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{17} } func (x *UploadArtworkRequest) GetID() uint64 { @@ -1147,7 +1376,7 @@ type UploadArtworkRespond struct { func (x *UploadArtworkRespond) Reset() { *x = UploadArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[15] + mi := &file_api_artwork_artwork_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1160,7 +1389,7 @@ func (x *UploadArtworkRespond) String() string { func (*UploadArtworkRespond) ProtoMessage() {} func (x *UploadArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[15] + mi := &file_api_artwork_artwork_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1173,7 +1402,45 @@ func (x *UploadArtworkRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use UploadArtworkRespond.ProtoReflect.Descriptor instead. func (*UploadArtworkRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{15} + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{18} +} + +type ApproveArtworkRespond struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *ApproveArtworkRespond) Reset() { + *x = ApproveArtworkRespond{} + if protoimpl.UnsafeEnabled { + mi := &file_api_artwork_artwork_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *ApproveArtworkRespond) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*ApproveArtworkRespond) ProtoMessage() {} + +func (x *ApproveArtworkRespond) ProtoReflect() protoreflect.Message { + mi := &file_api_artwork_artwork_proto_msgTypes[19] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use ApproveArtworkRespond.ProtoReflect.Descriptor instead. +func (*ApproveArtworkRespond) Descriptor() ([]byte, []int) { + return file_api_artwork_artwork_proto_rawDescGZIP(), []int{19} } var File_api_artwork_artwork_proto protoreflect.FileDescriptor @@ -1197,11 +1464,11 @@ var file_api_artwork_artwork_proto_rawDesc = []byte{ 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x49, - 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, 0x69, + 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, - 0x18, 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x70, 0x61, 0x67, - 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, + 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, + 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0xbf, 0x03, 0x0a, 0x11, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, @@ -1239,7 +1506,7 @@ var file_api_artwork_artwork_proto_rawDesc = []byte{ 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, - 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x59, 0x65, 0x61, @@ -1268,87 +1535,130 @@ var file_api_artwork_artwork_proto_rawDesc = []byte{ 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x27, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, - 0x22, 0x4a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, - 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x44, 0x61, 0x74, - 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x11, - 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, - 0x64, 0x22, 0xbf, 0x03, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, - 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, - 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, - 0x59, 0x65, 0x61, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, - 0x6c, 0x59, 0x65, 0x61, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x05, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x41, - 0x72, 0x74, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, - 0x05, 0x57, 0x69, 0x64, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x77, 0x69, - 0x64, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, - 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, - 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x65, 0x69, - 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, - 0x74, 0x12, 0x14, 0x0a, 0x05, 0x52, 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, - 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x72, 0x6f, - 0x64, 0x75, 0x63, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x72, - 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, 0x24, 0x0a, 0x0d, 0x41, 0x67, 0x65, 0x4f, 0x66, 0x43, 0x72, - 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x67, - 0x65, 0x4f, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x43, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, - 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6e, - 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x55, - 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, - 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, - 0x61, 0x74, 0x65, 0x22, 0x3f, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x22, 0x13, 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x55, 0x70, 0x6c, - 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, - 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0xa8, 0x04, 0x0a, 0x07, 0x41, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x46, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x41, 0x64, 0x64, 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x41, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4f, 0x0a, - 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x1d, - 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, - 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, - 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4f, - 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, - 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, - 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, - 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, - 0x74, 0x12, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x41, + 0x22, 0x85, 0x01, 0x0a, 0x15, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x61, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x73, 0x41, 0x70, + 0x70, 0x72, 0x6f, 0x76, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x69, 0x73, 0x41, + 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x18, + 0x0a, 0x07, 0x52, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x32, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x72, 0x65, 0x6d, 0x61, 0x72, 0x6b, 0x32, 0x22, 0x4a, 0x0a, 0x15, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x64, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, - 0x6b, 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x41, - 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0a, 0x44, - 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, - 0x6f, 0x72, 0x6b, 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, - 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x64, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0d, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, - 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, - 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x64, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, 0x2f, 0x3b, 0x61, 0x72, 0x74, 0x77, 0x6f, - 0x72, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x64, 0x12, 0x31, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, + 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, + 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x52, 0x04, + 0x64, 0x61, 0x74, 0x61, 0x22, 0xff, 0x01, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4d, 0x67, 0x6d, 0x74, + 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x42, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x07, 0x62, 0x61, 0x74, 0x63, 0x68, 0x49, 0x64, 0x12, 0x1a, 0x0a, 0x08, + 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x08, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, + 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, + 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, + 0x0a, 0x08, 0x49, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x04, + 0x52, 0x08, 0x69, 0x73, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, + 0x61, 0x74, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, + 0x12, 0x12, 0x0a, 0x04, 0x50, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, + 0x70, 0x61, 0x67, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x4e, 0x75, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x4e, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x4d, 0x67, 0x6d, + 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x64, 0x12, 0x31, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x23, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, 0xbf, 0x03, 0x0a, 0x11, + 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x64, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, + 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, + 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x4d, 0x6f, 0x64, 0x65, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x65, 0x6c, 0x59, 0x65, 0x61, 0x72, 0x12, + 0x14, 0x0a, 0x05, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, + 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x0a, 0x0b, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x50, + 0x68, 0x6f, 0x74, 0x6f, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x72, 0x74, 0x69, + 0x73, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x0a, 0x05, 0x57, 0x69, 0x64, 0x74, 0x68, + 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x77, 0x69, 0x64, 0x74, 0x68, 0x12, 0x24, 0x0a, + 0x0d, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x08, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, 0x64, 0x64, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x18, 0x09, 0x20, + 0x01, 0x28, 0x04, 0x52, 0x06, 0x68, 0x65, 0x69, 0x67, 0x68, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x52, + 0x75, 0x6c, 0x65, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, + 0x72, 0x12, 0x1c, 0x0a, 0x09, 0x49, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x18, 0x0b, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6e, 0x74, 0x72, 0x6f, 0x64, 0x75, 0x63, 0x74, 0x12, + 0x24, 0x0a, 0x0d, 0x41, 0x67, 0x65, 0x4f, 0x66, 0x43, 0x72, 0x65, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x67, 0x65, 0x4f, 0x66, 0x43, 0x72, 0x65, + 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x74, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x41, + 0x74, 0x12, 0x22, 0x0a, 0x0c, 0x4e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x54, 0x72, 0x61, 0x63, + 0x65, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x6e, 0x65, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x54, 0x72, 0x61, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x55, 0x72, 0x6c, 0x18, 0x0f, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, + 0x18, 0x10, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x22, 0x3f, 0x0a, + 0x11, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, + 0x69, 0x64, 0x12, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x49, 0x64, 0x22, 0x13, + 0x0a, 0x11, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x64, 0x22, 0x26, 0x0a, 0x14, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x0e, 0x0a, 0x02, 0x49, + 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 0x22, 0x16, 0x0a, 0x14, 0x55, + 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, + 0x6f, 0x6e, 0x64, 0x22, 0x17, 0x0a, 0x15, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0xdc, 0x05, 0x0a, + 0x07, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x46, 0x0a, 0x0a, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x41, 0x72, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x41, 0x64, 0x64, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, + 0x12, 0x4f, 0x0a, 0x0d, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, + 0x6b, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, + 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, + 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, + 0x00, 0x12, 0x4f, 0x0a, 0x0d, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x12, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, + 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x64, 0x61, + 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, + 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x52, 0x0a, 0x0e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, + 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2e, 0x41, 0x70, 0x70, 0x72, 0x6f, 0x76, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x5e, 0x0a, 0x12, 0x47, 0x65, + 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, + 0x12, 0x22, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x67, + 0x6d, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x22, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0a, 0x47, 0x65, + 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x2e, 0x47, 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x47, + 0x65, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, + 0x22, 0x00, 0x12, 0x46, 0x0a, 0x0a, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, + 0x12, 0x1a, 0x2e, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x44, 0x65, 0x6c, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, + 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4f, 0x0a, 0x0d, 0x55, 0x70, + 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x12, 0x1d, 0x2e, 0x41, 0x72, + 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x41, 0x72, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x41, 0x72, 0x74, 0x77, 0x6f, + 0x72, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x42, 0x0c, 0x5a, 0x0a, 0x2e, + 0x2f, 0x3b, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x33, } var ( @@ -1363,46 +1673,55 @@ func file_api_artwork_artwork_proto_rawDescGZIP() []byte { return file_api_artwork_artwork_proto_rawDescData } -var file_api_artwork_artwork_proto_msgTypes = make([]protoimpl.MessageInfo, 16) +var file_api_artwork_artwork_proto_msgTypes = make([]protoimpl.MessageInfo, 20) var file_api_artwork_artwork_proto_goTypes = []interface{}{ - (*ListInterfaceRespond)(nil), // 0: Artwork.ListInterfaceRespond - (*ArtworkListRequest)(nil), // 1: Artwork.ArtworkListRequest - (*ArtworkAddRequest)(nil), // 2: Artwork.ArtworkAddRequest - (*ArtworkAddRespond)(nil), // 3: Artwork.ArtworkAddRespond - (*CheckUserLockRequest)(nil), // 4: Artwork.CheckUserLockRequest - (*CheckUserLockRespond)(nil), // 5: Artwork.CheckUserLockRespond - (*UpdateArtworkRequest)(nil), // 6: Artwork.UpdateArtworkRequest - (*UpdateArtworkRespond)(nil), // 7: Artwork.UpdateArtworkRespond - (*GetArtworkListRequest)(nil), // 8: Artwork.GetArtworkListRequest - (*GetArtworkListRespond)(nil), // 9: Artwork.GetArtworkListRespond - (*GetArtworkRequest)(nil), // 10: Artwork.GetArtworkRequest - (*GetArtworkRespond)(nil), // 11: Artwork.GetArtworkRespond - (*DelArtworkRequest)(nil), // 12: Artwork.DelArtworkRequest - (*DelArtworkRespond)(nil), // 13: Artwork.DelArtworkRespond - (*UploadArtworkRequest)(nil), // 14: Artwork.UploadArtworkRequest - (*UploadArtworkRespond)(nil), // 15: Artwork.UploadArtworkRespond + (*ListInterfaceRespond)(nil), // 0: Artwork.ListInterfaceRespond + (*ArtworkListRequest)(nil), // 1: Artwork.ArtworkListRequest + (*ArtworkAddRequest)(nil), // 2: Artwork.ArtworkAddRequest + (*ArtworkAddRespond)(nil), // 3: Artwork.ArtworkAddRespond + (*CheckUserLockRequest)(nil), // 4: Artwork.CheckUserLockRequest + (*CheckUserLockRespond)(nil), // 5: Artwork.CheckUserLockRespond + (*UpdateArtworkRequest)(nil), // 6: Artwork.UpdateArtworkRequest + (*UpdateArtworkRespond)(nil), // 7: Artwork.UpdateArtworkRespond + (*GetArtworkListRequest)(nil), // 8: Artwork.GetArtworkListRequest + (*ApproveArtworkRequest)(nil), // 9: Artwork.ApproveArtworkRequest + (*GetArtworkListRespond)(nil), // 10: Artwork.GetArtworkListRespond + (*GetMgmtArtworkListRequest)(nil), // 11: Artwork.GetMgmtArtworkListRequest + (*GetMgmtArtworkListRespond)(nil), // 12: Artwork.GetMgmtArtworkListRespond + (*GetArtworkRequest)(nil), // 13: Artwork.GetArtworkRequest + (*GetArtworkRespond)(nil), // 14: Artwork.GetArtworkRespond + (*DelArtworkRequest)(nil), // 15: Artwork.DelArtworkRequest + (*DelArtworkRespond)(nil), // 16: Artwork.DelArtworkRespond + (*UploadArtworkRequest)(nil), // 17: Artwork.UploadArtworkRequest + (*UploadArtworkRespond)(nil), // 18: Artwork.UploadArtworkRespond + (*ApproveArtworkRespond)(nil), // 19: Artwork.ApproveArtworkRespond } var file_api_artwork_artwork_proto_depIdxs = []int32{ 6, // 0: Artwork.GetArtworkListRespond.Data:type_name -> Artwork.UpdateArtworkRequest - 2, // 1: Artwork.Artwork.ArtworkAdd:input_type -> Artwork.ArtworkAddRequest - 4, // 2: Artwork.Artwork.CheckUserLock:input_type -> Artwork.CheckUserLockRequest - 6, // 3: Artwork.Artwork.UpdateArtwork:input_type -> Artwork.UpdateArtworkRequest - 8, // 4: Artwork.Artwork.GetArtworkList:input_type -> Artwork.GetArtworkListRequest - 10, // 5: Artwork.Artwork.GetArtwork:input_type -> Artwork.GetArtworkRequest - 12, // 6: Artwork.Artwork.DelArtwork:input_type -> Artwork.DelArtworkRequest - 14, // 7: Artwork.Artwork.UploadArtwork:input_type -> Artwork.UploadArtworkRequest - 3, // 8: Artwork.Artwork.ArtworkAdd:output_type -> Artwork.ArtworkAddRespond - 5, // 9: Artwork.Artwork.CheckUserLock:output_type -> Artwork.CheckUserLockRespond - 7, // 10: Artwork.Artwork.UpdateArtwork:output_type -> Artwork.UpdateArtworkRespond - 9, // 11: Artwork.Artwork.GetArtworkList:output_type -> Artwork.GetArtworkListRespond - 11, // 12: Artwork.Artwork.GetArtwork:output_type -> Artwork.GetArtworkRespond - 13, // 13: Artwork.Artwork.DelArtwork:output_type -> Artwork.DelArtworkRespond - 15, // 14: Artwork.Artwork.UploadArtwork:output_type -> Artwork.UploadArtworkRespond - 8, // [8:15] is the sub-list for method output_type - 1, // [1:8] is the sub-list for method input_type - 1, // [1:1] is the sub-list for extension type_name - 1, // [1:1] is the sub-list for extension extendee - 0, // [0:1] is the sub-list for field type_name + 6, // 1: Artwork.GetMgmtArtworkListRespond.Data:type_name -> Artwork.UpdateArtworkRequest + 2, // 2: Artwork.Artwork.ArtworkAdd:input_type -> Artwork.ArtworkAddRequest + 4, // 3: Artwork.Artwork.CheckUserLock:input_type -> Artwork.CheckUserLockRequest + 6, // 4: Artwork.Artwork.UpdateArtwork:input_type -> Artwork.UpdateArtworkRequest + 8, // 5: Artwork.Artwork.GetArtworkList:input_type -> Artwork.GetArtworkListRequest + 9, // 6: Artwork.Artwork.ApproveArtwork:input_type -> Artwork.ApproveArtworkRequest + 11, // 7: Artwork.Artwork.GetMgmtArtworkList:input_type -> Artwork.GetMgmtArtworkListRequest + 13, // 8: Artwork.Artwork.GetArtwork:input_type -> Artwork.GetArtworkRequest + 15, // 9: Artwork.Artwork.DelArtwork:input_type -> Artwork.DelArtworkRequest + 17, // 10: Artwork.Artwork.UploadArtwork:input_type -> Artwork.UploadArtworkRequest + 3, // 11: Artwork.Artwork.ArtworkAdd:output_type -> Artwork.ArtworkAddRespond + 5, // 12: Artwork.Artwork.CheckUserLock:output_type -> Artwork.CheckUserLockRespond + 7, // 13: Artwork.Artwork.UpdateArtwork:output_type -> Artwork.UpdateArtworkRespond + 10, // 14: Artwork.Artwork.GetArtworkList:output_type -> Artwork.GetArtworkListRespond + 19, // 15: Artwork.Artwork.ApproveArtwork:output_type -> Artwork.ApproveArtworkRespond + 12, // 16: Artwork.Artwork.GetMgmtArtworkList:output_type -> Artwork.GetMgmtArtworkListRespond + 14, // 17: Artwork.Artwork.GetArtwork:output_type -> Artwork.GetArtworkRespond + 16, // 18: Artwork.Artwork.DelArtwork:output_type -> Artwork.DelArtworkRespond + 18, // 19: Artwork.Artwork.UploadArtwork:output_type -> Artwork.UploadArtworkRespond + 11, // [11:20] is the sub-list for method output_type + 2, // [2:11] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name } func init() { file_api_artwork_artwork_proto_init() } @@ -1520,7 +1839,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtworkListRespond); i { + switch v := v.(*ApproveArtworkRequest); i { case 0: return &v.state case 1: @@ -1532,7 +1851,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtworkRequest); i { + switch v := v.(*GetArtworkListRespond); i { case 0: return &v.state case 1: @@ -1544,7 +1863,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetArtworkRespond); i { + switch v := v.(*GetMgmtArtworkListRequest); i { case 0: return &v.state case 1: @@ -1556,7 +1875,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelArtworkRequest); i { + switch v := v.(*GetMgmtArtworkListRespond); i { case 0: return &v.state case 1: @@ -1568,7 +1887,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*DelArtworkRespond); i { + switch v := v.(*GetArtworkRequest); i { case 0: return &v.state case 1: @@ -1580,7 +1899,7 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*UploadArtworkRequest); i { + switch v := v.(*GetArtworkRespond); i { case 0: return &v.state case 1: @@ -1592,6 +1911,42 @@ func file_api_artwork_artwork_proto_init() { } } file_api_artwork_artwork_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelArtworkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_artwork_artwork_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DelArtworkRespond); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_artwork_artwork_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadArtworkRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_api_artwork_artwork_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadArtworkRespond); i { case 0: return &v.state @@ -1603,6 +1958,18 @@ func file_api_artwork_artwork_proto_init() { return nil } } + file_api_artwork_artwork_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApproveArtworkRespond); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } } type x struct{} out := protoimpl.TypeBuilder{ @@ -1610,7 +1977,7 @@ func file_api_artwork_artwork_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_api_artwork_artwork_proto_rawDesc, NumEnums: 0, - NumMessages: 16, + NumMessages: 20, NumExtensions: 0, NumServices: 1, }, diff --git a/pb/artwork/artwork.proto b/pb/artwork/artwork.proto index be9a93a..fe3ef67 100644 --- a/pb/artwork/artwork.proto +++ b/pb/artwork/artwork.proto @@ -7,6 +7,8 @@ service Artwork { rpc CheckUserLock (CheckUserLockRequest) returns (CheckUserLockRespond) {} rpc UpdateArtwork (UpdateArtworkRequest) returns (UpdateArtworkRespond) {} rpc GetArtworkList (GetArtworkListRequest) returns (GetArtworkListRespond) {} + rpc ApproveArtwork (ApproveArtworkRequest) returns (ApproveArtworkRespond) {} + rpc GetMgmtArtworkList (GetMgmtArtworkListRequest) returns (GetMgmtArtworkListRespond) {} rpc GetArtwork (GetArtworkRequest) returns (GetArtworkRespond) {} rpc DelArtwork (DelArtworkRequest) returns (DelArtworkRespond) {} rpc UploadArtwork (UploadArtworkRequest) returns (UploadArtworkRespond) {} @@ -25,10 +27,10 @@ message ArtworkListRequest { string Name = 3 [json_name = "name"]; string ArtistName = 4 [json_name = "artistName"]; string InvitedName = 5 [json_name = "invitedName"]; - int64 IsImport = 6 [json_name ="isImport"]; - int64 State = 7 [json_name = "state"]; - int64 Page = 8 [json_name = "page"]; - int64 Num = 9 [json_name = "num"]; + uint64 IsImport = 6 [json_name ="isImport"]; + uint64 State = 7 [json_name = "state"]; + uint64 Page = 8 [json_name = "page"]; + uint64 Num = 9 [json_name = "num"]; } message ArtworkAddRequest { @@ -65,7 +67,7 @@ message CheckUserLockRequest { message UpdateArtworkRequest { uint64 ID = 1 [json_name = "id"]; - uint64 ArtistId = 2 [json_name = "artistId"]; + string ArtistId = 2 [json_name = "artistId"]; string Name = 3 [json_name = "name"]; string ModelYear = 4 [json_name = "modelYear"]; string Photo = 5 [json_name = "photo"]; @@ -90,17 +92,38 @@ message CheckUserLockRequest { message GetArtworkListRequest { uint64 ID = 1 [json_name = "id"]; } - + + message ApproveArtworkRequest { + string ArtworkId =1 [json_name = "artworkId"]; + bool IsApprove =2 [json_name = "isApprove"]; + string Remark =3 [json_name = "remark"]; + string Remark2 =4 [json_name = "remark2"]; +} message GetArtworkListRespond { repeated UpdateArtworkRequest Data = 1 [json_name = "data"]; } + message GetMgmtArtworkListRequest { + int64 BatchId = 1 [json_name = "batchId"]; + int64 ArtistId = 2 [json_name = "artistId"]; + string Name = 3 [json_name = "name"]; + string ArtistName = 4 [json_name = "artistName"]; + string InvitedName = 5 [json_name = "invitedName"]; + uint64 IsImport = 6 [json_name ="isImport"]; + uint64 State = 7 [json_name = "state"]; + uint64 Page = 8 [json_name = "page"]; + uint64 Num = 9 [json_name = "num"]; +} + +message GetMgmtArtworkListRespond { + repeated UpdateArtworkRequest Data = 2 [json_name = "data"]; +} message GetArtworkRequest { uint64 ID = 1 [json_name = "id"]; } message GetArtworkRespond { uint64 ID = 1 [json_name = "id"]; - uint64 ArtistId = 2 [json_name = "artistId"]; + string ArtistId = 2 [json_name = "artistId"]; string Name = 3 [json_name = "name"]; string ModelYear = 4 [json_name = "modelYear"]; string Photo = 5 [json_name = "photo"]; @@ -136,4 +159,7 @@ message CheckUserLockRequest { message UploadArtworkRespond { + } + message ApproveArtworkRespond{ + } \ No newline at end of file diff --git a/pb/artwork/artwork_triple.pb.go b/pb/artwork/artwork_triple.pb.go index 0210d1a..0dea061 100644 --- a/pb/artwork/artwork_triple.pb.go +++ b/pb/artwork/artwork_triple.pb.go @@ -32,6 +32,8 @@ type ArtworkClient interface { CheckUserLock(ctx context.Context, in *CheckUserLockRequest, opts ...grpc_go.CallOption) (*CheckUserLockRespond, common.ErrorWithAttachment) UpdateArtwork(ctx context.Context, in *UpdateArtworkRequest, opts ...grpc_go.CallOption) (*UpdateArtworkRespond, common.ErrorWithAttachment) GetArtworkList(ctx context.Context, in *GetArtworkListRequest, opts ...grpc_go.CallOption) (*GetArtworkListRespond, common.ErrorWithAttachment) + ApproveArtwork(ctx context.Context, in *ApproveArtworkRequest, opts ...grpc_go.CallOption) (*ApproveArtworkRespond, common.ErrorWithAttachment) + GetMgmtArtworkList(ctx context.Context, in *GetMgmtArtworkListRequest, opts ...grpc_go.CallOption) (*GetMgmtArtworkListRespond, common.ErrorWithAttachment) GetArtwork(ctx context.Context, in *GetArtworkRequest, opts ...grpc_go.CallOption) (*GetArtworkRespond, common.ErrorWithAttachment) DelArtwork(ctx context.Context, in *DelArtworkRequest, opts ...grpc_go.CallOption) (*DelArtworkRespond, common.ErrorWithAttachment) UploadArtwork(ctx context.Context, in *UploadArtworkRequest, opts ...grpc_go.CallOption) (*UploadArtworkRespond, common.ErrorWithAttachment) @@ -42,13 +44,15 @@ type artworkClient struct { } type ArtworkClientImpl struct { - ArtworkAdd func(ctx context.Context, in *ArtworkAddRequest) (*ArtworkAddRespond, error) - CheckUserLock func(ctx context.Context, in *CheckUserLockRequest) (*CheckUserLockRespond, error) - UpdateArtwork func(ctx context.Context, in *UpdateArtworkRequest) (*UpdateArtworkRespond, error) - GetArtworkList func(ctx context.Context, in *GetArtworkListRequest) (*GetArtworkListRespond, error) - GetArtwork func(ctx context.Context, in *GetArtworkRequest) (*GetArtworkRespond, error) - DelArtwork func(ctx context.Context, in *DelArtworkRequest) (*DelArtworkRespond, error) - UploadArtwork func(ctx context.Context, in *UploadArtworkRequest) (*UploadArtworkRespond, error) + ArtworkAdd func(ctx context.Context, in *ArtworkAddRequest) (*ArtworkAddRespond, error) + CheckUserLock func(ctx context.Context, in *CheckUserLockRequest) (*CheckUserLockRespond, error) + UpdateArtwork func(ctx context.Context, in *UpdateArtworkRequest) (*UpdateArtworkRespond, error) + GetArtworkList func(ctx context.Context, in *GetArtworkListRequest) (*GetArtworkListRespond, error) + ApproveArtwork func(ctx context.Context, in *ApproveArtworkRequest) (*ApproveArtworkRespond, error) + GetMgmtArtworkList func(ctx context.Context, in *GetMgmtArtworkListRequest) (*GetMgmtArtworkListRespond, error) + GetArtwork func(ctx context.Context, in *GetArtworkRequest) (*GetArtworkRespond, error) + DelArtwork func(ctx context.Context, in *DelArtworkRequest) (*DelArtworkRespond, error) + UploadArtwork func(ctx context.Context, in *UploadArtworkRequest) (*UploadArtworkRespond, error) } func (c *ArtworkClientImpl) GetDubboStub(cc *triple.TripleConn) ArtworkClient { @@ -87,6 +91,18 @@ func (c *artworkClient) GetArtworkList(ctx context.Context, in *GetArtworkListRe return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetArtworkList", in, out) } +func (c *artworkClient) ApproveArtwork(ctx context.Context, in *ApproveArtworkRequest, opts ...grpc_go.CallOption) (*ApproveArtworkRespond, common.ErrorWithAttachment) { + out := new(ApproveArtworkRespond) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/ApproveArtwork", in, out) +} + +func (c *artworkClient) GetMgmtArtworkList(ctx context.Context, in *GetMgmtArtworkListRequest, opts ...grpc_go.CallOption) (*GetMgmtArtworkListRespond, common.ErrorWithAttachment) { + out := new(GetMgmtArtworkListRespond) + interfaceKey := ctx.Value(constant.InterfaceKey).(string) + return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetMgmtArtworkList", in, out) +} + func (c *artworkClient) GetArtwork(ctx context.Context, in *GetArtworkRequest, opts ...grpc_go.CallOption) (*GetArtworkRespond, common.ErrorWithAttachment) { out := new(GetArtworkRespond) interfaceKey := ctx.Value(constant.InterfaceKey).(string) @@ -113,6 +129,8 @@ type ArtworkServer interface { CheckUserLock(context.Context, *CheckUserLockRequest) (*CheckUserLockRespond, error) UpdateArtwork(context.Context, *UpdateArtworkRequest) (*UpdateArtworkRespond, error) GetArtworkList(context.Context, *GetArtworkListRequest) (*GetArtworkListRespond, error) + ApproveArtwork(context.Context, *ApproveArtworkRequest) (*ApproveArtworkRespond, error) + GetMgmtArtworkList(context.Context, *GetMgmtArtworkListRequest) (*GetMgmtArtworkListRespond, error) GetArtwork(context.Context, *GetArtworkRequest) (*GetArtworkRespond, error) DelArtwork(context.Context, *DelArtworkRequest) (*DelArtworkRespond, error) UploadArtwork(context.Context, *UploadArtworkRequest) (*UploadArtworkRespond, error) @@ -136,6 +154,12 @@ func (UnimplementedArtworkServer) UpdateArtwork(context.Context, *UpdateArtworkR func (UnimplementedArtworkServer) GetArtworkList(context.Context, *GetArtworkListRequest) (*GetArtworkListRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtworkList not implemented") } +func (UnimplementedArtworkServer) ApproveArtwork(context.Context, *ApproveArtworkRequest) (*ApproveArtworkRespond, error) { + return nil, status.Errorf(codes.Unimplemented, "method ApproveArtwork not implemented") +} +func (UnimplementedArtworkServer) GetMgmtArtworkList(context.Context, *GetMgmtArtworkListRequest) (*GetMgmtArtworkListRespond, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetMgmtArtworkList not implemented") +} func (UnimplementedArtworkServer) GetArtwork(context.Context, *GetArtworkRequest) (*GetArtworkRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetArtwork not implemented") } @@ -289,6 +313,64 @@ func _Artwork_GetArtworkList_Handler(srv interface{}, ctx context.Context, dec f return interceptor(ctx, in, info, handler) } +func _Artwork_ApproveArtwork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(ApproveArtworkRequest) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("ApproveArtwork", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + +func _Artwork_GetMgmtArtworkList_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { + in := new(GetMgmtArtworkListRequest) + if err := dec(in); err != nil { + return nil, err + } + base := srv.(dubbo3.Dubbo3GrpcService) + args := []interface{}{} + args = append(args, in) + md, _ := metadata.FromIncomingContext(ctx) + invAttachment := make(map[string]interface{}, len(md)) + for k, v := range md { + invAttachment[k] = v + } + invo := invocation.NewRPCInvocation("GetMgmtArtworkList", args, invAttachment) + if interceptor == nil { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + info := &grpc_go.UnaryServerInfo{ + Server: srv, + FullMethod: ctx.Value("XXX_TRIPLE_GO_INTERFACE_NAME").(string), + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + result := base.XXX_GetProxyImpl().Invoke(ctx, invo) + return result, result.Error() + } + return interceptor(ctx, in, info, handler) +} + func _Artwork_GetArtwork_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { in := new(GetArtworkRequest) if err := dec(in); err != nil { @@ -399,6 +481,14 @@ var Artwork_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "GetArtworkList", Handler: _Artwork_GetArtworkList_Handler, }, + { + MethodName: "ApproveArtwork", + Handler: _Artwork_ApproveArtwork_Handler, + }, + { + MethodName: "GetMgmtArtworkList", + Handler: _Artwork_GetMgmtArtworkList_Handler, + }, { MethodName: "GetArtwork", Handler: _Artwork_GetArtwork_Handler,