Merge branch 'main' into xjjdev
# Conflicts: # cmd/internal/controller/artisrInfo.go # pb/artistinfo/artistinfo.pb.go # pb/artistinfo/artistinfo.proto # pb/artistinfo/artistinfo_triple.pb.go
This commit is contained in:
commit
ca9bb47931
@ -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 {
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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) {
|
||||
|
@ -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
|
||||
}
|
||||
|
@ -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 ''"`
|
||||
|
@ -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"
|
||||
|
@ -12,7 +12,7 @@ dubbo:
|
||||
protocols:
|
||||
triple: #triple
|
||||
name: tri
|
||||
port: 20016
|
||||
port: 20050
|
||||
provider:
|
||||
services:
|
||||
ArtistInfoProvider:
|
||||
|
@ -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 # 日志级别
|
||||
@ -71,3 +71,7 @@ dubbo:
|
||||
localTime: true
|
||||
# 是否压缩日志文件,压缩方法 gzip
|
||||
compress: false
|
||||
|
||||
|
||||
|
||||
|
@ -16,7 +16,7 @@ dubbo:
|
||||
triple: #triple
|
||||
name: tri
|
||||
# ip: 121.229.45.214
|
||||
port: 20016
|
||||
port: 20050
|
||||
provider:
|
||||
services:
|
||||
ArtistInfoProvider:
|
||||
|
@ -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
|
||||
@ -71,3 +71,7 @@ dubbo:
|
||||
localTime: true
|
||||
# 是否压缩日志文件,压缩方法 gzip
|
||||
compress: false
|
||||
|
||||
|
||||
|
||||
|
@ -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,
|
||||
},
|
||||
|
@ -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;
|
||||
|
@ -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",
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -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"];
|
||||
|
@ -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",
|
||||
}
|
||||
|
@ -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() {
|
||||
|
@ -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() {
|
||||
|
@ -2,7 +2,6 @@ package model
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"os"
|
||||
"strings"
|
||||
"time"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user