2023-01-18 09:03:15 +00:00
|
|
|
syntax = "proto3";
|
|
|
|
package artistinfo;
|
|
|
|
option go_package = "./;artistinfo";
|
2023-02-02 06:10:24 +00:00
|
|
|
// protoc --proto_path=. --go_out=./pb/artistinfo --go-triple_out=./pb/artistinfo ./pb/artistinfo/artistinfo.proto
|
2023-01-18 09:03:15 +00:00
|
|
|
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) {}
|
2023-02-02 06:10:24 +00:00
|
|
|
rpc ArtistSupplyList (ArtistSupplyListRequest) returns (ArtistSupplyListRespond){}
|
2023-02-06 01:33:09 +00:00
|
|
|
rpc UserLock (UserLockRequest) returns(UserLockRespond){}
|
2023-02-15 01:39:14 +00:00
|
|
|
rpc CheckInvitedCode(CheckInvitedCodeRequest)returns (GetUserRespond){}
|
|
|
|
rpc UnFinishList(UnFinishListRequest)returns (UnFinishListRespond){}
|
|
|
|
rpc GetUserMsg(GetUserMsgRequest) returns (GetUserMsgRespond){}
|
2023-02-15 02:14:53 +00:00
|
|
|
rpc BindInviteInvitedAccount(BindInviteInvitedAccountRequest)returns(BindInviteInvitedAccountRespond){}
|
|
|
|
}
|
|
|
|
|
2023-02-15 01:39:14 +00:00
|
|
|
message GetUserMsgRequest{
|
|
|
|
uint64 Id =1;
|
|
|
|
}
|
2023-02-15 02:14:53 +00:00
|
|
|
|
2023-02-15 01:39:14 +00:00
|
|
|
message GetUserMsgRespond{
|
2023-02-15 02:03:22 +00:00
|
|
|
uint64 ID =1[json_name = "id"];
|
|
|
|
uint64 MgmtUserId =2[json_name = "mgmtUserId"];
|
|
|
|
string MgmtArtistId =3[json_name = "mgmtArtistId"];
|
|
|
|
string Account =4[json_name = "account"];
|
|
|
|
string MnemonicWords =5[json_name = "mnemonicWords"];
|
|
|
|
string TelNum =6[json_name = "telNum"];
|
|
|
|
string Name =7[json_name = "name"];
|
|
|
|
string PenName =8[json_name = "penName"];
|
|
|
|
string StageName =9[json_name = "stageName"];
|
|
|
|
string JoinAssoTime =10[json_name = "joinAssoTime"];
|
|
|
|
string CertificateNum =11[json_name = "certificateNum"];
|
|
|
|
string CertificateImg =12[json_name = "certificateImg"];
|
|
|
|
string Key =13[json_name = "key"];
|
|
|
|
int32 RealNameID =14[json_name = "realNameID"];
|
|
|
|
string IDNum =15[json_name = "idNum"];
|
|
|
|
int32 Sex =16[json_name = "sex"];
|
|
|
|
int64 Ruler =17[json_name = "ruler"];
|
|
|
|
string OpenId =18[json_name = "openId"];
|
|
|
|
string CustomerId =19[json_name = "customerId"];
|
|
|
|
int32 Age =20[json_name = "age"];
|
|
|
|
string Introduct =21[json_name = "introduct"];
|
|
|
|
int64 CreateAt =22[json_name = "createAt"];
|
|
|
|
string ConAddress =23[json_name = "conAddress"];
|
|
|
|
string Photo =24[json_name = "photo"];
|
|
|
|
string Video =25[json_name = "video"];
|
|
|
|
int64 IsRealName =26[json_name = "isRealName"];
|
|
|
|
int64 IsFdd =27[json_name = "isFdd"];
|
|
|
|
int64 FddState =28[json_name = "fddState"];
|
|
|
|
string WxAccount =29[json_name = "wxAccount"];
|
|
|
|
bool IsLock =30[json_name = "isLock"];
|
|
|
|
string InvitedCode =31[json_name = "invitedCode"];
|
|
|
|
int32 IsRead =32[json_name = "isRead"];
|
|
|
|
int32 IsImport =33[json_name = "isImport"];
|
|
|
|
bool Enable =34[json_name = "enable"];
|
2023-02-15 01:39:14 +00:00
|
|
|
}
|
|
|
|
message CheckInvitedCodeRequest {
|
|
|
|
string InvitedCode =1;
|
|
|
|
}
|
2023-02-15 02:03:22 +00:00
|
|
|
|
2023-02-15 01:39:14 +00:00
|
|
|
message CheckInvitedCodeRespond {
|
2023-02-15 02:03:22 +00:00
|
|
|
|
2023-02-15 01:39:14 +00:00
|
|
|
}
|
|
|
|
message UnFinishListRequest {
|
|
|
|
uint64 Id = 1;
|
|
|
|
}
|
2023-02-15 02:03:22 +00:00
|
|
|
|
2023-02-15 01:39:14 +00:00
|
|
|
message UnFinishListRespond {
|
2023-02-15 02:03:22 +00:00
|
|
|
int64 ContractList =1;
|
|
|
|
int64 SupplyInfoList =2;
|
|
|
|
int64 AccountStateList =3;
|
2023-02-15 01:39:14 +00:00
|
|
|
}
|
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
message UploadPicRequest {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
message UploadPicRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message UploadIdCardRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message UploadIdCardRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
2023-02-02 06:10:24 +00:00
|
|
|
message CheckMsgRequest{
|
2023-02-06 01:33:09 +00:00
|
|
|
string TelNum = 1 ;
|
|
|
|
string VerCode = 2;
|
2023-02-02 06:10:24 +00:00
|
|
|
}
|
2023-01-18 09:03:15 +00:00
|
|
|
message RegisterUserRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
|
|
|
uint64 MgmtUserId =2;
|
|
|
|
string MgmtArtistId = 3;
|
|
|
|
string TelNum = 4;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message RegisterUserRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message GetUserRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
string TelNum = 1;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetUserRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
|
|
|
uint64 MgmtUserId =2;
|
|
|
|
string MgmtArtistId = 3;
|
|
|
|
string TelNum = 4;
|
|
|
|
int64 IsFdd = 5;
|
|
|
|
int64 IsRealName =6;
|
|
|
|
int64 ruler = 7;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetUserByIdRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id = 1;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message GetUserByIdRespond{
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
|
|
|
uint64 MgmtUserId =2;
|
|
|
|
string MgmtArtistId = 3;
|
|
|
|
string TelNum = 4;
|
|
|
|
int64 IsFdd = 5;
|
|
|
|
int64 IsRealName =6;
|
|
|
|
int64 ruler = 7;
|
|
|
|
string InvitedCode = 8;
|
|
|
|
string CustomerId = 9;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
message GetUserByIdData {
|
|
|
|
string TelNum =1 [json_name ="telNum"];
|
|
|
|
string CertificateNum =2 [json_name ="certificateNum" ];
|
|
|
|
string CertificateImg =3 [json_name ="certificateImg" ];
|
|
|
|
string JoinAssoTime =4 [json_name= "joinAssoTime"];
|
|
|
|
string RealName =5 [json_name ="realName" ];
|
|
|
|
string PenName =6 [json_name ="penName" ];
|
|
|
|
string StageName =7 [json_name ="stageName" ];
|
|
|
|
int32 Sex =8 [json_name ="sex" ];
|
|
|
|
string IdCard =9 [json_name ="idCard" ];
|
|
|
|
string IdCardFront =10 [json_name ="idCardFront" ];
|
|
|
|
string IdCardBack =11 [json_name ="idCardBack" ];
|
|
|
|
int32 Age =12 [json_name ="age" ];
|
|
|
|
int64 Ruler =13 [json_name ="ruler" ];
|
|
|
|
repeated string ConAddress =14 [json_name ="conAddress" ];
|
|
|
|
string Photo =15 [json_name ="photo" ];
|
|
|
|
string Video =16 [json_name ="video" ];
|
|
|
|
int64 FddState =17 [json_name ="fddState" ];
|
|
|
|
string CustomerId =18 [json_name ="customerId" ];
|
|
|
|
string InvitedCode =19 [json_name ="invitedCode" ];
|
|
|
|
string InvitedName =20 [json_name ="invitedName" ];
|
|
|
|
string WxAccount =21 [json_name ="wxAccount" ];
|
|
|
|
string QrCodeImg =22 [json_name ="qrCode" ];
|
|
|
|
string QrCodeImgDownload =23 [json_name ="qrCodeDownload" ];
|
|
|
|
string HtmlType =24 [json_name ="htmlType" ];
|
|
|
|
string EnvType =25 [json_name ="envType" ];
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message CreateUserRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
|
|
|
string TelNum = 2;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message CreateUserRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
message CreateUserInfoRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
string TelNum =1 [json_name ="telNum"];
|
|
|
|
string CertificateNum =2 [json_name ="certificateNum" ];
|
|
|
|
string CertificateImg =3 [json_name ="certificateImg" ];
|
|
|
|
string JoinAssoTime =4 [json_name= "joinAssoTime"];
|
|
|
|
string RealName =5 [json_name ="realName" ];
|
|
|
|
string PenName =6 [json_name ="penName" ];
|
|
|
|
string StageName =7 [json_name ="stageName" ];
|
|
|
|
int32 Sex =8 [json_name ="sex" ];
|
|
|
|
string IdCard =9 [json_name ="idCard" ];
|
|
|
|
string IdCardFront =10 [json_name ="idCardFront" ];
|
|
|
|
string IdCardBack =11 [json_name ="idCardBack" ];
|
|
|
|
int32 Age =12 [json_name ="age" ];
|
|
|
|
int64 Ruler =13 [json_name ="ruler" ];
|
|
|
|
repeated string ConAddress =14 [json_name ="conAddress" ];
|
|
|
|
string Photo =15 [json_name ="photo" ];
|
|
|
|
string Video =16 [json_name ="video" ];
|
|
|
|
int64 FddState =17 [json_name ="fddState" ];
|
|
|
|
string CustomerId =18 [json_name ="customerId" ];
|
|
|
|
string InvitedCode =19 [json_name ="invitedCode" ];
|
|
|
|
string InvitedName =20 [json_name ="invitedName" ];
|
|
|
|
string WxAccount =21 [json_name ="wxAccount" ];
|
|
|
|
string QrCodeImg =22 [json_name ="qrCode" ];
|
|
|
|
string QrCodeImgDownload =23 [json_name ="qrCodeDownload" ];
|
|
|
|
string HtmlType =24 [json_name ="htmlType" ];
|
|
|
|
string EnvType =25 [json_name ="envType" ];
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message CreateUserInfoRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message UpdateRealNameRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message UpdateRealNameRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message FinishVerifyRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 Id =1;
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
message FinishVerifyRespond {
|
2023-02-06 01:33:09 +00:00
|
|
|
|
2023-01-18 09:03:15 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message CheckUserLockRequest {
|
2023-02-06 01:33:09 +00:00
|
|
|
uint64 ID = 1 [json_name = "id"];
|
|
|
|
}
|
|
|
|
|
|
|
|
message CheckUserLockRespond {
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
message ArtistSupplyListRequest {
|
|
|
|
string ArtistId = 1;
|
|
|
|
string Name =2;
|
|
|
|
string ArtistName =3;
|
|
|
|
string InvitedName =4;
|
|
|
|
uint64 IsImport =5;
|
|
|
|
uint64 State =6;
|
|
|
|
uint64 Page =7;
|
|
|
|
uint64 PageSize =8;
|
|
|
|
}
|
|
|
|
|
|
|
|
message ArtistSupplyListRespond {
|
|
|
|
uint64 Count =1;
|
|
|
|
repeated ArtistArtworkSupplyListResponseData Data =2;
|
|
|
|
}
|
2023-02-02 06:10:24 +00:00
|
|
|
|
|
|
|
message ArtistArtworkSupplyListResponseData {
|
2023-02-06 01:33:09 +00:00
|
|
|
string ID = 1;
|
|
|
|
string Account = 2;
|
|
|
|
uint64 PassRulerCount = 3;
|
|
|
|
string MnemonicWords = 4;
|
|
|
|
string TelNum = 5;
|
|
|
|
uint64 PassArtworkCount = 6;
|
|
|
|
string Name = 7;
|
|
|
|
string PenName = 8;
|
|
|
|
string Certificate = 9;
|
|
|
|
string CertificateImg = 10;
|
|
|
|
string Key = 11;
|
|
|
|
uint64 Sex = 12;
|
|
|
|
uint64 Age = 13;
|
|
|
|
string Introduct = 14;
|
|
|
|
string CreateTime = 15;
|
|
|
|
string JoinAssoTime = 16;
|
|
|
|
string StageName = 17;
|
|
|
|
string UpdateTime = 18;
|
|
|
|
string ConAddress = 19;
|
|
|
|
string Photo = 20;
|
|
|
|
string Video = 21;
|
|
|
|
string InvitedName = 22;
|
|
|
|
bool Enable = 23;
|
|
|
|
string IdCard = 24;
|
|
|
|
uint64 IsImport = 25;
|
|
|
|
bool IsLock = 26;
|
|
|
|
string IdCardFront = 27;
|
|
|
|
string IdCardBack = 28;
|
|
|
|
string BankName = 29;
|
|
|
|
string BankAccount = 30;
|
|
|
|
string MinTime = 31;
|
|
|
|
string LockTime = 32;
|
|
|
|
uint64 ArtworkCount = 33;
|
|
|
|
uint64 RulerCount = 34;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
message UserLockRequest {
|
|
|
|
int64 Id =1;
|
|
|
|
bool IsLock =2;
|
|
|
|
}
|
|
|
|
|
|
|
|
message UserLockRespond {
|
|
|
|
|
2023-02-15 01:10:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-15 02:03:22 +00:00
|
|
|
|
2023-02-15 01:10:11 +00:00
|
|
|
message BindInviteInvitedAccountRequest{
|
|
|
|
int32 UserId =1; //邀请人账号id
|
|
|
|
int32 InvitedUserId =2; // 受邀请人账号id
|
|
|
|
int32 InviteCode = 3; //邀请人的邀请码
|
|
|
|
int32 InvitedCode = 4; //受邀请人的邀请码
|
|
|
|
}
|
|
|
|
message BindInviteInvitedAccountRespond{
|
2023-02-15 02:03:22 +00:00
|
|
|
// no params
|
2023-02-15 01:10:11 +00:00
|
|
|
}
|