diff --git a/cmd/internal/controller/artisrInfo.go b/cmd/internal/controller/artisrInfo.go index 82eaf3a..9690daa 100644 --- a/cmd/internal/controller/artisrInfo.go +++ b/cmd/internal/controller/artisrInfo.go @@ -3,10 +3,9 @@ package controller import ( "context" "fmt" + "github.com/fonchain/fonchain-artistinfo/cmd/internal/logic" - "github.com/fonchain/fonchain-artistinfo/cmd/model" "github.com/fonchain/fonchain-artistinfo/pb/artistinfo" - db "github.com/fonchain/fonchain-artistinfo/pkg/db" ) type ArtistInfoProvider struct { @@ -68,6 +67,33 @@ func (a *ArtistInfoProvider) ArtistSupplyList(ctx context.Context, req *artistin return rep, nil } +func (a *ArtistInfoProvider) CheckInvitedCode(ctx context.Context, req *artistinfo.CheckInvitedCodeRequest) (rep *artistinfo.GetUserRespond, err error) { + fmt.Println("第一处") + // backup := &artistInfo.CheckInvitedCodeInfoRespond{} + if rep, err = a.artistInfoLogic.CheckInvitedCode(req); err != nil { + return nil, err + } + return rep, nil +} + +func (a *ArtistInfoProvider) UnFinishList(ctx context.Context, req *artistinfo.UnFinishListRequest) (rep *artistinfo.UnFinishListRespond, err error) { + fmt.Println("第一处") + // backup := &artistInfo.UnFinishListInfoRespond{} + if rep, err = a.artistInfoLogic.UnFinishList(req); err != nil { + return nil, err + } + return rep, nil +} + +func (a *ArtistInfoProvider) GetUserMsg(ctx context.Context, req *artistinfo.GetUserMsgRequest) (rep *artistinfo.GetUserMsgRespond, err error) { + fmt.Println("第一处") + // backup := &artistInfo.GetUserMsgInfoRespond{} + if rep, err = a.artistInfoLogic.GetUserMsg(req); err != nil { + return nil, err + } + return rep, nil +} + // 绑定邀请人和受邀请人的账号,并加入到次数统计 func (a *ArtistInfoProvider) BindInviteInvitedAccount(ctx context.Context, in *artistinfo.BindInviteInvitedAccountRequest) (res *artistinfo.BindInviteInvitedAccountRespond, err error) { if in.UserId == 0 || in.InvitedUserId == 0 { diff --git a/cmd/internal/dao/artistInfo.go b/cmd/internal/dao/artistInfo.go index 621499a..554fbf9 100644 --- a/cmd/internal/dao/artistInfo.go +++ b/cmd/internal/dao/artistInfo.go @@ -1,12 +1,17 @@ package dao import ( + "encoding/json" "errors" + "fmt" + "time" + "github.com/alibaba/sentinel-golang/logging" "github.com/fonchain/fonchain-artistinfo/cmd/model" "github.com/fonchain/fonchain-artistinfo/pb/artistinfo" db "github.com/fonchain/fonchain-artistinfo/pkg/db" "github.com/fonchain/fonchain-artistinfo/pkg/m" + "github.com/fonchain/utils/utils" "go.uber.org/zap" ) @@ -23,21 +28,162 @@ func RegisterUser(req *artistinfo.RegisterUserRequest) (rep *artistinfo.Register return } +func CreateUserInfo(req *artistinfo.CreateUserInfoRequest) (rep *artistinfo.CreateUserInfoRespond, err error) { + var user model.User + //找到用户 + fmt.Println("req.Id:", req.Id) + fmt.Println("第三处") + err = db.DB.Where("id = ?", req.Id).First(&user).Error + if err != nil { + fmt.Println("第四处") + fmt.Println(err.Error()) + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + fmt.Println(11) + var realNameFind model.RealName + err = db.DB.Where("id_num = ?", req.IdCard).First(&realNameFind).Error + if err == nil { + fmt.Println("第五处") + fmt.Println(12) + if realNameFind.ID != 0 { + fmt.Println("第六处") + zap.L().Error("register user err", zap.Error(err)) + err = errors.New("此身份证已实名认证") + return nil, err + } + } + fmt.Println("第四处") + fmt.Println(12) + var realname = model.RealName{ + Name: req.RealName, + IDNum: req.IdCard, + TelNum: req.TelNum, + IdcardFront: req.IdCardFront, + IdcardBack: req.IdCardBack, + } + err = db.DB.Save(&realname).Error + if err != nil { + fmt.Println("第九处") + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + + fmt.Println(13) + err = db.DB.Where("id_num=?", realname.IDNum).First(&realname).Error + if err != nil { + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + + fmt.Println(14) + user.ID = req.Id + user.Name = req.RealName + user.PenName = req.PenName + user.RealNameID = int32(realname.ID) + user.StageName = req.StageName + user.Age = int32(utils.IdCardTurnAge(realname.IDNum)) + user.Sex = req.Sex + user.JoinAssoTime = req.JoinAssoTime + user.CertificateNum = req.CertificateNum + conAddessByte, err := json.Marshal(req.ConAddress) + if err != nil { + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + user.ConAddress = string(conAddessByte) + user.CreateAt = time.Now().Unix() + user.Photo = req.Photo + user.WxAccount = req.WxAccount + user.CertificateImg = req.CertificateImg + user.Video = req.Video + user.IsRealName = 1 + var invite model.Invite + + err = db.DB.Where("user_id = ?", user.ID).First(&invite).Error + if err != nil { + logging.Info(err.Error()) + if err.Error() == "record not found" { + + } else { + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + } + if invite.ID == 0 { + InvitedId, err := CheckInvitedCodes(req.InvitedCode) + if err == nil { + var invite InviteService + invite.UserId = uint(req.Id) + invite.InvitedId = InvitedId + Createinvite(invite) + } + } + + fmt.Printf("%+v\n", user) + user.ID = req.Id + err = db.DB.Save(&user).Error + if err != nil { + zap.L().Error("CreateUserInfo err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + + return + +} + +type InvitedCodeService struct { + InvitedCode string `form:"invitedCode" json:"invitedCode"` +} +type InviteService struct { + Id uint `json:"id"` + UserId uint `form:"userId" json:"userId"` + InvitedId uint `form:"invitedId" json:"invitedId"` +} + +func Createinvite(service InviteService) { + + var invite model.Invite + invite.UserId = int32(service.UserId) + invite.InvitedId = int32(service.InvitedId) + db.DB.Create(&invite) + +} + +func CheckInvitedCodes(invitedCode string) (uint, error) { + + var user model.User + //找到用户 + if err := db.DB.Where("invited_code =?", invitedCode).Find(&user).Error; err != nil { + return 0, err + } + if user.ID == 0 { + return 0, errors.New("邀请码无效") + } + return uint(user.ID), nil +} func GetUser(req *artistinfo.GetUserRequest) (rep *artistinfo.GetUserRespond, err error) { rep = &artistinfo.GetUserRespond{} // service := &artist.UserUpdateInfoService{} var user model.User - if err = db.DB.First(&user, "tel_num = ?", req.TelNum).Error; err != nil { + if err = db.DB.Where("tel_num = ?", req.TelNum).First(&user).Error; err != nil { zap.L().Error("get user info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) return nil, err } // rep. + fmt.Println(user) rep.Id = user.ID rep.MgmtUserId = user.MgmtUserId rep.MgmtArtistId = user.MgmtArtistId rep.TelNum = user.TelNum - rep.IsFdd = user.IsFdd + rep.IsFdd = user.FddState rep.IsRealName = user.IsRealName rep.Ruler = user.Ruler // service.QrCodeImg = fmt.Sprintf("https://cdn.fontree.cn/artistmgmt/static/qrcode/%v.png", user.InvitedCode) @@ -49,19 +195,29 @@ func GetUser(req *artistinfo.GetUserRequest) (rep *artistinfo.GetUserRespond, er func GetUserById(req *artistinfo.GetUserByIdRequest) (rep *artistinfo.GetUserByIdRespond, err error) { rep = &artistinfo.GetUserByIdRespond{} + fmt.Println("id:", req.Id) + fmt.Println("123") + zap.L().Info("!!!!") + fmt.Println("456") // service := &artist.UserUpdateInfoService{} var user model.User - if err = db.DB.First(&user, "id = ?", req.Id).Error; err != nil { + fmt.Println("666") + if err = db.DB.Where("id = ?", req.Id).First(&user).Error; err != nil { + zap.L().Info("!!!!3") zap.L().Error("get user info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) - return nil, err + return } + fmt.Printf("%+v\n", user) + fmt.Println("6666") + zap.L().Info("!!!!5") // rep. + fmt.Println("777") rep.Id = user.ID rep.MgmtUserId = user.MgmtUserId rep.MgmtArtistId = user.MgmtArtistId rep.TelNum = user.TelNum - rep.IsFdd = user.IsFdd + rep.IsFdd = user.FddState rep.IsRealName = user.IsRealName rep.Ruler = user.Ruler return rep, nil @@ -161,339 +317,111 @@ func UserLock(req *artistinfo.UserLockRequest) (rep *artistinfo.UserLockRespond, return rep, nil } -// // Update 用户修改信息 -// func Create(reqs *artist.CreateUserInfoRequest) (rep *artist.CreateUserInfoRespond, err error) { -// req := reqs.Data -// rep = &artist.CreateUserInfoRespond{} -// data := &artist.User{} -// // user := rep.User -// var user model.User -// // user := rep.User -// if err = db.DB.First(&user, "id = ?", int32(reqs.Id)).Error; err != nil { -// //数据库操作异常 -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return nil, err -// } +func CheckInvitedCode(req *artistinfo.CheckInvitedCodeRequest) (rep *artistinfo.GetUserRespond, err error) { + rep = &artistinfo.GetUserRespond{} + // service := &artist.UserUpdateInfoService{} + var user model.User + if err = db.DB.First(&user, "invited_code = ?", req.InvitedCode).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + // rep. + rep.Id = user.ID + rep.MgmtUserId = user.MgmtUserId + rep.MgmtArtistId = user.MgmtArtistId + rep.TelNum = user.TelNum + rep.IsFdd = user.IsFdd + rep.IsRealName = user.IsRealName + rep.Ruler = user.Ruler + // service.QrCodeImg = fmt.Sprintf("https://cdn.fontree.cn/artistmgmt/static/qrcode/%v.png", user.InvitedCode) -// var realNameFind model.RealName -// if err = db.DB.First(&realNameFind, "id_num = ?", req.IdCard).Error; err != nil { -// zap.L().Error("get realName info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return nil, err -// } else { -// if realNameFind.ID != 0 { -// return nil, errors.New(m.ERROR_ALREADY_AUTH) -// } -// } + // service.QrCodeImgDownload = fmt.Sprintf("https://cdn.fontree.cn/artistmgmt/static/qrcode/%v-2.png", user.InvitedCode) + // rep.Data = service + return rep, nil +} -// var realname = model.RealName{ -// Name: req.RealName, -// IDNum: req.IdCard, -// TelNum: req.TelNum, -// IdcardFront: req.IdCardFront, -// IdcardBack: req.IdCardBack, -// } -// if err = db.DB.Save(&realname).Error; err != nil { -// zap.L().Error("save realName info err", zap.Error(err)) -// err = errors.New(m.SAVE_ERROR) -// return nil, err -// } +func UnFinishList(req *artistinfo.UnFinishListRequest) (rep *artistinfo.UnFinishListRespond, err error) { + rep = &artistinfo.UnFinishListRespond{} + var user model.User + if err := db.DB.Where("id = ? ", req.Id).First(&user).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err -// if err = db.DB.First(&realname, "id_num=?", realname.IDNum).Error; err != nil { -// zap.L().Error("get realName info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return nil, err -// } + } + var realName model.RealName + if err := db.DB.Where("id = ? ", user.RealNameID).First(&realName).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + var contract model.Contract + var contractCount int64 + if err := db.DB.Model(&contract).Where("state = ? and (user_id = ? or card_id = ?) and (type =1 or type = 2 or type = 3)", "1", user.ID, realName.IDNum).Count(&contractCount).Error; err != nil { + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.ContractList = contractCount + var accountStateCount int64 + fmt.Println(realName.IDNum) + if err := db.DB.Model(&contract).Where("state = ? and (user_id = ? or card_id = ?) and type = 4", "1", user.ID, realName.IDNum).Count(&accountStateCount).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.AccountStateList = accountStateCount + var supplyInfo model.SupplyInfo + var supplyInfoCount int64 + if err := db.DB.Model(&supplyInfo).Where("types = ? and user_id = ? ", "1", user.ID).Count(&supplyInfoCount).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.SupplyInfoList += supplyInfoCount + var exhVideo model.ExhVideo + var exhVideoCount int64 + if err := db.DB.Model(&exhVideo).Where("types = ? and user_id = ? ", "1", user.ID).Count(&exhVideoCount).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.SupplyInfoList += exhVideoCount + var exhExam model.ExhExam + var exhExamCount int64 + if err := db.DB.Model(&exhExam).Where("types = ? and user_id = ? ", "1", user.ID).Count(&exhExamCount).Error; err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep.SupplyInfoList += exhExamCount -// // user.ID = int32(reqs.Id) -// user.Name = req.RealName -// user.PenName = req.PenName -// user.RealNameID = int32(realname.ID) -// user.StageName = req.StageName -// user.Age = int32(util.IdCardTurnAge(realname.IDNum)) -// user.Sex = int32(req.Sex) -// user.JoinAssoTime = req.JoinAssoTime -// user.CertificateNum = req.CertificateNum -// conAddessByte, err := json.Marshal(req.ConAddress) -// if err != nil { -// zap.L().Error("conAddress marshal err", zap.Error(err)) -// err = errors.New(m.ERROR_MARSHAL) -// return nil, err -// } + return rep, nil +} -// user.ConAddress = string(conAddessByte) -// user.CreateAt = time.Now().Unix() -// user.Photo = req.Photo -// user.WxAccount = req.WxAccount -// user.CertificateImg = req.CertificateImg -// user.Video = req.Video -// // user.IsRealName = true -// var invite model.Invite -// if err = db.DB.Where("user_id = ?", user.ID).First(&invite).Error; err != nil { -// zap.L().Error("get invite info err", zap.Error(err)) -// if err.Error() == "record not found" { -// } else { -// err = errors.New(m.SAVE_ERROR) -// return nil, err -// } -// } +func GetUserMsg(req *artistinfo.GetUserMsgRequest) (rep *artistinfo.GetUserMsgRespond, err error) { + var user model.User -// if invite.ID == 0 { -// res, err := CheckInvitedCode(req.InvitedCode) -// if err != nil { -// Createinvite(user.ID, res.ID) -// } -// } -// user.ID = int32(reqs.Id) -// if err = db.DB.Save(user).Error; err != nil { -// zap.L().Error("save user info err", zap.Error(err)) -// err = errors.New(m.SAVE_ERROR) -// return nil, err -// } - -// copyOpt := util.CopyOption{ -// Src: &user, -// Dst: data, -// } -// util.CopyStructSuper(copyOpt) -// rep.User = data -// return rep, nil -// } - -// // Get 用户修改信息 -// func GetUserInfoSelf(id int64) (rep *model.UserUpdateInfoService, err error) { -// rep = &model.UserUpdateInfoService{} -// var user model.User -// if err = db.DB.First(&user, "id = ?", int32(id)).Error; err != nil { -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } - -// var realName model.RealName -// if err = db.DB.First(&realName, "id = ?", user.RealNameID).Error; err != nil { -// zap.L().Error("get realName info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } - -// var artworkList []model.Artwork -// if err = db.DB.Where("artist_id = ? ", uint(id)).Find(&artworkList).Error; err != nil { -// zap.L().Error("get artworkList info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } - -// for _, v := range artworkList { -// if v.State == 3 { -// rep.Ruler = rep.Ruler + int32(v.Ruler) -// } -// } - -// rep.TelNum = user.TelNum -// rep.CertificateNum = user.CertificateNum -// if user.CertificateImg != "" { -// rep.CertificateImg = fmt.Sprintf("%v?v=%d", user.CertificateImg, user.UpdatedAt.Unix()) -// } -// rep.RealName = realName.Name -// rep.PenName = user.PenName -// rep.Age = int32(util.IdCardTurnAge(realName.IDNum)) - -// rep.IdCard = realName.IDNum -// rep.StageName = user.StageName -// rep.WxAccount = user.WxAccount -// rep.JoinAssoTime = user.JoinAssoTime -// rep.IdCardFront = fmt.Sprintf("%v?v=%d", realName.IdcardFront, realName.UpdatedAt.Unix()) -// rep.IdCardBack = fmt.Sprintf("%v?v=%d", realName.IdcardBack, realName.UpdatedAt.Unix()) -// var conAddressArr []string -// err = json.Unmarshal([]byte(user.ConAddress), &conAddressArr) -// if err != nil { -// zap.L().Error("conAddressArr unmarshal err", zap.Error(err)) -// err = errors.New(m.ERROR_UNMARSHAL) -// return nil, err -// } -// rep.ConAddress = conAddressArr -// rep.InvitedCode = user.InvitedCode - -// var invited model.Invite -// if err = db.DB.Where("user_id=?", user.ID).First(&invited).Error; err != nil { -// zap.L().Error("get invited info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } - -// var invitedUser model.User -// if err = db.DB.Where("id=?", invited.InvitedId).First(&invitedUser).Error; err != nil { -// zap.L().Error("get invitedUser info err", zap.Error(err)) -// err = errors.New(m.ERROR_UNMARSHAL) -// return -// } -// rep.InvitedName = invitedUser.Name -// rep.Sex = user.Sex -// rep.FddState = user.FddState -// rep.CustomerId = user.CustomerId -// rep.Photo = fmt.Sprintf("%v?v=%d", user.Photo, user.UpdatedAt.Unix()) -// if user.Video != "" { -// rep.Video = fmt.Sprintf("%v?v=%d", user.Video, user.UpdatedAt.Unix()) -// } -// rep.QrCodeImg = fmt.Sprintf("https://cdn.fontree.cn/artistmgmt/static/qrcode/%v.png", user.InvitedCode) -// rep.QrCodeImgDownload = fmt.Sprintf("https://cdn.fontree.cn/artistmgmt/static/qrcode/%v-2.png", user.InvitedCode) - -// return rep, nil -// } - -// func Update(req *artist.UpdateUserInfoRequest) (rep *artist.UpdateUserInfoRespond, err error) { -// rep = &artist.UpdateUserInfoRespond{} -// data := &artist.User{} -// var user model.User -// if err = db.DB.First(&user, "id = ?", int32(req.Id)).Error; err != nil { -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } -// user.PenName = req.Data.PenName -// user.Photo = req.Data.Photo -// user.Video = req.Data.Video -// user.CertificateImg = req.Data.CertificateImg -// conAddessByte, err := json.Marshal(req.Data.ConAddress) -// if err != nil { -// zap.L().Error("conAddress marshal err", zap.Error(err)) -// err = errors.New(m.ERROR_MARSHAL) -// return nil, err -// } -// user.ConAddress = string(conAddessByte) -// user.WxAccount = req.Data.WxAccount -// user.CertificateNum = req.Data.CertificateNum -// if err = db.DB.Save(&user).Error; err != nil { -// zap.L().Error("save user info err", zap.Error(err)) -// err = errors.New(m.SAVE_ERROR) -// return -// } - -// var realName model.RealName -// if err = db.DB.First(&realName, "id = ?", user.RealNameID).Error; err != nil { -// zap.L().Error("get RealName info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } - -// realName.IdcardBack = req.Data.IdCardBack -// realName.IdcardFront = req.Data.IdCardFront -// if err = db.DB.Save(&realName).Error; err != nil { -// zap.L().Error("save realName info err", zap.Error(err)) -// err = errors.New(m.SAVE_ERROR) -// return -// } -// copyOpt := util.CopyOption{ -// Src: &user, -// Dst: data, -// } -// util.CopyStructSuper(copyOpt) -// rep.User = data -// return -// } - -// func UpdateTel(req *artist.UserUpdateTelRequest) (rep *artist.UserUpdateTelRespond, err error) { -// rep = &artist.UserUpdateTelRespond{} -// var user model.User -// if err = db.DB.First(&user, int32(req.Id)).Error; err != nil { -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } -// str := cache.RedisClient.Get(req.TelNum) -// verCode := str.Val() -// if verCode != req.VerCode { -// zap.L().Error("verCode err", zap.Error(err)) -// err = errors.New(m.ERRORCODE) -// return -// } -// if user.TelNum == req.TelNum { -// zap.L().Error("TelNum err", zap.Error(err)) -// err = errors.New(m.ERROT_SAME_TEL) -// return -// } -// user.TelNum = req.TelNum -// if err = db.DB.Save(&user).Error; err != nil { -// zap.L().Error("save user info err", zap.Error(err)) -// err = errors.New(m.SAVE_ERROR) -// return -// } -// rep.TelNum = user.TelNum -// return -// } - -// func UpdateMsg(req *artist.UserUpdateMsgRequest) (rep *artist.UserUpdateMsgRespond, err error) { -// var user model.User -// user.IsRealName = true -// user.ID = int32(req.Id) -// if err = db.DB.Model(&user).Update("is_read", 1).Error; err != nil { -// zap.L().Error("user update failed", zap.Error(err)) -// err = errors.New(m.UPDATE_FAILED) -// return -// } -// return -// } - -// func VerifyFdd(req *artist.VerifyfddRequest) (rep *artist.VerifyfddRespond, err error) { -// rep = &artist.VerifyfddRespond{} -// var user model.User -// if err = db.DB.Where("id = ?", int32(req.Id)).First(&user).Error; err != nil { -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return -// } -// if user.FddState != 2 { -// return -// } -// rep.Ready = true -// return -// } - -// func FinishVerify(req *artist.FinishVerifyRequest) (rep *artist.FinishVerifyRespond, err error) { -// rep = &artist.FinishVerifyRespond{} -// data := &artist.User{} -// var user model.User -// user.ID = int32(req.Id) -// if err = db.DB.Model(&user).Update("fdd_state", 2).Error; err != nil { -// zap.L().Error("user update failed", zap.Error(err)) -// err = errors.New(m.UPDATE_FAILED) -// return -// } -// copyOpt := util.CopyOption{ -// Src: &user, -// Dst: data, -// } -// util.CopyStructSuper(copyOpt) -// rep.User = data -// return -// } - -// func CheckInvitedCode(invitedCode string) (user *model.User, err error) { -// user = &model.User{} -// //找到用户 -// if err := db.DB.Where("invited_code =?", invitedCode).Find(user).Error; err != nil { -// zap.L().Error("get user info err", zap.Error(err)) -// err = errors.New(m.ERROR_SELECT) -// return nil, err -// } -// if user.ID == 0 { -// err = errors.New(m.INVITE_CODE_INVALID) -// return nil, err -// } -// return user, nil -// } - -// func Createinvite(userId, invitedId int32) (invite *model.Invite, err error) { -// invite = &model.Invite{} -// invite.UserId = userId -// invite.InvitedId = invitedId -// if err := db.DB.Create(&invite).Error; err != nil { -// zap.L().Error("create invite info err", zap.Error(err)) -// err = errors.New(m.CREATE_ERROR) -// return nil, err -// } -// return invite, nil - -// } + err = db.DB.Where("id = ?", req.Id).First(&user).Error + if err != nil { + zap.L().Error("get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + userByte, err := json.Marshal(user) + if err != nil { + zap.L().Error("1get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + fmt.Println(string(userByte)) + var re = new(artistinfo.GetUserMsgRespond) + err = json.Unmarshal(userByte, re) + if err != nil { + zap.L().Error("1get user info err", zap.Error(err)) + err = errors.New(m.ERROR_SELECT) + return nil, err + } + rep = re + return rep, nil +} diff --git a/cmd/internal/dao/artwork.go b/cmd/internal/dao/artwork.go index 09d8f04..7eac705 100644 --- a/cmd/internal/dao/artwork.go +++ b/cmd/internal/dao/artwork.go @@ -3,6 +3,8 @@ package dao import ( "encoding/json" "errors" + "fmt" + "github.com/fonchain/fonchain-artistinfo/cmd/model" "github.com/fonchain/fonchain-artistinfo/pb/artwork" db "github.com/fonchain/fonchain-artistinfo/pkg/db" @@ -50,13 +52,15 @@ func CheckUserLock(id int64) (err error) { err = errors.New(m.ERROR_SELECT) return } - + fmt.Printf("%+v\n", user) if user.IsLock { + fmt.Println(user.IsLock) + fmt.Println("22222") zap.L().Error("user is lock") return errors.New(m.ERROR_ISLOCK) } - - return + fmt.Println("333333") + return nil } func UpdateArtwork(data *artwork.UpdateArtworkRequest) (err error) { @@ -128,14 +132,16 @@ func ApproveArtwork(req *artwork.ApproveArtworkRequest) (rep *artwork.ApproveArt func GetArtworkList(req *artwork.GetArtworkListRequest) (rep *artwork.GetArtworkListRespond, err error) { rep = &artwork.GetArtworkListRespond{} var datas []*artwork.UpdateArtworkRequest - + fmt.Println("111") var artworkList []model.Artwork //找到用户 p[] - if err = db.DB.Order("created_at desc").Where("id = ?", req.ID).Find(&artworkList).Error; err != nil { + if err = db.DB.Order("created_at desc").Where("artist_id = ?", req.ID).Find(&artworkList).Error; err != nil { + fmt.Println("222") zap.L().Error("get artwork info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) return } + fmt.Println("333") for k, v := range artworkList { artworkList[k].CreateTime = v.CreatedAt.Format("2006-01-02") var data artwork.UpdateArtworkRequest @@ -167,15 +173,15 @@ func GetArtwork(id int32) (rep *artwork.GetArtworkRespond, err error) { rep = &artwork.GetArtworkRespond{} var artworkRes model.Artwork - if err = db.DB.Find(&artworkRes, "id = ? and deleted_at is null", id).Error; err != nil { + if err = db.DB.Where("id = ?", id).First(&artworkRes).Error; err != nil { zap.L().Error("get artwork info err", zap.Error(err)) err = errors.New(m.ERROR_SELECT) return } artworkRes.CreateTime = artworkRes.CreatedAt.Format("2006-01-02") - var createAddressByte []string - json.Unmarshal([]byte(artworkRes.CreateAddress), &createAddressByte) + //var createAddressByte []string + //json.Unmarshal([]byte(artworkRes.CreateAddress), &createAddressByte) rep.ID = uint64(artworkRes.ID) // rep.ArtistId = uint64(artworkRes.ArtistId) rep.Name = artworkRes.Name @@ -183,7 +189,10 @@ func GetArtwork(id int32) (rep *artwork.GetArtworkRespond, err error) { rep.Photo = artworkRes.Photo rep.ArtistPhoto = artworkRes.ArtistPhoto rep.Width = uint64(artworkRes.Width) - rep.CreateAddress = createAddressByte + if artworkRes.CreateAddress == "" { + artworkRes.CreateAddress = "[]" + } + rep.CreateAddress = artworkRes.CreateAddress rep.Height = uint64(artworkRes.Height) rep.Ruler = uint64(artworkRes.Ruler) rep.Introduct = artworkRes.Introduct @@ -192,7 +201,7 @@ func GetArtwork(id int32) (rep *artwork.GetArtworkRespond, err error) { rep.NetworkTrace = artworkRes.NetworkTrace rep.Url = artworkRes.Url rep.State = uint64(artworkRes.State) - return + return rep, nil } func UploadArtwork(Id uint64) (err error) { diff --git a/cmd/internal/logic/artistInfo.go b/cmd/internal/logic/artistInfo.go index 003bdd3..31ec05f 100644 --- a/cmd/internal/logic/artistInfo.go +++ b/cmd/internal/logic/artistInfo.go @@ -1,6 +1,7 @@ package logic import ( + "fmt" "github.com/fonchain/fonchain-artistinfo/cmd/internal/dao" "github.com/fonchain/fonchain-artistinfo/pb/artistinfo" ) @@ -9,6 +10,7 @@ type IArtistInfo interface { RegisterUser(req *artistinfo.RegisterUserRequest) (rep *artistinfo.RegisterUserRespond, err error) GetUserById(req *artistinfo.GetUserByIdRequest) (rep *artistinfo.GetUserByIdRespond, err error) GetUser(req *artistinfo.GetUserRequest) (rep *artistinfo.GetUserRespond, err error) + CreateUserInfo(req *artistinfo.CreateUserInfoRequest) (rep *artistinfo.CreateUserInfoRespond, err error) 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) @@ -25,11 +27,16 @@ func (a *ArtistInfo) GetUser(req *artistinfo.GetUserRequest) (rep *artistinfo.Ge rep, err = dao.GetUser(req) return } + func (a *ArtistInfo) RegisterUser(req *artistinfo.RegisterUserRequest) (rep *artistinfo.RegisterUserRespond, err error) { rep, err = dao.RegisterUser(req) return } - +func (a *ArtistInfo) CreateUserInfo(req *artistinfo.CreateUserInfoRequest) (rep *artistinfo.CreateUserInfoRespond, err error) { + fmt.Println("第二处") + rep, err = dao.CreateUserInfo(req) + return +} func (a *ArtistInfo) GetUserById(req *artistinfo.GetUserByIdRequest) (rep *artistinfo.GetUserByIdRespond, err error) { rep, err = dao.GetUserById(req) return @@ -57,3 +64,17 @@ func (a *ArtistInfo) UserLock(req *artistinfo.UserLockRequest) (rep *artistinfo. rep, err = dao.UserLock(req) return } +func (a *ArtistInfo) CheckInvitedCode(req *artistinfo.CheckInvitedCodeRequest) (rep *artistinfo.GetUserRespond, err error) { + rep, err = dao.CheckInvitedCode(req) + return +} + +func (a *ArtistInfo) UnFinishList(req *artistinfo.UnFinishListRequest) (rep *artistinfo.UnFinishListRespond, err error) { + rep, err = dao.UnFinishList(req) + return +} + +func (a *ArtistInfo) GetUserMsg(req *artistinfo.GetUserMsgRequest) (rep *artistinfo.GetUserMsgRespond, err error) { + rep, err = dao.GetUserMsg(req) + return +} diff --git a/cmd/model/user.go b/cmd/model/user.go index 01a6ed0..cca8d85 100644 --- a/cmd/model/user.go +++ b/cmd/model/user.go @@ -30,6 +30,7 @@ type User struct { Video string `gorm:"type:varchar(256) not null"` IsRealName int64 `gorm:"not null"` IsFdd int64 `gorm:"not null"` + FddState int64 `gorm:"not null"` WxAccount string `gorm:"type:varchar(256) not null"` IsLock bool `gorm:"not null"` InvitedCode string `gorm:"type:varchar(16) default ''"` diff --git a/conf/conf.ini b/conf/conf.ini index 70afc14..4c60a3c 100644 --- a/conf/conf.ini +++ b/conf/conf.ini @@ -1,22 +1,16 @@ [system] mode = dev #正式prod #测试dev -#[mysql] -#Db = mysql -#DbHost = 172.16.100.99 #214 -#DbPort = 9007 -#DbUser = artuser -#DbPassWord = "C250PflXIWv2SQm8" -#DbArtist = artist [mysql] Db = mysql -DbHost = 106.13.166.247 +DbHost = mysql DbPort = 3306 -DbUser = date002 -DbPassWord = "pnR)1J)_GzbEnC0" +DbUser = root +DbPassWord = 123456 DbName = artistmgmttest [redis] + RedisDB = 2 RedisAddr = 172.16.100.99:9008 RedisPW = "nDCTrfTtBu3Pw" diff --git a/conf/dev/dubbogo.yaml b/conf/dev/dubbogo.yaml index 015034f..9783e91 100644 --- a/conf/dev/dubbogo.yaml +++ b/conf/dev/dubbogo.yaml @@ -12,7 +12,7 @@ dubbo: protocols: triple: #triple name: tri - port: 20016 + port: 20050 provider: services: ArtistInfoProvider: diff --git a/conf/dubbogo.yaml b/conf/dubbogo.yaml index 5859060..fe3ce93 100644 --- a/conf/dubbogo.yaml +++ b/conf/dubbogo.yaml @@ -7,30 +7,30 @@ dubbo: registries: demoZK: protocol: zookeeper - timeout: 3s -# address: 127.0.0.1:2181 + timeout: 120s + # address: 127.0.0.1:2181 # address: 121.229.45.214:9004 # address: 114.218.158.24:2181 - address: 172.16.100.93:2181 + address: zookeeper:2181 protocols: triple: #triple name: tri # ip: 121.229.45.214 - port: 20004 + port: 20050 provider: services: - 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 #预热时间 + ArtistInfoProvider: + interface: com.fontree.microservices.common.ArtistInfo + # retries: 100 + ContractProvider: + interface: com.fontree.microservices.common.Contract + # retries: 0 + ArtWorkProvider: + interface: com.fontree.microservices.common.ArtWork + # retries: 0 + SupplyProvider: + interface: com.fontree.microservices.common.Supply + # retries: 0 logger: zap-config: level: info # 日志级别 @@ -70,4 +70,8 @@ dubbo: # 是否使用本地时间,默认使用 UTC 时间 localTime: true # 是否压缩日志文件,压缩方法 gzip - compress: false \ No newline at end of file + compress: false + + + + \ No newline at end of file diff --git a/conf/prod/dubbogo.yaml b/conf/prod/dubbogo.yaml index 27bdb8b..c697f56 100644 --- a/conf/prod/dubbogo.yaml +++ b/conf/prod/dubbogo.yaml @@ -16,7 +16,7 @@ dubbo: triple: #triple name: tri # ip: 121.229.45.214 - port: 20016 + port: 20050 provider: services: ArtistInfoProvider: diff --git a/conf/test/dubbogo.yaml b/conf/test/dubbogo.yaml index 9a31a38..fe3ce93 100644 --- a/conf/test/dubbogo.yaml +++ b/conf/test/dubbogo.yaml @@ -7,21 +7,21 @@ dubbo: registries: demoZK: protocol: zookeeper - timeout: 3s + timeout: 120s # address: 127.0.0.1:2181 # address: 121.229.45.214:9004 # address: 114.218.158.24:2181 - address: 172.16.100.93:2181 + address: zookeeper:2181 protocols: triple: #triple name: tri # ip: 121.229.45.214 - port: 20016 + port: 20050 provider: services: ArtistInfoProvider: interface: com.fontree.microservices.common.ArtistInfo - # retries: 0 + # retries: 100 ContractProvider: interface: com.fontree.microservices.common.Contract # retries: 0 @@ -70,4 +70,8 @@ dubbo: # 是否使用本地时间,默认使用 UTC 时间 localTime: true # 是否压缩日志文件,压缩方法 gzip - compress: false \ No newline at end of file + compress: false + + + + \ No newline at end of file diff --git a/pb/artistinfo/artistinfo.pb.go b/pb/artistinfo/artistinfo.pb.go index 06a579f..d47bbde 100644 --- a/pb/artistinfo/artistinfo.pb.go +++ b/pb/artistinfo/artistinfo.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 -// protoc v4.22.0--rc2 +// protoc-gen-go v1.26.0 +// protoc v3.9.0 // source: pb/artistinfo/artistinfo.proto package artistinfo @@ -1551,6 +1551,7 @@ type CreateUserInfoRequest struct { QrCodeImgDownload string `protobuf:"bytes,23,opt,name=QrCodeImgDownload,json=qrCodeDownload,proto3" json:"QrCodeImgDownload,omitempty"` HtmlType string `protobuf:"bytes,24,opt,name=HtmlType,json=htmlType,proto3" json:"HtmlType,omitempty"` EnvType string `protobuf:"bytes,25,opt,name=EnvType,json=envType,proto3" json:"EnvType,omitempty"` + Id uint64 `protobuf:"varint,26,opt,name=Id,json=id,proto3" json:"Id,omitempty"` } func (x *CreateUserInfoRequest) Reset() { @@ -1760,6 +1761,13 @@ func (x *CreateUserInfoRequest) GetEnvType() string { return "" } +func (x *CreateUserInfoRequest) GetId() uint64 { + if x != nil { + return x.Id + } + return 0 +} + type CreateUserInfoRespond struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2615,115 +2623,6 @@ func (*UserLockRespond) Descriptor() ([]byte, []int) { return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{32} } -type BindInviteInvitedAccountRequest struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - UserId int32 `protobuf:"varint,1,opt,name=UserId,proto3" json:"UserId,omitempty"` //邀请人账号id - InvitedUserId int32 `protobuf:"varint,2,opt,name=InvitedUserId,proto3" json:"InvitedUserId,omitempty"` // 受邀请人账号id - InviteCode int32 `protobuf:"varint,3,opt,name=InviteCode,proto3" json:"InviteCode,omitempty"` //邀请人的邀请码 - InvitedCode int32 `protobuf:"varint,4,opt,name=InvitedCode,proto3" json:"InvitedCode,omitempty"` //受邀请人的邀请码 -} - -func (x *BindInviteInvitedAccountRequest) Reset() { - *x = BindInviteInvitedAccountRequest{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BindInviteInvitedAccountRequest) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BindInviteInvitedAccountRequest) ProtoMessage() {} - -func (x *BindInviteInvitedAccountRequest) ProtoReflect() protoreflect.Message { - mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[33] - 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 BindInviteInvitedAccountRequest.ProtoReflect.Descriptor instead. -func (*BindInviteInvitedAccountRequest) Descriptor() ([]byte, []int) { - return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{33} -} - -func (x *BindInviteInvitedAccountRequest) GetUserId() int32 { - if x != nil { - return x.UserId - } - return 0 -} - -func (x *BindInviteInvitedAccountRequest) GetInvitedUserId() int32 { - if x != nil { - return x.InvitedUserId - } - return 0 -} - -func (x *BindInviteInvitedAccountRequest) GetInviteCode() int32 { - if x != nil { - return x.InviteCode - } - return 0 -} - -func (x *BindInviteInvitedAccountRequest) GetInvitedCode() int32 { - if x != nil { - return x.InvitedCode - } - return 0 -} - -type BindInviteInvitedAccountRespond struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *BindInviteInvitedAccountRespond) Reset() { - *x = BindInviteInvitedAccountRespond{} - if protoimpl.UnsafeEnabled { - mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *BindInviteInvitedAccountRespond) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*BindInviteInvitedAccountRespond) ProtoMessage() {} - -func (x *BindInviteInvitedAccountRespond) ProtoReflect() protoreflect.Message { - mi := &file_pb_artistinfo_artistinfo_proto_msgTypes[34] - 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 BindInviteInvitedAccountRespond.ProtoReflect.Descriptor instead. -func (*BindInviteInvitedAccountRespond) Descriptor() ([]byte, []int) { - return file_pb_artistinfo_artistinfo_proto_rawDescGZIP(), []int{34} -} - var File_pb_artistinfo_artistinfo_proto protoreflect.FileDescriptor var file_pb_artistinfo_artistinfo_proto_rawDesc = []byte{ @@ -2914,7 +2813,7 @@ var file_pb_artistinfo_artistinfo_proto_rawDesc = []byte{ 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, + 0x73, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x81, 0x06, 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, @@ -2961,7 +2860,8 @@ var file_pb_artistinfo_artistinfo_proto_rawDesc = []byte{ 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, + 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x65, 0x6e, 0x76, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0e, + 0x0a, 0x02, 0x49, 0x64, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x04, 0x52, 0x02, 0x69, 0x64, 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, @@ -3066,107 +2966,87 @@ var file_pb_artistinfo_artistinfo_proto_rawDesc = []byte{ 0x0a, 0x02, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x02, 0x49, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x49, 0x73, 0x4c, 0x6f, 0x63, 0x6b, 0x22, 0x11, 0x0a, 0x0f, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, - 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0xa1, 0x01, 0x0a, 0x1f, 0x42, 0x69, - 0x6e, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x41, - 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x06, 0x55, - 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x24, 0x0a, 0x0d, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, - 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0d, 0x49, 0x6e, - 0x76, 0x69, 0x74, 0x65, 0x64, 0x55, 0x73, 0x65, 0x72, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x0a, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x0a, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x49, - 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x05, - 0x52, 0x0b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x21, 0x0a, - 0x1f, 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, - 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, - 0x32, 0xdb, 0x0a, 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, 0x12, 0x46, 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, - 0x6b, 0x12, 0x1b, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, - 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, - 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, - 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x55, 0x0a, - 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, - 0x65, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, - 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 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, 0x52, 0x0a, 0x0c, 0x55, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, - 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, - 0x6f, 0x2e, 0x55, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, - 0x66, 0x6f, 0x2e, 0x55, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, - 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, 0x1d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, - 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, - 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x76, 0x0a, 0x18, 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, - 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, - 0x6e, 0x74, 0x12, 0x2b, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, - 0x42, 0x69, 0x6e, 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, - 0x64, 0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x2b, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x42, 0x69, 0x6e, - 0x64, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x49, 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x41, 0x63, - 0x63, 0x6f, 0x75, 0x6e, 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, + 0x63, 0x6b, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x32, 0xe3, 0x09, 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, 0x12, 0x46, + 0x0a, 0x08, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x12, 0x1b, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, + 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x73, 0x65, 0x72, 0x4c, 0x6f, 0x63, 0x6b, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x64, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x10, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, + 0x6e, 0x76, 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x23, 0x2e, 0x61, 0x72, 0x74, + 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x49, 0x6e, 0x76, + 0x69, 0x74, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 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, 0x52, 0x0a, + 0x0c, 0x55, 0x6e, 0x46, 0x69, 0x6e, 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1f, 0x2e, + 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x6e, 0x46, 0x69, 0x6e, + 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, + 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x55, 0x6e, 0x46, 0x69, + 0x6e, 0x69, 0x73, 0x68, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x22, + 0x00, 0x12, 0x4c, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x12, + 0x1d, 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, + 0x55, 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, + 0x2e, 0x61, 0x72, 0x74, 0x69, 0x73, 0x74, 0x69, 0x6e, 0x66, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x55, + 0x73, 0x65, 0x72, 0x4d, 0x73, 0x67, 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 ( @@ -3181,7 +3061,7 @@ func file_pb_artistinfo_artistinfo_proto_rawDescGZIP() []byte { return file_pb_artistinfo_artistinfo_proto_rawDescData } -var file_pb_artistinfo_artistinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 35) +var file_pb_artistinfo_artistinfo_proto_msgTypes = make([]protoimpl.MessageInfo, 33) var file_pb_artistinfo_artistinfo_proto_goTypes = []interface{}{ (*GetUserMsgRequest)(nil), // 0: artistinfo.GetUserMsgRequest (*GetUserMsgRespond)(nil), // 1: artistinfo.GetUserMsgRespond @@ -3216,8 +3096,6 @@ var file_pb_artistinfo_artistinfo_proto_goTypes = []interface{}{ (*ArtistArtworkSupplyListResponseData)(nil), // 30: artistinfo.ArtistArtworkSupplyListResponseData (*UserLockRequest)(nil), // 31: artistinfo.UserLockRequest (*UserLockRespond)(nil), // 32: artistinfo.UserLockRespond - (*BindInviteInvitedAccountRequest)(nil), // 33: artistinfo.BindInviteInvitedAccountRequest - (*BindInviteInvitedAccountRespond)(nil), // 34: artistinfo.BindInviteInvitedAccountRespond } var file_pb_artistinfo_artistinfo_proto_depIdxs = []int32{ 30, // 0: artistinfo.ArtistSupplyListRespond.Data:type_name -> artistinfo.ArtistArtworkSupplyListResponseData @@ -3236,25 +3114,23 @@ var file_pb_artistinfo_artistinfo_proto_depIdxs = []int32{ 2, // 13: artistinfo.ArtistInfo.CheckInvitedCode:input_type -> artistinfo.CheckInvitedCodeRequest 4, // 14: artistinfo.ArtistInfo.UnFinishList:input_type -> artistinfo.UnFinishListRequest 0, // 15: artistinfo.ArtistInfo.GetUserMsg:input_type -> artistinfo.GetUserMsgRequest - 33, // 16: artistinfo.ArtistInfo.BindInviteInvitedAccount:input_type -> artistinfo.BindInviteInvitedAccountRequest - 7, // 17: artistinfo.ArtistInfo.UploadPic:output_type -> artistinfo.UploadPicRespond - 9, // 18: artistinfo.ArtistInfo.UploadIdCard:output_type -> artistinfo.UploadIdCardRespond - 12, // 19: artistinfo.ArtistInfo.RegisterUser:output_type -> artistinfo.RegisterUserRespond - 14, // 20: artistinfo.ArtistInfo.GetUser:output_type -> artistinfo.GetUserRespond - 16, // 21: artistinfo.ArtistInfo.GetUserById:output_type -> artistinfo.GetUserByIdRespond - 19, // 22: artistinfo.ArtistInfo.CreateUser:output_type -> artistinfo.CreateUserRespond - 21, // 23: artistinfo.ArtistInfo.CreateUserInfo:output_type -> artistinfo.CreateUserInfoRespond - 23, // 24: artistinfo.ArtistInfo.UpdateRealName:output_type -> artistinfo.UpdateRealNameRespond - 25, // 25: artistinfo.ArtistInfo.FinishVerify:output_type -> artistinfo.FinishVerifyRespond - 27, // 26: artistinfo.ArtistInfo.CheckUserLock:output_type -> artistinfo.CheckUserLockRespond - 29, // 27: artistinfo.ArtistInfo.ArtistSupplyList:output_type -> artistinfo.ArtistSupplyListRespond - 32, // 28: artistinfo.ArtistInfo.UserLock:output_type -> artistinfo.UserLockRespond - 14, // 29: artistinfo.ArtistInfo.CheckInvitedCode:output_type -> artistinfo.GetUserRespond - 5, // 30: artistinfo.ArtistInfo.UnFinishList:output_type -> artistinfo.UnFinishListRespond - 1, // 31: artistinfo.ArtistInfo.GetUserMsg:output_type -> artistinfo.GetUserMsgRespond - 34, // 32: artistinfo.ArtistInfo.BindInviteInvitedAccount:output_type -> artistinfo.BindInviteInvitedAccountRespond - 17, // [17:33] is the sub-list for method output_type - 1, // [1:17] is the sub-list for method input_type + 7, // 16: artistinfo.ArtistInfo.UploadPic:output_type -> artistinfo.UploadPicRespond + 9, // 17: artistinfo.ArtistInfo.UploadIdCard:output_type -> artistinfo.UploadIdCardRespond + 12, // 18: artistinfo.ArtistInfo.RegisterUser:output_type -> artistinfo.RegisterUserRespond + 14, // 19: artistinfo.ArtistInfo.GetUser:output_type -> artistinfo.GetUserRespond + 16, // 20: artistinfo.ArtistInfo.GetUserById:output_type -> artistinfo.GetUserByIdRespond + 19, // 21: artistinfo.ArtistInfo.CreateUser:output_type -> artistinfo.CreateUserRespond + 21, // 22: artistinfo.ArtistInfo.CreateUserInfo:output_type -> artistinfo.CreateUserInfoRespond + 23, // 23: artistinfo.ArtistInfo.UpdateRealName:output_type -> artistinfo.UpdateRealNameRespond + 25, // 24: artistinfo.ArtistInfo.FinishVerify:output_type -> artistinfo.FinishVerifyRespond + 27, // 25: artistinfo.ArtistInfo.CheckUserLock:output_type -> artistinfo.CheckUserLockRespond + 29, // 26: artistinfo.ArtistInfo.ArtistSupplyList:output_type -> artistinfo.ArtistSupplyListRespond + 32, // 27: artistinfo.ArtistInfo.UserLock:output_type -> artistinfo.UserLockRespond + 14, // 28: artistinfo.ArtistInfo.CheckInvitedCode:output_type -> artistinfo.GetUserRespond + 5, // 29: artistinfo.ArtistInfo.UnFinishList:output_type -> artistinfo.UnFinishListRespond + 1, // 30: artistinfo.ArtistInfo.GetUserMsg:output_type -> artistinfo.GetUserMsgRespond + 16, // [16:31] is the sub-list for method output_type + 1, // [1:16] 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 @@ -3662,30 +3538,6 @@ func file_pb_artistinfo_artistinfo_proto_init() { return nil } } - file_pb_artistinfo_artistinfo_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BindInviteInvitedAccountRequest); 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[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BindInviteInvitedAccountRespond); 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{ @@ -3693,7 +3545,7 @@ func file_pb_artistinfo_artistinfo_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_pb_artistinfo_artistinfo_proto_rawDesc, NumEnums: 0, - NumMessages: 35, + NumMessages: 33, NumExtensions: 0, NumServices: 1, }, diff --git a/pb/artistinfo/artistinfo.proto b/pb/artistinfo/artistinfo.proto index 1c68944..5dc2844 100644 --- a/pb/artistinfo/artistinfo.proto +++ b/pb/artistinfo/artistinfo.proto @@ -3,29 +3,29 @@ package artistinfo; option go_package = "./;artistinfo"; // 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) {} - rpc RegisterUser (RegisterUserRequest) returns (RegisterUserRespond){} - rpc GetUser(GetUserRequest) returns (GetUserRespond){} - rpc GetUserById(GetUserByIdRequest) returns (GetUserByIdRespond){} - rpc CreateUser (CreateUserRequest) returns (CreateUserRespond){} - rpc CreateUserInfo (CreateUserInfoRequest) returns (CreateUserInfoRespond){} - rpc UpdateRealName (UpdateRealNameRequest) returns (UpdateRealNameRespond){} - rpc FinishVerify (FinishVerifyRequest) returns (FinishVerifyRespond){} - rpc CheckUserLock (CheckUserLockRequest) returns (CheckUserLockRespond) {} - rpc ArtistSupplyList (ArtistSupplyListRequest) returns (ArtistSupplyListRespond){} - rpc UserLock (UserLockRequest) returns(UserLockRespond){} - rpc CheckInvitedCode(CheckInvitedCodeRequest)returns (GetUserRespond){} - rpc UnFinishList(UnFinishListRequest)returns (UnFinishListRespond){} - rpc GetUserMsg(GetUserMsgRequest) returns (GetUserMsgRespond){} - rpc BindInviteInvitedAccount(BindInviteInvitedAccountRequest)returns(BindInviteInvitedAccountRespond){} + rpc UploadPic (UploadPicRequest) returns (UploadPicRespond) {} + rpc UploadIdCard (UploadIdCardRequest) returns (UploadIdCardRespond) {} + rpc RegisterUser (RegisterUserRequest) returns (RegisterUserRespond){} + rpc GetUser(GetUserRequest) returns (GetUserRespond){} + rpc GetUserById(GetUserByIdRequest) returns (GetUserByIdRespond){} + rpc CreateUser (CreateUserRequest) returns (CreateUserRespond){} + rpc CreateUserInfo (CreateUserInfoRequest) returns (CreateUserInfoRespond){} + rpc UpdateRealName (UpdateRealNameRequest) returns (UpdateRealNameRespond){} + rpc FinishVerify (FinishVerifyRequest) returns (FinishVerifyRespond){} + rpc CheckUserLock (CheckUserLockRequest) returns (CheckUserLockRespond) {} + rpc ArtistSupplyList (ArtistSupplyListRequest) returns (ArtistSupplyListRespond){} + rpc UserLock (UserLockRequest) returns(UserLockRespond){} + rpc CheckInvitedCode(CheckInvitedCodeRequest)returns (GetUserRespond){} + rpc UnFinishList(UnFinishListRequest)returns (UnFinishListRespond){} + rpc GetUserMsg(GetUserMsgRequest) returns (GetUserMsgRespond){} + rpc BindInviteInvitedAccount(BindInviteInvitedAccountRequest)returns(BindInviteInvitedAccountRespond){} } -message GetUserMsgRequest{ - uint64 Id =1; -} + message GetUserMsgRequest{ + uint64 Id =1; + } -message GetUserMsgRespond{ + message GetUserMsgRespond{ uint64 ID =1[json_name = "id"]; uint64 MgmtUserId =2[json_name = "mgmtUserId"]; string MgmtArtistId =3[json_name = "mgmtArtistId"]; @@ -60,25 +60,24 @@ message GetUserMsgRespond{ int32 IsRead =32[json_name = "isRead"]; int32 IsImport =33[json_name = "isImport"]; bool Enable =34[json_name = "enable"]; -} + } + message CheckInvitedCodeRequest { + string InvitedCode =1; + } + message CheckInvitedCodeRespond { -message CheckInvitedCodeRequest { - string InvitedCode =1; -} + } + message UnFinishListRequest { + uint64 Id = 1; + } -message CheckInvitedCodeRespond { - -} -message UnFinishListRequest { - uint64 Id = 1; -} - -message UnFinishListRespond { + message UnFinishListRespond { int64 ContractList =1; int64 SupplyInfoList =2; int64 AccountStateList =3; -} + } + message UploadPicRequest { } @@ -117,7 +116,7 @@ message GetUserRequest { } message GetUserRespond { - uint64 Id =1 ; + uint64 Id =1; uint64 MgmtUserId =2; string MgmtArtistId = 3; string TelNum = 4; diff --git a/pb/artistinfo/artistinfo_triple.pb.go b/pb/artistinfo/artistinfo_triple.pb.go index 199dbff..d1f1f48 100644 --- a/pb/artistinfo/artistinfo_triple.pb.go +++ b/pb/artistinfo/artistinfo_triple.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-triple. DO NOT EDIT. // versions: -// - protoc-gen-go-triple v1.0.8 -// - protoc v4.22.0--rc2 +// - protoc-gen-go-triple v1.0.5 +// - protoc v3.9.0 // source: pb/artistinfo/artistinfo.proto package artistinfo @@ -43,7 +43,6 @@ type ArtistInfoClient interface { CheckInvitedCode(ctx context.Context, in *CheckInvitedCodeRequest, opts ...grpc_go.CallOption) (*GetUserRespond, common.ErrorWithAttachment) UnFinishList(ctx context.Context, in *UnFinishListRequest, opts ...grpc_go.CallOption) (*UnFinishListRespond, common.ErrorWithAttachment) GetUserMsg(ctx context.Context, in *GetUserMsgRequest, opts ...grpc_go.CallOption) (*GetUserMsgRespond, common.ErrorWithAttachment) - BindInviteInvitedAccount(ctx context.Context, in *BindInviteInvitedAccountRequest, opts ...grpc_go.CallOption) (*BindInviteInvitedAccountRespond, common.ErrorWithAttachment) } type artistInfoClient struct { @@ -51,22 +50,21 @@ 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) - ArtistSupplyList func(ctx context.Context, in *ArtistSupplyListRequest) (*ArtistSupplyListRespond, error) - UserLock func(ctx context.Context, in *UserLockRequest) (*UserLockRespond, error) - CheckInvitedCode func(ctx context.Context, in *CheckInvitedCodeRequest) (*GetUserRespond, error) - UnFinishList func(ctx context.Context, in *UnFinishListRequest) (*UnFinishListRespond, error) - GetUserMsg func(ctx context.Context, in *GetUserMsgRequest) (*GetUserMsgRespond, error) - BindInviteInvitedAccount func(ctx context.Context, in *BindInviteInvitedAccountRequest) (*BindInviteInvitedAccountRespond, 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) + UserLock func(ctx context.Context, in *UserLockRequest) (*UserLockRespond, error) + CheckInvitedCode func(ctx context.Context, in *CheckInvitedCodeRequest) (*GetUserRespond, error) + UnFinishList func(ctx context.Context, in *UnFinishListRequest) (*UnFinishListRespond, error) + GetUserMsg func(ctx context.Context, in *GetUserMsgRequest) (*GetUserMsgRespond, error) } func (c *ArtistInfoClientImpl) GetDubboStub(cc *triple.TripleConn) ArtistInfoClient { @@ -171,12 +169,6 @@ func (c *artistInfoClient) GetUserMsg(ctx context.Context, in *GetUserMsgRequest return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/GetUserMsg", in, out) } -func (c *artistInfoClient) BindInviteInvitedAccount(ctx context.Context, in *BindInviteInvitedAccountRequest, opts ...grpc_go.CallOption) (*BindInviteInvitedAccountRespond, common.ErrorWithAttachment) { - out := new(BindInviteInvitedAccountRespond) - interfaceKey := ctx.Value(constant.InterfaceKey).(string) - return out, c.cc.Invoke(ctx, "/"+interfaceKey+"/BindInviteInvitedAccount", in, out) -} - // ArtistInfoServer is the server API for ArtistInfo service. // All implementations must embed UnimplementedArtistInfoServer // for forward compatibility @@ -196,7 +188,6 @@ type ArtistInfoServer interface { CheckInvitedCode(context.Context, *CheckInvitedCodeRequest) (*GetUserRespond, error) UnFinishList(context.Context, *UnFinishListRequest) (*UnFinishListRespond, error) GetUserMsg(context.Context, *GetUserMsgRequest) (*GetUserMsgRespond, error) - BindInviteInvitedAccount(context.Context, *BindInviteInvitedAccountRequest) (*BindInviteInvitedAccountRespond, error) mustEmbedUnimplementedArtistInfoServer() } @@ -250,9 +241,6 @@ func (UnimplementedArtistInfoServer) UnFinishList(context.Context, *UnFinishList func (UnimplementedArtistInfoServer) GetUserMsg(context.Context, *GetUserMsgRequest) (*GetUserMsgRespond, error) { return nil, status.Errorf(codes.Unimplemented, "method GetUserMsg not implemented") } -func (UnimplementedArtistInfoServer) BindInviteInvitedAccount(context.Context, *BindInviteInvitedAccountRequest) (*BindInviteInvitedAccountRespond, error) { - return nil, status.Errorf(codes.Unimplemented, "method BindInviteInvitedAccount not implemented") -} func (s *UnimplementedArtistInfoServer) XXX_SetProxyImpl(impl protocol.Invoker) { s.proxyImpl = impl } @@ -716,35 +704,6 @@ func _ArtistInfo_GetUserMsg_Handler(srv interface{}, ctx context.Context, dec fu return interceptor(ctx, in, info, handler) } -func _ArtistInfo_BindInviteInvitedAccount_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc_go.UnaryServerInterceptor) (interface{}, error) { - in := new(BindInviteInvitedAccountRequest) - 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("BindInviteInvitedAccount", 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) @@ -812,10 +771,6 @@ var ArtistInfo_ServiceDesc = grpc_go.ServiceDesc{ MethodName: "GetUserMsg", Handler: _ArtistInfo_GetUserMsg_Handler, }, - { - MethodName: "BindInviteInvitedAccount", - Handler: _ArtistInfo_BindInviteInvitedAccount_Handler, - }, }, Streams: []grpc_go.StreamDesc{}, Metadata: "pb/artistinfo/artistinfo.proto", diff --git a/pb/artwork/artwork.pb.go b/pb/artwork/artwork.pb.go index 36590c7..ec0e092 100644 --- a/pb/artwork/artwork.pb.go +++ b/pb/artwork/artwork.pb.go @@ -2,7 +2,7 @@ // versions: // protoc-gen-go v1.26.0 // protoc v3.9.0 -// source: api/artwork/artwork.proto +// source: pb/artwork/artwork.proto package artwork @@ -34,7 +34,7 @@ type ListInterfaceRespond struct { func (x *ListInterfaceRespond) Reset() { *x = ListInterfaceRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[0] + mi := &file_pb_artwork_artwork_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -47,7 +47,7 @@ func (x *ListInterfaceRespond) String() string { func (*ListInterfaceRespond) ProtoMessage() {} func (x *ListInterfaceRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[0] + mi := &file_pb_artwork_artwork_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -60,7 +60,7 @@ func (x *ListInterfaceRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use ListInterfaceRespond.ProtoReflect.Descriptor instead. func (*ListInterfaceRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{0} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{0} } func (x *ListInterfaceRespond) GetTotal() int64 { @@ -103,7 +103,7 @@ type ArtworkListRequest struct { func (x *ArtworkListRequest) Reset() { *x = ArtworkListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[1] + mi := &file_pb_artwork_artwork_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -116,7 +116,7 @@ func (x *ArtworkListRequest) String() string { func (*ArtworkListRequest) ProtoMessage() {} func (x *ArtworkListRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[1] + mi := &file_pb_artwork_artwork_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -129,7 +129,7 @@ func (x *ArtworkListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkListRequest.ProtoReflect.Descriptor instead. func (*ArtworkListRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{1} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{1} } func (x *ArtworkListRequest) GetBatchId() int64 { @@ -221,7 +221,7 @@ type ArtworkAddRequest struct { func (x *ArtworkAddRequest) Reset() { *x = ArtworkAddRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[2] + mi := &file_pb_artwork_artwork_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -234,7 +234,7 @@ func (x *ArtworkAddRequest) String() string { func (*ArtworkAddRequest) ProtoMessage() {} func (x *ArtworkAddRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[2] + mi := &file_pb_artwork_artwork_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -247,7 +247,7 @@ func (x *ArtworkAddRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkAddRequest.ProtoReflect.Descriptor instead. func (*ArtworkAddRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{2} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{2} } func (x *ArtworkAddRequest) GetID() uint64 { @@ -371,7 +371,7 @@ type ArtworkAddRespond struct { func (x *ArtworkAddRespond) Reset() { *x = ArtworkAddRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[3] + mi := &file_pb_artwork_artwork_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -384,7 +384,7 @@ func (x *ArtworkAddRespond) String() string { func (*ArtworkAddRespond) ProtoMessage() {} func (x *ArtworkAddRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[3] + mi := &file_pb_artwork_artwork_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -397,7 +397,7 @@ func (x *ArtworkAddRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use ArtworkAddRespond.ProtoReflect.Descriptor instead. func (*ArtworkAddRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{3} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{3} } type CheckUserLockRequest struct { @@ -411,7 +411,7 @@ type CheckUserLockRequest struct { func (x *CheckUserLockRequest) Reset() { *x = CheckUserLockRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[4] + mi := &file_pb_artwork_artwork_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -424,7 +424,7 @@ func (x *CheckUserLockRequest) String() string { func (*CheckUserLockRequest) ProtoMessage() {} func (x *CheckUserLockRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[4] + mi := &file_pb_artwork_artwork_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -437,7 +437,7 @@ func (x *CheckUserLockRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckUserLockRequest.ProtoReflect.Descriptor instead. func (*CheckUserLockRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{4} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{4} } func (x *CheckUserLockRequest) GetID() uint64 { @@ -456,7 +456,7 @@ type CheckUserLockRespond struct { func (x *CheckUserLockRespond) Reset() { *x = CheckUserLockRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[5] + mi := &file_pb_artwork_artwork_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -469,7 +469,7 @@ func (x *CheckUserLockRespond) String() string { func (*CheckUserLockRespond) ProtoMessage() {} func (x *CheckUserLockRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[5] + mi := &file_pb_artwork_artwork_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -482,7 +482,7 @@ func (x *CheckUserLockRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use CheckUserLockRespond.ProtoReflect.Descriptor instead. func (*CheckUserLockRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{5} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{5} } type UpdateArtworkRequest struct { @@ -511,7 +511,7 @@ type UpdateArtworkRequest struct { func (x *UpdateArtworkRequest) Reset() { *x = UpdateArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[6] + mi := &file_pb_artwork_artwork_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -524,7 +524,7 @@ func (x *UpdateArtworkRequest) String() string { func (*UpdateArtworkRequest) ProtoMessage() {} func (x *UpdateArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[6] + mi := &file_pb_artwork_artwork_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -537,7 +537,7 @@ func (x *UpdateArtworkRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateArtworkRequest.ProtoReflect.Descriptor instead. func (*UpdateArtworkRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{6} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{6} } func (x *UpdateArtworkRequest) GetID() uint64 { @@ -661,7 +661,7 @@ type UpdateArtworkRespond struct { func (x *UpdateArtworkRespond) Reset() { *x = UpdateArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[7] + mi := &file_pb_artwork_artwork_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -674,7 +674,7 @@ func (x *UpdateArtworkRespond) String() string { func (*UpdateArtworkRespond) ProtoMessage() {} func (x *UpdateArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[7] + mi := &file_pb_artwork_artwork_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -687,7 +687,7 @@ func (x *UpdateArtworkRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use UpdateArtworkRespond.ProtoReflect.Descriptor instead. func (*UpdateArtworkRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{7} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{7} } type GetArtworkListRequest struct { @@ -701,7 +701,7 @@ type GetArtworkListRequest struct { func (x *GetArtworkListRequest) Reset() { *x = GetArtworkListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[8] + mi := &file_pb_artwork_artwork_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -714,7 +714,7 @@ func (x *GetArtworkListRequest) String() string { func (*GetArtworkListRequest) ProtoMessage() {} func (x *GetArtworkListRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[8] + mi := &file_pb_artwork_artwork_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -727,7 +727,7 @@ func (x *GetArtworkListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetArtworkListRequest.ProtoReflect.Descriptor instead. func (*GetArtworkListRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{8} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{8} } func (x *GetArtworkListRequest) GetID() uint64 { @@ -752,7 +752,7 @@ type ApproveArtworkRequest struct { func (x *ApproveArtworkRequest) Reset() { *x = ApproveArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[9] + mi := &file_pb_artwork_artwork_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -765,7 +765,7 @@ func (x *ApproveArtworkRequest) String() string { func (*ApproveArtworkRequest) ProtoMessage() {} func (x *ApproveArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[9] + mi := &file_pb_artwork_artwork_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -778,7 +778,7 @@ func (x *ApproveArtworkRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveArtworkRequest.ProtoReflect.Descriptor instead. func (*ApproveArtworkRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{9} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{9} } func (x *ApproveArtworkRequest) GetArtworkId() int32 { @@ -827,7 +827,7 @@ type GetArtworkListRespond struct { func (x *GetArtworkListRespond) Reset() { *x = GetArtworkListRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[10] + mi := &file_pb_artwork_artwork_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -840,7 +840,7 @@ func (x *GetArtworkListRespond) String() string { func (*GetArtworkListRespond) ProtoMessage() {} func (x *GetArtworkListRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[10] + mi := &file_pb_artwork_artwork_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -853,7 +853,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{10} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{10} } func (x *GetArtworkListRespond) GetData() []*UpdateArtworkRequest { @@ -881,7 +881,7 @@ type GetMgmtArtworkListRequest struct { func (x *GetMgmtArtworkListRequest) Reset() { *x = GetMgmtArtworkListRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[11] + mi := &file_pb_artwork_artwork_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -894,7 +894,7 @@ func (x *GetMgmtArtworkListRequest) String() string { func (*GetMgmtArtworkListRequest) ProtoMessage() {} func (x *GetMgmtArtworkListRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[11] + mi := &file_pb_artwork_artwork_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -907,7 +907,7 @@ func (x *GetMgmtArtworkListRequest) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMgmtArtworkListRequest.ProtoReflect.Descriptor instead. func (*GetMgmtArtworkListRequest) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{11} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{11} } func (x *GetMgmtArtworkListRequest) GetArtistId() uint64 { @@ -978,7 +978,7 @@ type GetMgmtArtworkListRespond struct { func (x *GetMgmtArtworkListRespond) Reset() { *x = GetMgmtArtworkListRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[12] + mi := &file_pb_artwork_artwork_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -991,7 +991,7 @@ func (x *GetMgmtArtworkListRespond) String() string { func (*GetMgmtArtworkListRespond) ProtoMessage() {} func (x *GetMgmtArtworkListRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[12] + mi := &file_pb_artwork_artwork_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1004,7 +1004,7 @@ func (x *GetMgmtArtworkListRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use GetMgmtArtworkListRespond.ProtoReflect.Descriptor instead. func (*GetMgmtArtworkListRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{12} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{12} } func (x *GetMgmtArtworkListRespond) GetCount() uint64 { @@ -1032,7 +1032,7 @@ type GetArtworkRequest struct { func (x *GetArtworkRequest) Reset() { *x = GetArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[13] + mi := &file_pb_artwork_artwork_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1045,7 +1045,7 @@ func (x *GetArtworkRequest) String() string { func (*GetArtworkRequest) ProtoMessage() {} func (x *GetArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[13] + mi := &file_pb_artwork_artwork_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1058,7 +1058,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{13} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{13} } func (x *GetArtworkRequest) GetID() uint64 { @@ -1073,28 +1073,28 @@ type GetArtworkRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,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"` - ArtistPhoto string `protobuf:"bytes,6,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto,omitempty"` - Width uint64 `protobuf:"varint,7,opt,name=Width,json=width,proto3" json:"Width,omitempty"` - CreateAddress []string `protobuf:"bytes,8,rep,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress,omitempty"` - Height uint64 `protobuf:"varint,9,opt,name=Height,json=height,proto3" json:"Height,omitempty"` - Ruler uint64 `protobuf:"varint,10,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - Introduct string `protobuf:"bytes,11,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - AgeOfCreation string `protobuf:"bytes,12,opt,name=AgeOfCreation,json=ageOfCreation,proto3" json:"AgeOfCreation,omitempty"` - CreateAt string `protobuf:"bytes,13,opt,name=CreateAt,json=createAt,proto3" json:"CreateAt,omitempty"` - NetworkTrace bool `protobuf:"varint,14,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace,omitempty"` - Url string `protobuf:"bytes,15,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - State uint64 `protobuf:"varint,16,opt,name=State,json=state,proto3" json:"State,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,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"` + ArtistPhoto string `protobuf:"bytes,6,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto,omitempty"` + Width uint64 `protobuf:"varint,7,opt,name=Width,json=width,proto3" json:"Width,omitempty"` + CreateAddress string `protobuf:"bytes,8,opt,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress,omitempty"` + Height uint64 `protobuf:"varint,9,opt,name=Height,json=height,proto3" json:"Height,omitempty"` + Ruler uint64 `protobuf:"varint,10,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` + Introduct string `protobuf:"bytes,11,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` + AgeOfCreation string `protobuf:"bytes,12,opt,name=AgeOfCreation,json=ageOfCreation,proto3" json:"AgeOfCreation,omitempty"` + CreateAt string `protobuf:"bytes,13,opt,name=CreateAt,json=createAt,proto3" json:"CreateAt,omitempty"` + NetworkTrace bool `protobuf:"varint,14,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace,omitempty"` + Url string `protobuf:"bytes,15,opt,name=Url,json=url,proto3" json:"Url,omitempty"` + State uint64 `protobuf:"varint,16,opt,name=State,json=state,proto3" json:"State,omitempty"` } func (x *GetArtworkRespond) Reset() { *x = GetArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[14] + mi := &file_pb_artwork_artwork_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1107,7 +1107,7 @@ func (x *GetArtworkRespond) String() string { func (*GetArtworkRespond) ProtoMessage() {} func (x *GetArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[14] + mi := &file_pb_artwork_artwork_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1120,7 +1120,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{14} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{14} } func (x *GetArtworkRespond) GetID() uint64 { @@ -1172,11 +1172,11 @@ func (x *GetArtworkRespond) GetWidth() uint64 { return 0 } -func (x *GetArtworkRespond) GetCreateAddress() []string { +func (x *GetArtworkRespond) GetCreateAddress() string { if x != nil { return x.CreateAddress } - return nil + return "" } func (x *GetArtworkRespond) GetHeight() uint64 { @@ -1247,7 +1247,7 @@ type DelArtworkRequest struct { func (x *DelArtworkRequest) Reset() { *x = DelArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[15] + mi := &file_pb_artwork_artwork_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1260,7 +1260,7 @@ func (x *DelArtworkRequest) String() string { func (*DelArtworkRequest) ProtoMessage() {} func (x *DelArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[15] + mi := &file_pb_artwork_artwork_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1273,7 +1273,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{15} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{15} } func (x *DelArtworkRequest) GetId() uint64 { @@ -1299,7 +1299,7 @@ type DelArtworkRespond struct { func (x *DelArtworkRespond) Reset() { *x = DelArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[16] + mi := &file_pb_artwork_artwork_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1312,7 +1312,7 @@ func (x *DelArtworkRespond) String() string { func (*DelArtworkRespond) ProtoMessage() {} func (x *DelArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[16] + mi := &file_pb_artwork_artwork_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1325,7 +1325,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{16} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{16} } type UploadArtworkRequest struct { @@ -1339,7 +1339,7 @@ type UploadArtworkRequest struct { func (x *UploadArtworkRequest) Reset() { *x = UploadArtworkRequest{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[17] + mi := &file_pb_artwork_artwork_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1352,7 +1352,7 @@ func (x *UploadArtworkRequest) String() string { func (*UploadArtworkRequest) ProtoMessage() {} func (x *UploadArtworkRequest) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[17] + mi := &file_pb_artwork_artwork_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1365,7 +1365,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{17} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{17} } func (x *UploadArtworkRequest) GetID() uint64 { @@ -1384,7 +1384,7 @@ type UploadArtworkRespond struct { func (x *UploadArtworkRespond) Reset() { *x = UploadArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[18] + mi := &file_pb_artwork_artwork_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1397,7 +1397,7 @@ func (x *UploadArtworkRespond) String() string { func (*UploadArtworkRespond) ProtoMessage() {} func (x *UploadArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[18] + mi := &file_pb_artwork_artwork_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1410,7 +1410,7 @@ 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{18} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{18} } type ApproveArtworkRespond struct { @@ -1422,7 +1422,7 @@ type ApproveArtworkRespond struct { func (x *ApproveArtworkRespond) Reset() { *x = ApproveArtworkRespond{} if protoimpl.UnsafeEnabled { - mi := &file_api_artwork_artwork_proto_msgTypes[19] + mi := &file_pb_artwork_artwork_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1435,7 +1435,7 @@ func (x *ApproveArtworkRespond) String() string { func (*ApproveArtworkRespond) ProtoMessage() {} func (x *ApproveArtworkRespond) ProtoReflect() protoreflect.Message { - mi := &file_api_artwork_artwork_proto_msgTypes[19] + mi := &file_pb_artwork_artwork_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1448,144 +1448,39 @@ func (x *ApproveArtworkRespond) ProtoReflect() protoreflect.Message { // Deprecated: Use ApproveArtworkRespond.ProtoReflect.Descriptor instead. func (*ApproveArtworkRespond) Descriptor() ([]byte, []int) { - return file_api_artwork_artwork_proto_rawDescGZIP(), []int{19} + return file_pb_artwork_artwork_proto_rawDescGZIP(), []int{19} } -var File_api_artwork_artwork_proto protoreflect.FileDescriptor +var File_pb_artwork_artwork_proto protoreflect.FileDescriptor -var file_api_artwork_artwork_proto_rawDesc = []byte{ - 0x0a, 0x19, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x72, - 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x41, 0x72, 0x74, - 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x52, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, - 0x72, 0x66, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, - 0x54, 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, - 0x61, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xf8, 0x01, 0x0a, 0x12, 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, 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, - 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, 0x13, 0x0a, 0x11, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 0x41, 0x64, 0x64, 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, 0xc2, 0x03, 0x0a, 0x14, 0x55, - 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, 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, - 0x16, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, - 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, 0xab, 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, 0x05, 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, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x67, 0x6d, 0x74, - 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0d, 0x6d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 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, 0xea, 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, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, +var file_pb_artwork_artwork_proto_rawDesc = []byte{ + 0x0a, 0x18, 0x70, 0x62, 0x2f, 0x61, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x2f, 0x61, 0x72, 0x74, + 0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x61, 0x72, 0x74, 0x77, + 0x6f, 0x72, 0x6b, 0x22, 0x52, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x6e, 0x74, 0x65, 0x72, + 0x66, 0x61, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x54, + 0x6f, 0x74, 0x61, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x05, 0x74, 0x6f, 0x74, 0x61, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x44, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, + 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x4d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x22, 0xf8, 0x01, 0x0a, 0x12, 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, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x61, 0x72, + 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, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 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, 0x05, 0x20, 0x01, 0x28, 0x04, 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, - 0x06, 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x50, 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, - 0x12, 0x15, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, - 0x28, 0x04, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x64, 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, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x04, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 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, 0x44, 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, - 0x49, 0x44, 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, + 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, 0x69, - 0x73, 0x74, 0x49, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x61, 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, @@ -1610,123 +1505,228 @@ var file_api_artwork_artwork_proto_rawDesc = []byte{ 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, + 0x74, 0x61, 0x74, 0x65, 0x22, 0x13, 0x0a, 0x11, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x41, + 0x64, 0x64, 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, 0xc2, 0x03, 0x0a, 0x14, 0x55, 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, 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, + 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, 0x16, + 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 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, + 0xab, 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, 0x05, 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, 0x12, 0x24, 0x0a, 0x0d, 0x4d, 0x67, 0x6d, 0x74, 0x41, + 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, + 0x6d, 0x67, 0x6d, 0x74, 0x41, 0x72, 0x74, 0x77, 0x6f, 0x72, 0x6b, 0x49, 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, 0x61, 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, 0xea, 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, 0x1a, 0x0a, 0x08, 0x41, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x61, 0x72, 0x74, 0x69, 0x73, + 0x74, 0x49, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x02, 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, 0x03, 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, 0x04, 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, 0x05, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x69, 0x73, 0x49, + 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x53, 0x74, 0x61, 0x74, 0x65, 0x18, 0x06, + 0x20, 0x01, 0x28, 0x04, 0x52, 0x05, 0x73, 0x74, 0x61, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x50, + 0x61, 0x67, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x70, 0x61, 0x67, 0x65, 0x12, + 0x15, 0x0a, 0x08, 0x50, 0x61, 0x67, 0x65, 0x53, 0x69, 0x7a, 0x65, 0x18, 0x08, 0x20, 0x01, 0x28, + 0x04, 0x52, 0x03, 0x6e, 0x75, 0x6d, 0x22, 0x64, 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, 0x14, 0x0a, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x04, 0x52, 0x05, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x31, 0x0a, 0x04, 0x44, 0x61, 0x74, + 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x61, 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, 0x44, 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, 0x49, + 0x44, 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, 0x01, 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, 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, + 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, 0x61, + 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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, 0x61, 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 ( - file_api_artwork_artwork_proto_rawDescOnce sync.Once - file_api_artwork_artwork_proto_rawDescData = file_api_artwork_artwork_proto_rawDesc + file_pb_artwork_artwork_proto_rawDescOnce sync.Once + file_pb_artwork_artwork_proto_rawDescData = file_pb_artwork_artwork_proto_rawDesc ) -func file_api_artwork_artwork_proto_rawDescGZIP() []byte { - file_api_artwork_artwork_proto_rawDescOnce.Do(func() { - file_api_artwork_artwork_proto_rawDescData = protoimpl.X.CompressGZIP(file_api_artwork_artwork_proto_rawDescData) +func file_pb_artwork_artwork_proto_rawDescGZIP() []byte { + file_pb_artwork_artwork_proto_rawDescOnce.Do(func() { + file_pb_artwork_artwork_proto_rawDescData = protoimpl.X.CompressGZIP(file_pb_artwork_artwork_proto_rawDescData) }) - return file_api_artwork_artwork_proto_rawDescData + return file_pb_artwork_artwork_proto_rawDescData } -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 - (*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_pb_artwork_artwork_proto_msgTypes = make([]protoimpl.MessageInfo, 20) +var file_pb_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 + (*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 - 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 +var file_pb_artwork_artwork_proto_depIdxs = []int32{ + 6, // 0: artwork.GetArtworkListRespond.Data:type_name -> artwork.UpdateArtworkRequest + 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 @@ -1734,13 +1734,13 @@ var file_api_artwork_artwork_proto_depIdxs = []int32{ 0, // [0:2] is the sub-list for field type_name } -func init() { file_api_artwork_artwork_proto_init() } -func file_api_artwork_artwork_proto_init() { - if File_api_artwork_artwork_proto != nil { +func init() { file_pb_artwork_artwork_proto_init() } +func file_pb_artwork_artwork_proto_init() { + if File_pb_artwork_artwork_proto != nil { return } if !protoimpl.UnsafeEnabled { - file_api_artwork_artwork_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListInterfaceRespond); i { case 0: return &v.state @@ -1752,7 +1752,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkListRequest); i { case 0: return &v.state @@ -1764,7 +1764,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkAddRequest); i { case 0: return &v.state @@ -1776,7 +1776,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ArtworkAddRespond); i { case 0: return &v.state @@ -1788,7 +1788,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckUserLockRequest); i { case 0: return &v.state @@ -1800,7 +1800,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*CheckUserLockRespond); i { case 0: return &v.state @@ -1812,7 +1812,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateArtworkRequest); i { case 0: return &v.state @@ -1824,7 +1824,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UpdateArtworkRespond); i { case 0: return &v.state @@ -1836,7 +1836,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetArtworkListRequest); i { case 0: return &v.state @@ -1848,7 +1848,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApproveArtworkRequest); i { case 0: return &v.state @@ -1860,7 +1860,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetArtworkListRespond); i { case 0: return &v.state @@ -1872,7 +1872,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMgmtArtworkListRequest); i { case 0: return &v.state @@ -1884,7 +1884,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetMgmtArtworkListRespond); i { case 0: return &v.state @@ -1896,7 +1896,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetArtworkRequest); i { case 0: return &v.state @@ -1908,7 +1908,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetArtworkRespond); i { case 0: return &v.state @@ -1920,7 +1920,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelArtworkRequest); i { case 0: return &v.state @@ -1932,7 +1932,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*DelArtworkRespond); i { case 0: return &v.state @@ -1944,7 +1944,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadArtworkRequest); i { case 0: return &v.state @@ -1956,7 +1956,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UploadArtworkRespond); i { case 0: return &v.state @@ -1968,7 +1968,7 @@ func file_api_artwork_artwork_proto_init() { return nil } } - file_api_artwork_artwork_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + file_pb_artwork_artwork_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApproveArtworkRespond); i { case 0: return &v.state @@ -1985,18 +1985,18 @@ func file_api_artwork_artwork_proto_init() { out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), - RawDescriptor: file_api_artwork_artwork_proto_rawDesc, + RawDescriptor: file_pb_artwork_artwork_proto_rawDesc, NumEnums: 0, NumMessages: 20, NumExtensions: 0, NumServices: 1, }, - GoTypes: file_api_artwork_artwork_proto_goTypes, - DependencyIndexes: file_api_artwork_artwork_proto_depIdxs, - MessageInfos: file_api_artwork_artwork_proto_msgTypes, + GoTypes: file_pb_artwork_artwork_proto_goTypes, + DependencyIndexes: file_pb_artwork_artwork_proto_depIdxs, + MessageInfos: file_pb_artwork_artwork_proto_msgTypes, }.Build() - File_api_artwork_artwork_proto = out.File - file_api_artwork_artwork_proto_rawDesc = nil - file_api_artwork_artwork_proto_goTypes = nil - file_api_artwork_artwork_proto_depIdxs = nil + File_pb_artwork_artwork_proto = out.File + file_pb_artwork_artwork_proto_rawDesc = nil + file_pb_artwork_artwork_proto_goTypes = nil + file_pb_artwork_artwork_proto_depIdxs = nil } diff --git a/pb/artwork/artwork.proto b/pb/artwork/artwork.proto index 0ded29b..b640593 100644 --- a/pb/artwork/artwork.proto +++ b/pb/artwork/artwork.proto @@ -1,7 +1,7 @@ syntax = "proto3"; -package Artwork; +package artwork; option go_package = "./;artwork"; -//$ protoc --proto_path=. --go_out=./api/artwork --go-triple_out=./api/artwork ./api/artwork/artwork.proto +//$ protoc --proto_path=. --go_out=./pb/artwork --go-triple_out=./pb/artwork ./pb/artwork/artwork.proto service Artwork { rpc ArtworkAdd (ArtworkAddRequest) returns (ArtworkAddRespond) {} rpc CheckUserLock (CheckUserLockRequest) returns (CheckUserLockRespond) {} @@ -12,6 +12,16 @@ service Artwork { rpc GetArtwork (GetArtworkRequest) returns (GetArtworkRespond) {} rpc DelArtwork (DelArtworkRequest) returns (DelArtworkRespond) {} rpc UploadArtwork (UploadArtworkRequest) returns (UploadArtworkRespond) {} + rpc UpdateMsg(UpdateMsgRequest) returns (UpdateMsgRespond){} +} +message UpdateMsgRequest { + uint64 Id =1; +} + +message UpdateMsgRespond { + +} + } message ListInterfaceRespond { @@ -130,7 +140,7 @@ message GetArtworkRequest{ string Photo = 5 [json_name = "photo"]; string ArtistPhoto = 6 [json_name = "artistPhoto"]; uint64 Width = 7 [json_name = "width"]; - repeated string CreateAddress = 8 [json_name = "createAddress"]; + string CreateAddress = 8 [json_name = "createAddress"]; uint64 Height = 9 [json_name = "height"]; uint64 Ruler = 10 [json_name = "ruler"]; string Introduct = 11 [json_name = "introduct"]; diff --git a/pb/artwork/artwork_triple.pb.go b/pb/artwork/artwork_triple.pb.go index 0dea061..7d918aa 100644 --- a/pb/artwork/artwork_triple.pb.go +++ b/pb/artwork/artwork_triple.pb.go @@ -2,7 +2,7 @@ // versions: // - protoc-gen-go-triple v1.0.5 // - protoc v3.9.0 -// source: api/artwork/artwork.proto +// source: pb/artwork/artwork.proto package artwork @@ -60,7 +60,7 @@ func (c *ArtworkClientImpl) GetDubboStub(cc *triple.TripleConn) ArtworkClient { } func (c *ArtworkClientImpl) XXX_InterfaceName() string { - return "Artwork.Artwork" + return "artwork.Artwork" } func NewArtworkClient(cc *triple.TripleConn) ArtworkClient { @@ -181,7 +181,7 @@ func (s *UnimplementedArtworkServer) XXX_ServiceDesc() *grpc_go.ServiceDesc { return &Artwork_ServiceDesc } func (s *UnimplementedArtworkServer) XXX_InterfaceName() string { - return "Artwork.Artwork" + return "artwork.Artwork" } func (UnimplementedArtworkServer) mustEmbedUnimplementedArtworkServer() {} @@ -462,7 +462,7 @@ func _Artwork_UploadArtwork_Handler(srv interface{}, ctx context.Context, dec fu // It's only intended for direct use with grpc_go.RegisterService, // and not to be introspected or modified (even as a copy) var Artwork_ServiceDesc = grpc_go.ServiceDesc{ - ServiceName: "Artwork.Artwork", + ServiceName: "artwork.Artwork", HandlerType: (*ArtworkServer)(nil), Methods: []grpc_go.MethodDesc{ { @@ -503,5 +503,5 @@ var Artwork_ServiceDesc = grpc_go.ServiceDesc{ }, }, Streams: []grpc_go.StreamDesc{}, - Metadata: "api/artwork/artwork.proto", + Metadata: "pb/artwork/artwork.proto", } diff --git a/pb/contract/contract.pb.go b/pb/contract/contract.pb.go index fc297fb..d14b8c4 100644 --- a/pb/contract/contract.pb.go +++ b/pb/contract/contract.pb.go @@ -25,7 +25,7 @@ type FinishContractRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - TransactionId string `protobuf:"bytes,1,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId,omitempty"` + TransactionId string `protobuf:"bytes,1,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId"` } func (x *FinishContractRequest) Reset() { @@ -110,10 +110,10 @@ type ContractListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PageSize int64 `protobuf:"varint,1,opt,name=PageSize,json=pageSize,proto3" json:"PageSize,omitempty"` - Page int64 `protobuf:"varint,2,opt,name=Page,json=page,proto3" json:"Page,omitempty"` - State int64 `protobuf:"varint,3,opt,name=State,json=state,proto3" json:"State,omitempty"` - ID int64 `protobuf:"varint,4,opt,name=ID,json=id,proto3" json:"ID,omitempty"` + PageSize int64 `protobuf:"varint,1,opt,name=PageSize,json=pageSize,proto3" json:"PageSize"` + Page int64 `protobuf:"varint,2,opt,name=Page,json=page,proto3" json:"Page"` + State int64 `protobuf:"varint,3,opt,name=State,json=state,proto3" json:"State"` + ID int64 `protobuf:"varint,4,opt,name=ID,json=id,proto3" json:"ID"` } func (x *ContractListRequest) Reset() { @@ -181,7 +181,7 @@ type ContractListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*ContractData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*ContractData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *ContractListRespond) Reset() { @@ -228,23 +228,23 @@ type ContractData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId int64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - CardId string `protobuf:"bytes,3,opt,name=CardId,json=cardId,proto3" json:"CardId,omitempty"` - MgmtUserId string `protobuf:"bytes,4,opt,name=MgmtUserId,json=mgmtUserId,proto3" json:"MgmtUserId,omitempty"` - ArtworkId string `protobuf:"bytes,5,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId,omitempty"` - ContractId string `protobuf:"bytes,6,opt,name=ContractId,json=contractId,proto3" json:"ContractId,omitempty"` - TransactionId string `protobuf:"bytes,7,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId,omitempty"` - Type int64 `protobuf:"varint,8,opt,name=Type,json=type,proto3" json:"Type,omitempty"` - BatchId int64 `protobuf:"varint,9,opt,name=BatchId,json=batchId,proto3" json:"BatchId,omitempty"` - BatchName string `protobuf:"bytes,10,opt,name=BatchName,json=batchName,proto3" json:"BatchName,omitempty"` - ViewUrl string `protobuf:"bytes,11,opt,name=ViewUrl,json=viewUrl,proto3" json:"ViewUrl,omitempty"` - DownloadUrl string `protobuf:"bytes,12,opt,name=DownloadUrl,json=downloadUrl,proto3" json:"DownloadUrl,omitempty"` - State int64 `protobuf:"varint,13,opt,name=State,json=state,proto3" json:"State,omitempty"` - UpdateTime string `protobuf:"bytes,14,opt,name=UpdateTime,json=updateTime,proto3" json:"UpdateTime,omitempty"` - CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime,omitempty"` - ExpirationTime string `protobuf:"bytes,16,opt,name=ExpirationTime,json=expirationTime,proto3" json:"ExpirationTime,omitempty"` - SignTime string `protobuf:"bytes,17,opt,name=SignTime,json=signTime,proto3" json:"SignTime,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId int64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + CardId string `protobuf:"bytes,3,opt,name=CardId,json=cardId,proto3" json:"CardId"` + MgmtUserId string `protobuf:"bytes,4,opt,name=MgmtUserId,json=mgmtUserId,proto3" json:"MgmtUserId"` + ArtworkId string `protobuf:"bytes,5,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId"` + ContractId string `protobuf:"bytes,6,opt,name=ContractId,json=contractId,proto3" json:"ContractId"` + TransactionId string `protobuf:"bytes,7,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId"` + Type int64 `protobuf:"varint,8,opt,name=Type,json=type,proto3" json:"Type"` + BatchId int64 `protobuf:"varint,9,opt,name=BatchId,json=batchId,proto3" json:"BatchId"` + BatchName string `protobuf:"bytes,10,opt,name=BatchName,json=batchName,proto3" json:"BatchName"` + ViewUrl string `protobuf:"bytes,11,opt,name=ViewUrl,json=viewUrl,proto3" json:"ViewUrl"` + DownloadUrl string `protobuf:"bytes,12,opt,name=DownloadUrl,json=downloadUrl,proto3" json:"DownloadUrl"` + State int64 `protobuf:"varint,13,opt,name=State,json=state,proto3" json:"State"` + UpdateTime string `protobuf:"bytes,14,opt,name=UpdateTime,json=updateTime,proto3" json:"UpdateTime"` + CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime"` + ExpirationTime string `protobuf:"bytes,16,opt,name=ExpirationTime,json=expirationTime,proto3" json:"ExpirationTime"` + SignTime string `protobuf:"bytes,17,opt,name=SignTime,json=signTime,proto3" json:"SignTime"` } func (x *ContractData) Reset() { @@ -403,10 +403,10 @@ type ContractTxListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - PageSize int64 `protobuf:"varint,1,opt,name=PageSize,json=pageSize,proto3" json:"PageSize,omitempty"` - Page int64 `protobuf:"varint,2,opt,name=Page,json=page,proto3" json:"Page,omitempty"` - State int64 `protobuf:"varint,3,opt,name=State,json=state,proto3" json:"State,omitempty"` - ID int64 `protobuf:"varint,4,opt,name=ID,json=id,proto3" json:"ID,omitempty"` + PageSize int64 `protobuf:"varint,1,opt,name=PageSize,json=pageSize,proto3" json:"PageSize"` + Page int64 `protobuf:"varint,2,opt,name=Page,json=page,proto3" json:"Page"` + State int64 `protobuf:"varint,3,opt,name=State,json=state,proto3" json:"State"` + ID int64 `protobuf:"varint,4,opt,name=ID,json=id,proto3" json:"ID"` } func (x *ContractTxListRequest) Reset() { @@ -474,7 +474,7 @@ type ContractTxListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*ContractData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*ContractData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *ContractTxListRespond) Reset() { @@ -521,9 +521,9 @@ type SignContractRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ContractId int64 `protobuf:"varint,1,opt,name=ContractId,json=contractId,proto3" json:"ContractId,omitempty"` - HtmlType string `protobuf:"bytes,2,opt,name=HtmlType,json=htmlType,proto3" json:"HtmlType,omitempty"` - EnvType string `protobuf:"bytes,3,opt,name=EnvType,json=envType,proto3" json:"EnvType,omitempty"` + ContractId int64 `protobuf:"varint,1,opt,name=ContractId,json=contractId,proto3" json:"ContractId"` + HtmlType string `protobuf:"bytes,2,opt,name=HtmlType,json=htmlType,proto3" json:"HtmlType"` + EnvType string `protobuf:"bytes,3,opt,name=EnvType,json=envType,proto3" json:"EnvType"` } func (x *SignContractRequest) Reset() { @@ -622,7 +622,7 @@ type GetContractRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id int64 `protobuf:"varint,1,opt,name=Id,json=id,proto3" json:"Id,omitempty"` + Id int64 `protobuf:"varint,1,opt,name=Id,json=id,proto3" json:"Id"` } func (x *GetContractRequest) Reset() { @@ -669,23 +669,23 @@ type UpdateContractRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId int64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - CardId string `protobuf:"bytes,3,opt,name=CardId,json=cardId,proto3" json:"CardId,omitempty"` - MgmtUserId string `protobuf:"bytes,4,opt,name=MgmtUserId,json=mgmtUserId,proto3" json:"MgmtUserId,omitempty"` - ArtworkId string `protobuf:"bytes,5,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId,omitempty"` - ContractId string `protobuf:"bytes,6,opt,name=ContractId,json=contractId,proto3" json:"ContractId,omitempty"` - TransactionId string `protobuf:"bytes,7,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId,omitempty"` - Type int64 `protobuf:"varint,8,opt,name=Type,json=type,proto3" json:"Type,omitempty"` - BatchId int64 `protobuf:"varint,9,opt,name=BatchId,json=batchId,proto3" json:"BatchId,omitempty"` - BatchName string `protobuf:"bytes,10,opt,name=BatchName,json=batchName,proto3" json:"BatchName,omitempty"` - ViewUrl string `protobuf:"bytes,11,opt,name=ViewUrl,json=viewUrl,proto3" json:"ViewUrl,omitempty"` - DownloadUrl string `protobuf:"bytes,12,opt,name=DownloadUrl,json=downloadUrl,proto3" json:"DownloadUrl,omitempty"` - State int64 `protobuf:"varint,13,opt,name=State,json=state,proto3" json:"State,omitempty"` - UpdateTime string `protobuf:"bytes,14,opt,name=UpdateTime,json=updateTime,proto3" json:"UpdateTime,omitempty"` - CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime,omitempty"` - ExpirationTime string `protobuf:"bytes,16,opt,name=ExpirationTime,json=expirationTime,proto3" json:"ExpirationTime,omitempty"` - SignTime string `protobuf:"bytes,17,opt,name=SignTime,json=signTime,proto3" json:"SignTime,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId int64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + CardId string `protobuf:"bytes,3,opt,name=CardId,json=cardId,proto3" json:"CardId"` + MgmtUserId string `protobuf:"bytes,4,opt,name=MgmtUserId,json=mgmtUserId,proto3" json:"MgmtUserId"` + ArtworkId string `protobuf:"bytes,5,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId"` + ContractId string `protobuf:"bytes,6,opt,name=ContractId,json=contractId,proto3" json:"ContractId"` + TransactionId string `protobuf:"bytes,7,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId"` + Type int64 `protobuf:"varint,8,opt,name=Type,json=type,proto3" json:"Type"` + BatchId int64 `protobuf:"varint,9,opt,name=BatchId,json=batchId,proto3" json:"BatchId"` + BatchName string `protobuf:"bytes,10,opt,name=BatchName,json=batchName,proto3" json:"BatchName"` + ViewUrl string `protobuf:"bytes,11,opt,name=ViewUrl,json=viewUrl,proto3" json:"ViewUrl"` + DownloadUrl string `protobuf:"bytes,12,opt,name=DownloadUrl,json=downloadUrl,proto3" json:"DownloadUrl"` + State int64 `protobuf:"varint,13,opt,name=State,json=state,proto3" json:"State"` + UpdateTime string `protobuf:"bytes,14,opt,name=UpdateTime,json=updateTime,proto3" json:"UpdateTime"` + CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime"` + ExpirationTime string `protobuf:"bytes,16,opt,name=ExpirationTime,json=expirationTime,proto3" json:"ExpirationTime"` + SignTime string `protobuf:"bytes,17,opt,name=SignTime,json=signTime,proto3" json:"SignTime"` } func (x *UpdateContractRequest) Reset() { @@ -882,8 +882,8 @@ type UpdateContractTxRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - TransactionId string `protobuf:"bytes,2,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId,omitempty"` + ID int64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + TransactionId string `protobuf:"bytes,2,opt,name=TransactionId,json=transactionId,proto3" json:"TransactionId"` } func (x *UpdateContractTxRequest) Reset() { diff --git a/pb/supplyinfo/supplyinfo.pb.go b/pb/supplyinfo/supplyinfo.pb.go index 9f2e69a..e2f725c 100644 --- a/pb/supplyinfo/supplyinfo.pb.go +++ b/pb/supplyinfo/supplyinfo.pb.go @@ -25,8 +25,8 @@ type GetSupplyInfoListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ArtistId uint64 `protobuf:"varint,1,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - Types uint64 `protobuf:"varint,2,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ArtistId uint64 `protobuf:"varint,1,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + Types uint64 `protobuf:"varint,2,opt,name=Types,json=types,proto3" json:"Types"` } func (x *GetSupplyInfoListRequest) Reset() { @@ -80,7 +80,7 @@ type GetSupplyInfoListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*GetSupplyInfoData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*GetSupplyInfoData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *GetSupplyInfoListRespond) Reset() { @@ -127,29 +127,29 @@ type GetSupplyInfoData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ArtworkId string `protobuf:"bytes,2,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId,omitempty"` - ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - UserId uint64 `protobuf:"varint,4,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Name string `protobuf:"bytes,5,opt,name=Name,json=name,proto3" json:"Name,omitempty"` - ModelYear string `protobuf:"bytes,6,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear,omitempty"` - Photo string `protobuf:"bytes,7,opt,name=Photo,json=photo,proto3" json:"Photo,omitempty"` - ArtistPhoto string `protobuf:"bytes,8,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto,omitempty"` - Width uint64 `protobuf:"varint,9,opt,name=Width,json=width,proto3" json:"Width,omitempty"` - Height uint64 `protobuf:"varint,10,opt,name=Height,json=height,proto3" json:"Height,omitempty"` - Ruler uint64 `protobuf:"varint,11,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - ExhibitInfo string `protobuf:"bytes,12,opt,name=ExhibitInfo,json=exhibitInfo,proto3" json:"ExhibitInfo,omitempty"` - ExhibitPic1 string `protobuf:"bytes,13,opt,name=ExhibitPic1,json=exhibitPic1,proto3" json:"ExhibitPic1,omitempty"` - ExhibitPic2 string `protobuf:"bytes,14,opt,name=ExhibitPic2,json=exhibitPic2,proto3" json:"ExhibitPic2,omitempty"` - CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime,omitempty"` - Introduct string `protobuf:"bytes,16,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - NetworkTrace bool `protobuf:"varint,17,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace,omitempty"` - CreateAddress string `protobuf:"bytes,18,opt,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress,omitempty"` - Url string `protobuf:"bytes,19,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,20,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,21,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,22,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,23,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + ArtworkId string `protobuf:"bytes,2,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId"` + ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + UserId uint64 `protobuf:"varint,4,opt,name=UserId,json=userId,proto3" json:"UserId"` + Name string `protobuf:"bytes,5,opt,name=Name,json=name,proto3" json:"Name"` + ModelYear string `protobuf:"bytes,6,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear"` + Photo string `protobuf:"bytes,7,opt,name=Photo,json=photo,proto3" json:"Photo"` + ArtistPhoto string `protobuf:"bytes,8,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto"` + Width uint64 `protobuf:"varint,9,opt,name=Width,json=width,proto3" json:"Width"` + Height uint64 `protobuf:"varint,10,opt,name=Height,json=height,proto3" json:"Height"` + Ruler uint64 `protobuf:"varint,11,opt,name=Ruler,json=ruler,proto3" json:"Ruler"` + ExhibitInfo string `protobuf:"bytes,12,opt,name=ExhibitInfo,json=exhibitInfo,proto3" json:"ExhibitInfo"` + ExhibitPic1 string `protobuf:"bytes,13,opt,name=ExhibitPic1,json=exhibitPic1,proto3" json:"ExhibitPic1"` + ExhibitPic2 string `protobuf:"bytes,14,opt,name=ExhibitPic2,json=exhibitPic2,proto3" json:"ExhibitPic2"` + CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime"` + Introduct string `protobuf:"bytes,16,opt,name=Introduct,json=introduct,proto3" json:"Introduct"` + NetworkTrace bool `protobuf:"varint,17,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace"` + CreateAddress string `protobuf:"bytes,18,opt,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress"` + Url string `protobuf:"bytes,19,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,20,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,21,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,22,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,23,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *GetSupplyInfoData) Reset() { @@ -350,7 +350,7 @@ type GetSupplyInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Id uint64 `protobuf:"varint,1,opt,name=Id,json=artistId,proto3" json:"Id,omitempty"` + Id uint64 `protobuf:"varint,1,opt,name=Id,json=artistId,proto3" json:"Id"` } func (x *GetSupplyInfoRequest) Reset() { @@ -397,29 +397,29 @@ type UpdateSupplyInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - ArtworkId string `protobuf:"bytes,2,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId,omitempty"` - ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - UserId uint64 `protobuf:"varint,4,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Name string `protobuf:"bytes,5,opt,name=Name,json=name,proto3" json:"Name,omitempty"` - ModelYear string `protobuf:"bytes,6,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear,omitempty"` - Photo string `protobuf:"bytes,7,opt,name=Photo,json=photo,proto3" json:"Photo,omitempty"` - ArtistPhoto string `protobuf:"bytes,8,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto,omitempty"` - Width uint64 `protobuf:"varint,9,opt,name=Width,json=width,proto3" json:"Width,omitempty"` - Height uint64 `protobuf:"varint,10,opt,name=Height,json=height,proto3" json:"Height,omitempty"` - Ruler uint64 `protobuf:"varint,11,opt,name=Ruler,json=ruler,proto3" json:"Ruler,omitempty"` - ExhibitInfo string `protobuf:"bytes,12,opt,name=ExhibitInfo,json=exhibitInfo,proto3" json:"ExhibitInfo,omitempty"` - ExhibitPic1 string `protobuf:"bytes,13,opt,name=ExhibitPic1,json=exhibitPic1,proto3" json:"ExhibitPic1,omitempty"` - ExhibitPic2 string `protobuf:"bytes,14,opt,name=ExhibitPic2,json=exhibitPic2,proto3" json:"ExhibitPic2,omitempty"` - CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime,omitempty"` - Introduct string `protobuf:"bytes,16,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - NetworkTrace bool `protobuf:"varint,17,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace,omitempty"` - CreateAddress string `protobuf:"bytes,18,opt,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress,omitempty"` - Url string `protobuf:"bytes,19,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,20,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,21,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,22,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,23,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + ArtworkId string `protobuf:"bytes,2,opt,name=ArtworkId,json=artworkId,proto3" json:"ArtworkId"` + ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + UserId uint64 `protobuf:"varint,4,opt,name=UserId,json=userId,proto3" json:"UserId"` + Name string `protobuf:"bytes,5,opt,name=Name,json=name,proto3" json:"Name"` + ModelYear string `protobuf:"bytes,6,opt,name=ModelYear,json=modelYear,proto3" json:"ModelYear"` + Photo string `protobuf:"bytes,7,opt,name=Photo,json=photo,proto3" json:"Photo"` + ArtistPhoto string `protobuf:"bytes,8,opt,name=ArtistPhoto,json=artistPhoto,proto3" json:"ArtistPhoto"` + Width uint64 `protobuf:"varint,9,opt,name=Width,json=width,proto3" json:"Width"` + Height uint64 `protobuf:"varint,10,opt,name=Height,json=height,proto3" json:"Height"` + Ruler uint64 `protobuf:"varint,11,opt,name=Ruler,json=ruler,proto3" json:"Ruler"` + ExhibitInfo string `protobuf:"bytes,12,opt,name=ExhibitInfo,json=exhibitInfo,proto3" json:"ExhibitInfo"` + ExhibitPic1 string `protobuf:"bytes,13,opt,name=ExhibitPic1,json=exhibitPic1,proto3" json:"ExhibitPic1"` + ExhibitPic2 string `protobuf:"bytes,14,opt,name=ExhibitPic2,json=exhibitPic2,proto3" json:"ExhibitPic2"` + CreateTime string `protobuf:"bytes,15,opt,name=CreateTime,json=createTime,proto3" json:"CreateTime"` + Introduct string `protobuf:"bytes,16,opt,name=Introduct,json=introduct,proto3" json:"Introduct"` + NetworkTrace bool `protobuf:"varint,17,opt,name=NetworkTrace,json=networkTrace,proto3" json:"NetworkTrace"` + CreateAddress string `protobuf:"bytes,18,opt,name=CreateAddress,json=createAddress,proto3" json:"CreateAddress"` + Url string `protobuf:"bytes,19,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,20,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,21,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,22,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,23,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *UpdateSupplyInfoRequest) Reset() { @@ -658,10 +658,10 @@ type GetVideoListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` } func (x *GetVideoListRequest) Reset() { @@ -729,7 +729,7 @@ type GetVideoListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*GetVideoListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*GetVideoListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *GetVideoListRespond) Reset() { @@ -776,13 +776,13 @@ type GetVideoListData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,5,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,6,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,7,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,5,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,6,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,7,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *GetVideoListData) Reset() { @@ -871,10 +871,10 @@ type GetVideoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` } func (x *GetVideoRequest) Reset() { @@ -942,10 +942,10 @@ type UpdateVideoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` } func (x *UpdateVideoRequest) Reset() { @@ -1051,10 +1051,10 @@ type GetExamListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` } func (x *GetExamListRequest) Reset() { @@ -1122,7 +1122,7 @@ type GetExamListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*GetExamListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*GetExamListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *GetExamListRespond) Reset() { @@ -1169,16 +1169,16 @@ type GetExamListData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title,omitempty"` - Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class,omitempty"` - TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore,omitempty"` - Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score,omitempty"` - Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title"` + Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class"` + TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore"` + Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score"` + Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *GetExamListData) Reset() { @@ -1288,16 +1288,16 @@ type GetExamRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title,omitempty"` - Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class,omitempty"` - TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore,omitempty"` - Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score,omitempty"` - Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title"` + Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class"` + TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore"` + Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score"` + Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *GetExamRequest) Reset() { @@ -1407,16 +1407,16 @@ type UpdateExamRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title,omitempty"` - Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class,omitempty"` - TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore,omitempty"` - Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score,omitempty"` - Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types,omitempty"` - Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Title string `protobuf:"bytes,3,opt,name=Title,json=title,proto3" json:"Title"` + Class string `protobuf:"bytes,4,opt,name=Class,json=class,proto3" json:"Class"` + TitleScore uint64 `protobuf:"varint,5,opt,name=TitleScore,json=titleScore,proto3" json:"TitleScore"` + Score string `protobuf:"bytes,6,opt,name=Score,json=score,proto3" json:"Score"` + Types string `protobuf:"bytes,7,opt,name=Types,json=types,proto3" json:"Types"` + Remark string `protobuf:"bytes,8,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,9,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + Enable bool `protobuf:"varint,10,opt,name=Enable,json=enable,proto3" json:"Enable"` } func (x *UpdateExamRequest) Reset() { @@ -1526,7 +1526,7 @@ type UpdateExamRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Percent int32 `protobuf:"varint,1,opt,name=Percent,json=percent,proto3" json:"Percent,omitempty"` + Percent int32 `protobuf:"varint,1,opt,name=Percent,json=percent,proto3" json:"Percent"` } func (x *UpdateExamRespond) Reset() { @@ -1573,10 +1573,10 @@ type GetArtistInfoListRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url,omitempty"` - Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types,omitempty"` + ID string `protobuf:"bytes,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + Url string `protobuf:"bytes,3,opt,name=Url,json=url,proto3" json:"Url"` + Types string `protobuf:"bytes,4,opt,name=Types,json=types,proto3" json:"Types"` } func (x *GetArtistInfoListRequest) Reset() { @@ -1644,7 +1644,7 @@ type GetArtistInfoListRespond struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - Data []*GetArtistInfoListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data,omitempty"` + Data []*GetArtistInfoListData `protobuf:"bytes,1,rep,name=Data,proto3" json:"Data"` } func (x *GetArtistInfoListRespond) Reset() { @@ -1691,17 +1691,17 @@ type GetArtistInfoListData struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount,omitempty"` - BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName,omitempty"` - Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel,omitempty"` - ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic,omitempty"` - Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount"` + BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName"` + Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct"` + CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel"` + ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic"` + Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State"` } func (x *GetArtistInfoListData) Reset() { @@ -1818,17 +1818,17 @@ type GetArtistInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount,omitempty"` - BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName,omitempty"` - Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel,omitempty"` - ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic,omitempty"` - Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount"` + BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName"` + Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct"` + CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel"` + ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic"` + Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State"` } func (x *GetArtistInfoRequest) Reset() { @@ -1945,17 +1945,17 @@ type UpdateArtistInfoRequest struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID,omitempty"` - UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId,omitempty"` - ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId,omitempty"` - BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount,omitempty"` - BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName,omitempty"` - Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct,omitempty"` - CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel,omitempty"` - ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic,omitempty"` - Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark,omitempty"` - Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2,omitempty"` - State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State,omitempty"` + ID uint64 `protobuf:"varint,1,opt,name=ID,json=id,proto3" json:"ID"` + UserId uint64 `protobuf:"varint,2,opt,name=UserId,json=userId,proto3" json:"UserId"` + ArtistId string `protobuf:"bytes,3,opt,name=ArtistId,json=artistId,proto3" json:"ArtistId"` + BankAccount string `protobuf:"bytes,4,opt,name=BankAccount,json=bankAccount,proto3" json:"BankAccount"` + BankName string `protobuf:"bytes,5,opt,name=BankName,json=bankName,proto3" json:"BankName"` + Introduct string `protobuf:"bytes,6,opt,name=Introduct,json=introduct,proto3" json:"Introduct"` + CountryArtLevel string `protobuf:"bytes,7,opt,name=CountryArtLevel,json=countryArtLevel,proto3" json:"CountryArtLevel"` + ArtistCertPic string `protobuf:"bytes,8,opt,name=ArtistCertPic,json=artistCertPic,proto3" json:"ArtistCertPic"` + Remark string `protobuf:"bytes,9,opt,name=Remark,json=remark,proto3" json:"Remark"` + Remark2 string `protobuf:"bytes,10,opt,name=Remark2,json=remark2,proto3" json:"Remark2"` + State uint64 `protobuf:"varint,11,opt,name=State,json=state,proto3" json:"State"` } func (x *UpdateArtistInfoRequest) Reset() { diff --git a/pkg/db/init.go b/pkg/db/init.go index 3f9bd1e..5359b44 100644 --- a/pkg/db/init.go +++ b/pkg/db/init.go @@ -2,7 +2,6 @@ package model import ( "fmt" - "os" "strings" "time"