添加自媒体账号过期
This commit is contained in:
commit
4e56dd50b1
@ -468,6 +468,7 @@ type MediaUserListReq struct {
|
||||
MediaUserID string `protobuf:"bytes,11,opt,name=mediaUserID,proto3" json:"mediaUserID"`
|
||||
NeedStats bool `protobuf:"varint,12,opt,name=needStats,proto3" json:"needStats"`
|
||||
NeedAsInfo bool `protobuf:"varint,13,opt,name=needAsInfo,proto3" json:"needAsInfo"`
|
||||
Expired int32 `protobuf:"varint,14,opt,name=expired,proto3" json:"expired"`
|
||||
unknownFields protoimpl.UnknownFields
|
||||
sizeCache protoimpl.SizeCache
|
||||
}
|
||||
@ -593,6 +594,13 @@ func (x *MediaUserListReq) GetNeedAsInfo() bool {
|
||||
return false
|
||||
}
|
||||
|
||||
func (x *MediaUserListReq) GetExpired() int32 {
|
||||
if x != nil {
|
||||
return x.Expired
|
||||
}
|
||||
return 0
|
||||
}
|
||||
|
||||
type MediaUserInfo struct {
|
||||
state protoimpl.MessageState `protogen:"open.v1"`
|
||||
PlatformUserName string `protobuf:"bytes,1,opt,name=platformUserName,proto3" json:"platformUserName"`
|
||||
@ -14722,7 +14730,7 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\n" +
|
||||
"profileKey\x18\x01 \x01(\tR\n" +
|
||||
"profileKey\x12\x12\n" +
|
||||
"\x04AsID\x18\x02 \x01(\tR\x04AsID\"\xe8\x03\n" +
|
||||
"\x04AsID\x18\x02 \x01(\tR\x04AsID\"\x82\x04\n" +
|
||||
"\x10MediaUserListReq\x12\x1c\n" +
|
||||
"\tartistVal\x18\x01 \x01(\tR\tartistVal\x12\x1e\n" +
|
||||
"\n" +
|
||||
@ -14747,7 +14755,8 @@ const file_pb_fiee_cast_proto_rawDesc = "" +
|
||||
"\tneedStats\x18\f \x01(\bR\tneedStats\x12\x1e\n" +
|
||||
"\n" +
|
||||
"needAsInfo\x18\r \x01(\bR\n" +
|
||||
"needAsInfo\"\x87\x06\n" +
|
||||
"needAsInfo\x12\x18\n" +
|
||||
"\aexpired\x18\x0e \x01(\x05R\aexpired\"\x87\x06\n" +
|
||||
"\rMediaUserInfo\x12*\n" +
|
||||
"\x10platformUserName\x18\x01 \x01(\tR\x10platformUserName\x12\x1e\n" +
|
||||
"\n" +
|
||||
|
||||
@ -185,6 +185,8 @@ func (m *MediaUserListReq) validate(all bool) error {
|
||||
|
||||
// no validation rules for NeedAsInfo
|
||||
|
||||
// no validation rules for Expired
|
||||
|
||||
if len(errors) > 0 {
|
||||
return MediaUserListReqMultiError(errors)
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user