v1

package
v0.0.56 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 18, 2025 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

View Source
const (
	UserAuth_UserReg_FullMethodName                       = "/api.user.v1.UserAuth/UserReg"
	UserAuth_UserBingPhone_FullMethodName                 = "/api.user.v1.UserAuth/UserBingPhone"
	UserAuth_UserMergeAccount_FullMethodName              = "/api.user.v1.UserAuth/UserMergeAccount"
	UserAuth_UserClear_FullMethodName                     = "/api.user.v1.UserAuth/UserClear"
	UserAuth_GetDeliveryRecordsByOwnerType_FullMethodName = "/api.user.v1.UserAuth/GetDeliveryRecordsByOwnerType"
	UserAuth_GetUserInfoByOpenID_FullMethodName           = "/api.user.v1.UserAuth/GetUserInfoByOpenID"
	UserAuth_GetDeliveryRecords_FullMethodName            = "/api.user.v1.UserAuth/GetDeliveryRecords"
	UserAuth_GetClearLogOne_FullMethodName                = "/api.user.v1.UserAuth/GetClearLogOne"
	UserAuth_GetClearLog_FullMethodName                   = "/api.user.v1.UserAuth/GetClearLog"
	UserAuth_GetMaintainBox_FullMethodName                = "/api.user.v1.UserAuth/GetMaintainBox"
	UserAuth_GetActionLog_FullMethodName                  = "/api.user.v1.UserAuth/GetActionLog"
	UserAuth_UserScanDelivery_FullMethodName              = "/api.user.v1.UserAuth/UserScanDelivery"
	UserAuth_UserPhoneDelivery_FullMethodName             = "/api.user.v1.UserAuth/UserPhoneDelivery"
	UserAuth_UploadViolationRecords_FullMethodName        = "/api.user.v1.UserAuth/UploadViolationRecords"
	UserAuth_GetUserInfo_FullMethodName                   = "/api.user.v1.UserAuth/GetUserInfo"
	UserAuth_GetCompanyInfo_FullMethodName                = "/api.user.v1.UserAuth/GetCompanyInfo"
	UserAuth_UserWithdraw_FullMethodName                  = "/api.user.v1.UserAuth/UserWithdraw"
	UserAuth_GetDeviceListForAdmin_FullMethodName         = "/api.user.v1.UserAuth/GetDeviceListForAdmin"
	UserAuth_GetDeviceListForOwner_FullMethodName         = "/api.user.v1.UserAuth/GetDeviceListForOwner"
	UserAuth_GetDeviceListForClear_FullMethodName         = "/api.user.v1.UserAuth/GetDeviceListForClear"
	UserAuth_GetQueryUserInfo_FullMethodName              = "/api.user.v1.UserAuth/GetQueryUserInfo"
	UserAuth_GetSharesAllocationInfo_FullMethodName       = "/api.user.v1.UserAuth/GetSharesAllocationInfo"
	UserAuth_GetOperationBill_FullMethodName              = "/api.user.v1.UserAuth/GetOperationBill"
	UserAuth_GetTrashManagement_FullMethodName            = "/api.user.v1.UserAuth/GetTrashManagement"
	UserAuth_GetDeviceInfo_FullMethodName                 = "/api.user.v1.UserAuth/GetDeviceInfo"
	UserAuth_GetOssToken_FullMethodName                   = "/api.user.v1.UserAuth/GetOssToken"
)
View Source
const OperationUserAuthGetActionLog = "/api.user.v1.UserAuth/GetActionLog"
View Source
const OperationUserAuthGetClearLog = "/api.user.v1.UserAuth/GetClearLog"
View Source
const OperationUserAuthGetClearLogOne = "/api.user.v1.UserAuth/GetClearLogOne"
View Source
const OperationUserAuthGetCompanyInfo = "/api.user.v1.UserAuth/GetCompanyInfo"
View Source
const OperationUserAuthGetDeliveryRecords = "/api.user.v1.UserAuth/GetDeliveryRecords"
View Source
const OperationUserAuthGetDeliveryRecordsByOwnerType = "/api.user.v1.UserAuth/GetDeliveryRecordsByOwnerType"
View Source
const OperationUserAuthGetDeviceInfo = "/api.user.v1.UserAuth/GetDeviceInfo"
View Source
const OperationUserAuthGetDeviceListForAdmin = "/api.user.v1.UserAuth/GetDeviceListForAdmin"
View Source
const OperationUserAuthGetDeviceListForClear = "/api.user.v1.UserAuth/GetDeviceListForClear"
View Source
const OperationUserAuthGetDeviceListForOwner = "/api.user.v1.UserAuth/GetDeviceListForOwner"
View Source
const OperationUserAuthGetMaintainBox = "/api.user.v1.UserAuth/GetMaintainBox"
View Source
const OperationUserAuthGetOperationBill = "/api.user.v1.UserAuth/GetOperationBill"
View Source
const OperationUserAuthGetOssToken = "/api.user.v1.UserAuth/GetOssToken"
View Source
const OperationUserAuthGetQueryUserInfo = "/api.user.v1.UserAuth/GetQueryUserInfo"
View Source
const OperationUserAuthGetSharesAllocationInfo = "/api.user.v1.UserAuth/GetSharesAllocationInfo"
View Source
const OperationUserAuthGetTrashManagement = "/api.user.v1.UserAuth/GetTrashManagement"
View Source
const OperationUserAuthGetUserInfo = "/api.user.v1.UserAuth/GetUserInfo"
View Source
const OperationUserAuthGetUserInfoByOpenID = "/api.user.v1.UserAuth/GetUserInfoByOpenID"
View Source
const OperationUserAuthUploadViolationRecords = "/api.user.v1.UserAuth/UploadViolationRecords"
View Source
const OperationUserAuthUserBingPhone = "/api.user.v1.UserAuth/UserBingPhone"
View Source
const OperationUserAuthUserClear = "/api.user.v1.UserAuth/UserClear"
View Source
const OperationUserAuthUserMergeAccount = "/api.user.v1.UserAuth/UserMergeAccount"
View Source
const OperationUserAuthUserPhoneDelivery = "/api.user.v1.UserAuth/UserPhoneDelivery"
View Source
const OperationUserAuthUserReg = "/api.user.v1.UserAuth/UserReg"
View Source
const OperationUserAuthUserScanDelivery = "/api.user.v1.UserAuth/UserScanDelivery"
View Source
const OperationUserAuthUserWithdraw = "/api.user.v1.UserAuth/UserWithdraw"

Variables

View Source
var File_user_v1_common_proto protoreflect.FileDescriptor
View Source
var File_user_v1_user_auth_proto protoreflect.FileDescriptor
View Source
var UserAuth_ServiceDesc = grpc.ServiceDesc{
	ServiceName: "api.user.v1.UserAuth",
	HandlerType: (*UserAuthServer)(nil),
	Methods: []grpc.MethodDesc{
		{
			MethodName: "UserReg",
			Handler:    _UserAuth_UserReg_Handler,
		},
		{
			MethodName: "UserBingPhone",
			Handler:    _UserAuth_UserBingPhone_Handler,
		},
		{
			MethodName: "UserMergeAccount",
			Handler:    _UserAuth_UserMergeAccount_Handler,
		},
		{
			MethodName: "UserClear",
			Handler:    _UserAuth_UserClear_Handler,
		},
		{
			MethodName: "GetDeliveryRecordsByOwnerType",
			Handler:    _UserAuth_GetDeliveryRecordsByOwnerType_Handler,
		},
		{
			MethodName: "GetUserInfoByOpenID",
			Handler:    _UserAuth_GetUserInfoByOpenID_Handler,
		},
		{
			MethodName: "GetDeliveryRecords",
			Handler:    _UserAuth_GetDeliveryRecords_Handler,
		},
		{
			MethodName: "GetClearLogOne",
			Handler:    _UserAuth_GetClearLogOne_Handler,
		},
		{
			MethodName: "GetClearLog",
			Handler:    _UserAuth_GetClearLog_Handler,
		},
		{
			MethodName: "GetMaintainBox",
			Handler:    _UserAuth_GetMaintainBox_Handler,
		},
		{
			MethodName: "GetActionLog",
			Handler:    _UserAuth_GetActionLog_Handler,
		},
		{
			MethodName: "UserScanDelivery",
			Handler:    _UserAuth_UserScanDelivery_Handler,
		},
		{
			MethodName: "UserPhoneDelivery",
			Handler:    _UserAuth_UserPhoneDelivery_Handler,
		},
		{
			MethodName: "UploadViolationRecords",
			Handler:    _UserAuth_UploadViolationRecords_Handler,
		},
		{
			MethodName: "GetUserInfo",
			Handler:    _UserAuth_GetUserInfo_Handler,
		},
		{
			MethodName: "GetCompanyInfo",
			Handler:    _UserAuth_GetCompanyInfo_Handler,
		},
		{
			MethodName: "UserWithdraw",
			Handler:    _UserAuth_UserWithdraw_Handler,
		},
		{
			MethodName: "GetDeviceListForAdmin",
			Handler:    _UserAuth_GetDeviceListForAdmin_Handler,
		},
		{
			MethodName: "GetDeviceListForOwner",
			Handler:    _UserAuth_GetDeviceListForOwner_Handler,
		},
		{
			MethodName: "GetDeviceListForClear",
			Handler:    _UserAuth_GetDeviceListForClear_Handler,
		},
		{
			MethodName: "GetQueryUserInfo",
			Handler:    _UserAuth_GetQueryUserInfo_Handler,
		},
		{
			MethodName: "GetSharesAllocationInfo",
			Handler:    _UserAuth_GetSharesAllocationInfo_Handler,
		},
		{
			MethodName: "GetOperationBill",
			Handler:    _UserAuth_GetOperationBill_Handler,
		},
		{
			MethodName: "GetTrashManagement",
			Handler:    _UserAuth_GetTrashManagement_Handler,
		},
		{
			MethodName: "GetDeviceInfo",
			Handler:    _UserAuth_GetDeviceInfo_Handler,
		},
		{
			MethodName: "GetOssToken",
			Handler:    _UserAuth_GetOssToken_Handler,
		},
	},
	Streams:  []grpc.StreamDesc{},
	Metadata: "user/v1/user_auth.proto",
}

UserAuth_ServiceDesc is the grpc.ServiceDesc for UserAuth service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)

Functions

func RegisterUserAuthHTTPServer

func RegisterUserAuthHTTPServer(s *http.Server, srv UserAuthHTTPServer)

func RegisterUserAuthServer

func RegisterUserAuthServer(s grpc.ServiceRegistrar, srv UserAuthServer)

Types

type Empty

type Empty struct {
	// contains filtered or unexported fields
}

空消息

func (*Empty) Descriptor deprecated

func (*Empty) Descriptor() ([]byte, []int)

Deprecated: Use Empty.ProtoReflect.Descriptor instead.

func (*Empty) ProtoMessage

func (*Empty) ProtoMessage()

func (*Empty) ProtoReflect

func (x *Empty) ProtoReflect() protoreflect.Message

func (*Empty) Reset

func (x *Empty) Reset()

func (*Empty) String

func (x *Empty) String() string

type GetActionLogRequest

type GetActionLogRequest struct {

	// OpenID
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 起始日期 (可选)
	StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// 截止日期 (可选)
	EndTime string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

获取操作日志

func (*GetActionLogRequest) Descriptor deprecated

func (*GetActionLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetActionLogRequest.ProtoReflect.Descriptor instead.

func (*GetActionLogRequest) GetAppId

func (x *GetActionLogRequest) GetAppId() string

func (*GetActionLogRequest) GetEndTime

func (x *GetActionLogRequest) GetEndTime() string

func (*GetActionLogRequest) GetOpenId

func (x *GetActionLogRequest) GetOpenId() string

func (*GetActionLogRequest) GetPage

func (x *GetActionLogRequest) GetPage() int64

func (*GetActionLogRequest) GetPageSize

func (x *GetActionLogRequest) GetPageSize() int64

func (*GetActionLogRequest) GetSn

func (x *GetActionLogRequest) GetSn() string

func (*GetActionLogRequest) GetStartTime

func (x *GetActionLogRequest) GetStartTime() string

func (*GetActionLogRequest) ProtoMessage

func (*GetActionLogRequest) ProtoMessage()

func (*GetActionLogRequest) ProtoReflect

func (x *GetActionLogRequest) ProtoReflect() protoreflect.Message

func (*GetActionLogRequest) Reset

func (x *GetActionLogRequest) Reset()

func (*GetActionLogRequest) String

func (x *GetActionLogRequest) String() string

type GetClearLogOneRequest

type GetClearLogOneRequest struct {

	// ID
	Id uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	// 用户标识 (OpenID),不能为空
	OpenId string `protobuf:"bytes,2,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
	// 清运用户ID
	ClearUserId uint64 `protobuf:"varint,4,opt,name=clearUserId,proto3" json:"clearUserId,omitempty"`
	// contains filtered or unexported fields
}

获取清运记录

func (*GetClearLogOneRequest) Descriptor deprecated

func (*GetClearLogOneRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClearLogOneRequest.ProtoReflect.Descriptor instead.

func (*GetClearLogOneRequest) GetAppId

func (x *GetClearLogOneRequest) GetAppId() string

func (*GetClearLogOneRequest) GetClearUserId

func (x *GetClearLogOneRequest) GetClearUserId() uint64

func (*GetClearLogOneRequest) GetId

func (x *GetClearLogOneRequest) GetId() uint64

func (*GetClearLogOneRequest) GetOpenId

func (x *GetClearLogOneRequest) GetOpenId() string

func (*GetClearLogOneRequest) ProtoMessage

func (*GetClearLogOneRequest) ProtoMessage()

func (*GetClearLogOneRequest) ProtoReflect

func (x *GetClearLogOneRequest) ProtoReflect() protoreflect.Message

func (*GetClearLogOneRequest) Reset

func (x *GetClearLogOneRequest) Reset()

func (*GetClearLogOneRequest) String

func (x *GetClearLogOneRequest) String() string

type GetClearLogRequest

type GetClearLogRequest struct {

	// 公司ID
	CompanyId uint64 `protobuf:"varint,1,opt,name=companyId,proto3" json:"companyId,omitempty"`
	// 清运用户ID
	ClearUserId uint64 `protobuf:"varint,2,opt,name=clearUserId,proto3" json:"clearUserId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,3,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,4,opt,name=sn,proto3" json:"sn,omitempty"`
	// 起始日期 (可选)
	StartTime string `protobuf:"bytes,5,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`
	// 截止日期 (可选)
	EndTime string `protobuf:"bytes,6,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,7,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,8,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

获取清运记录

func (*GetClearLogRequest) Descriptor deprecated

func (*GetClearLogRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetClearLogRequest.ProtoReflect.Descriptor instead.

func (*GetClearLogRequest) GetAppId

func (x *GetClearLogRequest) GetAppId() string

func (*GetClearLogRequest) GetClearUserId

func (x *GetClearLogRequest) GetClearUserId() uint64

func (*GetClearLogRequest) GetCompanyId

func (x *GetClearLogRequest) GetCompanyId() uint64

func (*GetClearLogRequest) GetEndTime

func (x *GetClearLogRequest) GetEndTime() string

func (*GetClearLogRequest) GetPage

func (x *GetClearLogRequest) GetPage() int64

func (*GetClearLogRequest) GetPageSize

func (x *GetClearLogRequest) GetPageSize() int64

func (*GetClearLogRequest) GetSn

func (x *GetClearLogRequest) GetSn() string

func (*GetClearLogRequest) GetStartTime

func (x *GetClearLogRequest) GetStartTime() string

func (*GetClearLogRequest) ProtoMessage

func (*GetClearLogRequest) ProtoMessage()

func (*GetClearLogRequest) ProtoReflect

func (x *GetClearLogRequest) ProtoReflect() protoreflect.Message

func (*GetClearLogRequest) Reset

func (x *GetClearLogRequest) Reset()

func (*GetClearLogRequest) String

func (x *GetClearLogRequest) String() string

type GetCompanyInfoRequest

type GetCompanyInfoRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

获取公司信息

func (*GetCompanyInfoRequest) Descriptor deprecated

func (*GetCompanyInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetCompanyInfoRequest.ProtoReflect.Descriptor instead.

func (*GetCompanyInfoRequest) GetAppId

func (x *GetCompanyInfoRequest) GetAppId() string

func (*GetCompanyInfoRequest) GetOpenId

func (x *GetCompanyInfoRequest) GetOpenId() string

func (*GetCompanyInfoRequest) ProtoMessage

func (*GetCompanyInfoRequest) ProtoMessage()

func (*GetCompanyInfoRequest) ProtoReflect

func (x *GetCompanyInfoRequest) ProtoReflect() protoreflect.Message

func (*GetCompanyInfoRequest) Reset

func (x *GetCompanyInfoRequest) Reset()

func (*GetCompanyInfoRequest) String

func (x *GetCompanyInfoRequest) String() string

type GetDeliveryRecordsByOwnerTypeRequest

type GetDeliveryRecordsByOwnerTypeRequest struct {
	OwnerId   uint64 `protobuf:"varint,1,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty"`      // 归属人ID
	OwnerType string `protobuf:"bytes,2,opt,name=owner_type,json=ownerType,proto3" json:"owner_type,omitempty"` // 归属人ID
	Sn        string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`                                // 设备编号
	StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"` // 起始日期 (可选)
	EndTime   string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`       // 截止日期 (可选)
	PageSize  int64  `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`                   // 每页条数
	Page      int64  `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`                           // 页码
	// contains filtered or unexported fields
}

获取投递记录请求

func (*GetDeliveryRecordsByOwnerTypeRequest) Descriptor deprecated

func (*GetDeliveryRecordsByOwnerTypeRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeliveryRecordsByOwnerTypeRequest.ProtoReflect.Descriptor instead.

func (*GetDeliveryRecordsByOwnerTypeRequest) GetEndTime

func (*GetDeliveryRecordsByOwnerTypeRequest) GetOwnerId

func (*GetDeliveryRecordsByOwnerTypeRequest) GetOwnerType

func (x *GetDeliveryRecordsByOwnerTypeRequest) GetOwnerType() string

func (*GetDeliveryRecordsByOwnerTypeRequest) GetPage

func (*GetDeliveryRecordsByOwnerTypeRequest) GetPageSize

func (*GetDeliveryRecordsByOwnerTypeRequest) GetSn

func (*GetDeliveryRecordsByOwnerTypeRequest) GetStartTime

func (x *GetDeliveryRecordsByOwnerTypeRequest) GetStartTime() string

func (*GetDeliveryRecordsByOwnerTypeRequest) ProtoMessage

func (*GetDeliveryRecordsByOwnerTypeRequest) ProtoMessage()

func (*GetDeliveryRecordsByOwnerTypeRequest) ProtoReflect

func (*GetDeliveryRecordsByOwnerTypeRequest) Reset

func (*GetDeliveryRecordsByOwnerTypeRequest) String

type GetDeliveryRecordsRequest

type GetDeliveryRecordsRequest struct {
	UserId    uint64 `protobuf:"varint,1,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty"`          // userId
	CompanyId uint64 `protobuf:"varint,2,opt,name=company_id,json=companyId,proto3" json:"company_id,omitempty"` // CompanyID
	Sn        string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`                                 // 设备编号
	StartTime string `protobuf:"bytes,4,opt,name=start_time,json=startTime,proto3" json:"start_time,omitempty"`  // 起始日期 (可选)
	EndTime   string `protobuf:"bytes,5,opt,name=end_time,json=endTime,proto3" json:"end_time,omitempty"`        // 截止日期 (可选)
	PageSize  int64  `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`                    // 每页条数
	Page      int64  `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`                            // 页码
	// contains filtered or unexported fields
}

查询投递记录

func (*GetDeliveryRecordsRequest) Descriptor deprecated

func (*GetDeliveryRecordsRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeliveryRecordsRequest.ProtoReflect.Descriptor instead.

func (*GetDeliveryRecordsRequest) GetCompanyId

func (x *GetDeliveryRecordsRequest) GetCompanyId() uint64

func (*GetDeliveryRecordsRequest) GetEndTime

func (x *GetDeliveryRecordsRequest) GetEndTime() string

func (*GetDeliveryRecordsRequest) GetPage

func (x *GetDeliveryRecordsRequest) GetPage() int64

func (*GetDeliveryRecordsRequest) GetPageSize

func (x *GetDeliveryRecordsRequest) GetPageSize() int64

func (*GetDeliveryRecordsRequest) GetSn

func (x *GetDeliveryRecordsRequest) GetSn() string

func (*GetDeliveryRecordsRequest) GetStartTime

func (x *GetDeliveryRecordsRequest) GetStartTime() string

func (*GetDeliveryRecordsRequest) GetUserId

func (x *GetDeliveryRecordsRequest) GetUserId() uint64

func (*GetDeliveryRecordsRequest) ProtoMessage

func (*GetDeliveryRecordsRequest) ProtoMessage()

func (*GetDeliveryRecordsRequest) ProtoReflect

func (*GetDeliveryRecordsRequest) Reset

func (x *GetDeliveryRecordsRequest) Reset()

func (*GetDeliveryRecordsRequest) String

func (x *GetDeliveryRecordsRequest) String() string

type GetDeviceInfoRequest

type GetDeviceInfoRequest struct {

	// 设备SN
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// contains filtered or unexported fields
}

查询设备信息

func (*GetDeviceInfoRequest) Descriptor deprecated

func (*GetDeviceInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceInfoRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceInfoRequest) GetSn

func (x *GetDeviceInfoRequest) GetSn() string

func (*GetDeviceInfoRequest) ProtoMessage

func (*GetDeviceInfoRequest) ProtoMessage()

func (*GetDeviceInfoRequest) ProtoReflect

func (x *GetDeviceInfoRequest) ProtoReflect() protoreflect.Message

func (*GetDeviceInfoRequest) Reset

func (x *GetDeviceInfoRequest) Reset()

func (*GetDeviceInfoRequest) String

func (x *GetDeviceInfoRequest) String() string

type GetDeviceListForAdminRequest

type GetDeviceListForAdminRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 设备名称
	BoxName string `protobuf:"bytes,4,opt,name=boxName,proto3" json:"boxName,omitempty"`
	// 设备名称
	Status uint64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	// 特定持有用户ID
	UserId uint64 `protobuf:"varint,8,opt,name=userId,proto3" json:"userId,omitempty"`
	// 清运员ID
	ClearUserId string `protobuf:"bytes,9,opt,name=clearUserId,proto3" json:"clearUserId,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(管理员使用)

func (*GetDeviceListForAdminRequest) Descriptor deprecated

func (*GetDeviceListForAdminRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceListForAdminRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceListForAdminRequest) GetAppId

func (x *GetDeviceListForAdminRequest) GetAppId() string

func (*GetDeviceListForAdminRequest) GetBoxName

func (x *GetDeviceListForAdminRequest) GetBoxName() string

func (*GetDeviceListForAdminRequest) GetClearUserId

func (x *GetDeviceListForAdminRequest) GetClearUserId() string

func (*GetDeviceListForAdminRequest) GetOpenId

func (x *GetDeviceListForAdminRequest) GetOpenId() string

func (*GetDeviceListForAdminRequest) GetPage

func (x *GetDeviceListForAdminRequest) GetPage() int64

func (*GetDeviceListForAdminRequest) GetPageSize

func (x *GetDeviceListForAdminRequest) GetPageSize() int64

func (*GetDeviceListForAdminRequest) GetSn

func (*GetDeviceListForAdminRequest) GetStatus

func (x *GetDeviceListForAdminRequest) GetStatus() uint64

func (*GetDeviceListForAdminRequest) GetUserId

func (x *GetDeviceListForAdminRequest) GetUserId() uint64

func (*GetDeviceListForAdminRequest) ProtoMessage

func (*GetDeviceListForAdminRequest) ProtoMessage()

func (*GetDeviceListForAdminRequest) ProtoReflect

func (*GetDeviceListForAdminRequest) Reset

func (x *GetDeviceListForAdminRequest) Reset()

func (*GetDeviceListForAdminRequest) String

type GetDeviceListForClearRequest

type GetDeviceListForClearRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 设备名称
	BoxName string `protobuf:"bytes,4,opt,name=boxName,proto3" json:"boxName,omitempty"`
	// 设备名称
	Status uint64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(清运员使用)

func (*GetDeviceListForClearRequest) Descriptor deprecated

func (*GetDeviceListForClearRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceListForClearRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceListForClearRequest) GetAppId

func (x *GetDeviceListForClearRequest) GetAppId() string

func (*GetDeviceListForClearRequest) GetBoxName

func (x *GetDeviceListForClearRequest) GetBoxName() string

func (*GetDeviceListForClearRequest) GetOpenId

func (x *GetDeviceListForClearRequest) GetOpenId() string

func (*GetDeviceListForClearRequest) GetPage

func (x *GetDeviceListForClearRequest) GetPage() int64

func (*GetDeviceListForClearRequest) GetPageSize

func (x *GetDeviceListForClearRequest) GetPageSize() int64

func (*GetDeviceListForClearRequest) GetSn

func (*GetDeviceListForClearRequest) GetStatus

func (x *GetDeviceListForClearRequest) GetStatus() uint64

func (*GetDeviceListForClearRequest) ProtoMessage

func (*GetDeviceListForClearRequest) ProtoMessage()

func (*GetDeviceListForClearRequest) ProtoReflect

func (*GetDeviceListForClearRequest) Reset

func (x *GetDeviceListForClearRequest) Reset()

func (*GetDeviceListForClearRequest) String

type GetDeviceListForOwnerRequest

type GetDeviceListForOwnerRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 设备名称
	BoxName string `protobuf:"bytes,4,opt,name=boxName,proto3" json:"boxName,omitempty"`
	// 设备名称
	Status uint64 `protobuf:"varint,5,opt,name=status,proto3" json:"status,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,6,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,7,opt,name=page,proto3" json:"page,omitempty"`
	// 清运员ID
	ClearUserId string `protobuf:"bytes,8,opt,name=clearUserId,proto3" json:"clearUserId,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(持有人使用)

func (*GetDeviceListForOwnerRequest) Descriptor deprecated

func (*GetDeviceListForOwnerRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetDeviceListForOwnerRequest.ProtoReflect.Descriptor instead.

func (*GetDeviceListForOwnerRequest) GetAppId

func (x *GetDeviceListForOwnerRequest) GetAppId() string

func (*GetDeviceListForOwnerRequest) GetBoxName

func (x *GetDeviceListForOwnerRequest) GetBoxName() string

func (*GetDeviceListForOwnerRequest) GetClearUserId

func (x *GetDeviceListForOwnerRequest) GetClearUserId() string

func (*GetDeviceListForOwnerRequest) GetOpenId

func (x *GetDeviceListForOwnerRequest) GetOpenId() string

func (*GetDeviceListForOwnerRequest) GetPage

func (x *GetDeviceListForOwnerRequest) GetPage() int64

func (*GetDeviceListForOwnerRequest) GetPageSize

func (x *GetDeviceListForOwnerRequest) GetPageSize() int64

func (*GetDeviceListForOwnerRequest) GetSn

func (*GetDeviceListForOwnerRequest) GetStatus

func (x *GetDeviceListForOwnerRequest) GetStatus() uint64

func (*GetDeviceListForOwnerRequest) ProtoMessage

func (*GetDeviceListForOwnerRequest) ProtoMessage()

func (*GetDeviceListForOwnerRequest) ProtoReflect

func (*GetDeviceListForOwnerRequest) Reset

func (x *GetDeviceListForOwnerRequest) Reset()

func (*GetDeviceListForOwnerRequest) String

type GetMaintainBoxRequest

type GetMaintainBoxRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 清运记录ID
	ClearId uint64 `protobuf:"varint,3,opt,name=clearId,proto3" json:"clearId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,4,opt,name=sn,proto3" json:"sn,omitempty"`
	// 违规图片JSON
	ImgJson string `protobuf:"bytes,5,opt,name=imgJson,proto3" json:"imgJson,omitempty"`
	// contains filtered or unexported fields
}

箱体维护

func (*GetMaintainBoxRequest) Descriptor deprecated

func (*GetMaintainBoxRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMaintainBoxRequest.ProtoReflect.Descriptor instead.

func (*GetMaintainBoxRequest) GetAppId

func (x *GetMaintainBoxRequest) GetAppId() string

func (*GetMaintainBoxRequest) GetClearId

func (x *GetMaintainBoxRequest) GetClearId() uint64

func (*GetMaintainBoxRequest) GetImgJson

func (x *GetMaintainBoxRequest) GetImgJson() string

func (*GetMaintainBoxRequest) GetOpenId

func (x *GetMaintainBoxRequest) GetOpenId() string

func (*GetMaintainBoxRequest) GetSn

func (x *GetMaintainBoxRequest) GetSn() string

func (*GetMaintainBoxRequest) ProtoMessage

func (*GetMaintainBoxRequest) ProtoMessage()

func (*GetMaintainBoxRequest) ProtoReflect

func (x *GetMaintainBoxRequest) ProtoReflect() protoreflect.Message

func (*GetMaintainBoxRequest) Reset

func (x *GetMaintainBoxRequest) Reset()

func (*GetMaintainBoxRequest) String

func (x *GetMaintainBoxRequest) String() string

type GetMaintainCompanyBoxRequest

type GetMaintainCompanyBoxRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 清运记录ID
	ClearId uint64 `protobuf:"varint,3,opt,name=clearId,proto3" json:"clearId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,4,opt,name=sn,proto3" json:"sn,omitempty"`
	// contains filtered or unexported fields
}

公司箱体维护

func (*GetMaintainCompanyBoxRequest) Descriptor deprecated

func (*GetMaintainCompanyBoxRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetMaintainCompanyBoxRequest.ProtoReflect.Descriptor instead.

func (*GetMaintainCompanyBoxRequest) GetAppId

func (x *GetMaintainCompanyBoxRequest) GetAppId() string

func (*GetMaintainCompanyBoxRequest) GetClearId

func (x *GetMaintainCompanyBoxRequest) GetClearId() uint64

func (*GetMaintainCompanyBoxRequest) GetOpenId

func (x *GetMaintainCompanyBoxRequest) GetOpenId() string

func (*GetMaintainCompanyBoxRequest) GetSn

func (*GetMaintainCompanyBoxRequest) ProtoMessage

func (*GetMaintainCompanyBoxRequest) ProtoMessage()

func (*GetMaintainCompanyBoxRequest) ProtoReflect

func (*GetMaintainCompanyBoxRequest) Reset

func (x *GetMaintainCompanyBoxRequest) Reset()

func (*GetMaintainCompanyBoxRequest) String

type GetOperationBillRequest

type GetOperationBillRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备SN
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 设备状态
	Status int64 `protobuf:"varint,4,opt,name=status,proto3" json:"status,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(清运员使用)

func (*GetOperationBillRequest) Descriptor deprecated

func (*GetOperationBillRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOperationBillRequest.ProtoReflect.Descriptor instead.

func (*GetOperationBillRequest) GetAppId

func (x *GetOperationBillRequest) GetAppId() string

func (*GetOperationBillRequest) GetOpenId

func (x *GetOperationBillRequest) GetOpenId() string

func (*GetOperationBillRequest) GetPage

func (x *GetOperationBillRequest) GetPage() int64

func (*GetOperationBillRequest) GetPageSize

func (x *GetOperationBillRequest) GetPageSize() int64

func (*GetOperationBillRequest) GetSn

func (x *GetOperationBillRequest) GetSn() string

func (*GetOperationBillRequest) GetStatus

func (x *GetOperationBillRequest) GetStatus() int64

func (*GetOperationBillRequest) ProtoMessage

func (*GetOperationBillRequest) ProtoMessage()

func (*GetOperationBillRequest) ProtoReflect

func (x *GetOperationBillRequest) ProtoReflect() protoreflect.Message

func (*GetOperationBillRequest) Reset

func (x *GetOperationBillRequest) Reset()

func (*GetOperationBillRequest) String

func (x *GetOperationBillRequest) String() string

type GetOssTokenRequest

type GetOssTokenRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

获取OssToken

func (*GetOssTokenRequest) Descriptor deprecated

func (*GetOssTokenRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetOssTokenRequest.ProtoReflect.Descriptor instead.

func (*GetOssTokenRequest) GetAppId

func (x *GetOssTokenRequest) GetAppId() string

func (*GetOssTokenRequest) GetOpenId

func (x *GetOssTokenRequest) GetOpenId() string

func (*GetOssTokenRequest) ProtoMessage

func (*GetOssTokenRequest) ProtoMessage()

func (*GetOssTokenRequest) ProtoReflect

func (x *GetOssTokenRequest) ProtoReflect() protoreflect.Message

func (*GetOssTokenRequest) Reset

func (x *GetOssTokenRequest) Reset()

func (*GetOssTokenRequest) String

func (x *GetOssTokenRequest) String() string

type GetQueryUserInfoRequest

type GetQueryUserInfoRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 用户ID
	UserID string `protobuf:"bytes,3,opt,name=userID,proto3" json:"userID,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(清运员使用)

func (*GetQueryUserInfoRequest) Descriptor deprecated

func (*GetQueryUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetQueryUserInfoRequest.ProtoReflect.Descriptor instead.

func (*GetQueryUserInfoRequest) GetAppId

func (x *GetQueryUserInfoRequest) GetAppId() string

func (*GetQueryUserInfoRequest) GetOpenId

func (x *GetQueryUserInfoRequest) GetOpenId() string

func (*GetQueryUserInfoRequest) GetUserID

func (x *GetQueryUserInfoRequest) GetUserID() string

func (*GetQueryUserInfoRequest) ProtoMessage

func (*GetQueryUserInfoRequest) ProtoMessage()

func (*GetQueryUserInfoRequest) ProtoReflect

func (x *GetQueryUserInfoRequest) ProtoReflect() protoreflect.Message

func (*GetQueryUserInfoRequest) Reset

func (x *GetQueryUserInfoRequest) Reset()

func (*GetQueryUserInfoRequest) String

func (x *GetQueryUserInfoRequest) String() string

type GetSharesAllocationInfoRequest

type GetSharesAllocationInfoRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 股份ID
	SharesAllocationID string `protobuf:"bytes,3,opt,name=sharesAllocationID,proto3" json:"sharesAllocationID,omitempty"`
	// 设备SN
	Sn string `protobuf:"bytes,4,opt,name=sn,proto3" json:"sn,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,5,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,6,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

获取设备列表(清运员使用)

func (*GetSharesAllocationInfoRequest) Descriptor deprecated

func (*GetSharesAllocationInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetSharesAllocationInfoRequest.ProtoReflect.Descriptor instead.

func (*GetSharesAllocationInfoRequest) GetAppId

func (x *GetSharesAllocationInfoRequest) GetAppId() string

func (*GetSharesAllocationInfoRequest) GetOpenId

func (x *GetSharesAllocationInfoRequest) GetOpenId() string

func (*GetSharesAllocationInfoRequest) GetPage

func (*GetSharesAllocationInfoRequest) GetPageSize

func (x *GetSharesAllocationInfoRequest) GetPageSize() int64

func (*GetSharesAllocationInfoRequest) GetSharesAllocationID

func (x *GetSharesAllocationInfoRequest) GetSharesAllocationID() string

func (*GetSharesAllocationInfoRequest) GetSn

func (*GetSharesAllocationInfoRequest) ProtoMessage

func (*GetSharesAllocationInfoRequest) ProtoMessage()

func (*GetSharesAllocationInfoRequest) ProtoReflect

func (*GetSharesAllocationInfoRequest) Reset

func (x *GetSharesAllocationInfoRequest) Reset()

func (*GetSharesAllocationInfoRequest) String

type GetTrashManagementRequest

type GetTrashManagementRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备SN
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 每页条数
	PageSize int64 `protobuf:"varint,4,opt,name=pageSize,proto3" json:"pageSize,omitempty"`
	// 页码
	Page int64 `protobuf:"varint,5,opt,name=page,proto3" json:"page,omitempty"`
	// contains filtered or unexported fields
}

设备清运管理

func (*GetTrashManagementRequest) Descriptor deprecated

func (*GetTrashManagementRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTrashManagementRequest.ProtoReflect.Descriptor instead.

func (*GetTrashManagementRequest) GetAppId

func (x *GetTrashManagementRequest) GetAppId() string

func (*GetTrashManagementRequest) GetOpenId

func (x *GetTrashManagementRequest) GetOpenId() string

func (*GetTrashManagementRequest) GetPage

func (x *GetTrashManagementRequest) GetPage() int64

func (*GetTrashManagementRequest) GetPageSize

func (x *GetTrashManagementRequest) GetPageSize() int64

func (*GetTrashManagementRequest) GetSn

func (x *GetTrashManagementRequest) GetSn() string

func (*GetTrashManagementRequest) ProtoMessage

func (*GetTrashManagementRequest) ProtoMessage()

func (*GetTrashManagementRequest) ProtoReflect

func (*GetTrashManagementRequest) Reset

func (x *GetTrashManagementRequest) Reset()

func (*GetTrashManagementRequest) String

func (x *GetTrashManagementRequest) String() string

type GetUserInfoByOpenIDRequest

type GetUserInfoByOpenIDRequest struct {

	// 用户标识 (OpenID),不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

根据OpenID

func (*GetUserInfoByOpenIDRequest) Descriptor deprecated

func (*GetUserInfoByOpenIDRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoByOpenIDRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoByOpenIDRequest) GetAppId

func (x *GetUserInfoByOpenIDRequest) GetAppId() string

func (*GetUserInfoByOpenIDRequest) GetOpenId

func (x *GetUserInfoByOpenIDRequest) GetOpenId() string

func (*GetUserInfoByOpenIDRequest) ProtoMessage

func (*GetUserInfoByOpenIDRequest) ProtoMessage()

func (*GetUserInfoByOpenIDRequest) ProtoReflect

func (*GetUserInfoByOpenIDRequest) Reset

func (x *GetUserInfoByOpenIDRequest) Reset()

func (*GetUserInfoByOpenIDRequest) String

func (x *GetUserInfoByOpenIDRequest) String() string

type GetUserInfoRequest

type GetUserInfoRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// contains filtered or unexported fields
}

获取个人信息

func (*GetUserInfoRequest) Descriptor deprecated

func (*GetUserInfoRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetUserInfoRequest.ProtoReflect.Descriptor instead.

func (*GetUserInfoRequest) GetAppId

func (x *GetUserInfoRequest) GetAppId() string

func (*GetUserInfoRequest) GetOpenId

func (x *GetUserInfoRequest) GetOpenId() string

func (*GetUserInfoRequest) ProtoMessage

func (*GetUserInfoRequest) ProtoMessage()

func (*GetUserInfoRequest) ProtoReflect

func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message

func (*GetUserInfoRequest) Reset

func (x *GetUserInfoRequest) Reset()

func (*GetUserInfoRequest) String

func (x *GetUserInfoRequest) String() string

type Reply

type Reply struct {
	Code    int32  `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`      // 状态码
	Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // 提示信息
	Data    string `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`       // json字符串
	// contains filtered or unexported fields
}

func (*Reply) Descriptor deprecated

func (*Reply) Descriptor() ([]byte, []int)

Deprecated: Use Reply.ProtoReflect.Descriptor instead.

func (*Reply) GetCode

func (x *Reply) GetCode() int32

func (*Reply) GetData

func (x *Reply) GetData() string

func (*Reply) GetMessage

func (x *Reply) GetMessage() string

func (*Reply) ProtoMessage

func (*Reply) ProtoMessage()

func (*Reply) ProtoReflect

func (x *Reply) ProtoReflect() protoreflect.Message

func (*Reply) Reset

func (x *Reply) Reset()

func (*Reply) String

func (x *Reply) String() string

type UnimplementedUserAuthServer

type UnimplementedUserAuthServer struct{}

UnimplementedUserAuthServer must be embedded to have forward compatible implementations.

NOTE: this should be embedded by value instead of pointer to avoid a nil pointer dereference when methods are called.

func (UnimplementedUserAuthServer) GetActionLog

func (UnimplementedUserAuthServer) GetClearLog

func (UnimplementedUserAuthServer) GetClearLogOne

func (UnimplementedUserAuthServer) GetCompanyInfo

func (UnimplementedUserAuthServer) GetDeliveryRecords

func (UnimplementedUserAuthServer) GetDeliveryRecordsByOwnerType

func (UnimplementedUserAuthServer) GetDeviceInfo

func (UnimplementedUserAuthServer) GetDeviceListForAdmin

func (UnimplementedUserAuthServer) GetDeviceListForClear

func (UnimplementedUserAuthServer) GetDeviceListForOwner

func (UnimplementedUserAuthServer) GetMaintainBox

func (UnimplementedUserAuthServer) GetOperationBill

func (UnimplementedUserAuthServer) GetOssToken

func (UnimplementedUserAuthServer) GetQueryUserInfo

func (UnimplementedUserAuthServer) GetSharesAllocationInfo

func (UnimplementedUserAuthServer) GetTrashManagement

func (UnimplementedUserAuthServer) GetUserInfo

func (UnimplementedUserAuthServer) GetUserInfoByOpenID

func (UnimplementedUserAuthServer) UploadViolationRecords

func (UnimplementedUserAuthServer) UserBingPhone

func (UnimplementedUserAuthServer) UserClear

func (UnimplementedUserAuthServer) UserMergeAccount

func (UnimplementedUserAuthServer) UserPhoneDelivery

func (UnimplementedUserAuthServer) UserReg

func (UnimplementedUserAuthServer) UserScanDelivery

func (UnimplementedUserAuthServer) UserWithdraw

type UnsafeUserAuthServer

type UnsafeUserAuthServer interface {
	// contains filtered or unexported methods
}

UnsafeUserAuthServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to UserAuthServer will result in compilation errors.

type UploadViolationRecordsRequest

type UploadViolationRecordsRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 清运记录ID
	ClearId uint64 `protobuf:"varint,3,opt,name=clearId,proto3" json:"clearId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,4,opt,name=sn,proto3" json:"sn,omitempty"`
	// contains filtered or unexported fields
}

获取违规投递记录

func (*UploadViolationRecordsRequest) Descriptor deprecated

func (*UploadViolationRecordsRequest) Descriptor() ([]byte, []int)

Deprecated: Use UploadViolationRecordsRequest.ProtoReflect.Descriptor instead.

func (*UploadViolationRecordsRequest) GetAppId

func (x *UploadViolationRecordsRequest) GetAppId() string

func (*UploadViolationRecordsRequest) GetClearId

func (x *UploadViolationRecordsRequest) GetClearId() uint64

func (*UploadViolationRecordsRequest) GetOpenId

func (x *UploadViolationRecordsRequest) GetOpenId() string

func (*UploadViolationRecordsRequest) GetSn

func (*UploadViolationRecordsRequest) ProtoMessage

func (*UploadViolationRecordsRequest) ProtoMessage()

func (*UploadViolationRecordsRequest) ProtoReflect

func (*UploadViolationRecordsRequest) Reset

func (x *UploadViolationRecordsRequest) Reset()

func (*UploadViolationRecordsRequest) String

type UserAuthClient

type UserAuthClient interface {
	// 用户注册(登录)
	UserReg(ctx context.Context, in *UserRegRequest, opts ...grpc.CallOption) (*Reply, error)
	// 用户绑定手机号
	UserBingPhone(ctx context.Context, in *UserBingPhoneRequest, opts ...grpc.CallOption) (*Reply, error)
	// 账号合并功能
	UserMergeAccount(ctx context.Context, in *UserMergeAccountRequest, opts ...grpc.CallOption) (*Reply, error)
	// 清运员清运
	UserClear(ctx context.Context, in *UserClearRequest, opts ...grpc.CallOption) (*Reply, error)
	// 持有人获取投递记录
	GetDeliveryRecordsByOwnerType(ctx context.Context, in *GetDeliveryRecordsByOwnerTypeRequest, opts ...grpc.CallOption) (*Reply, error)
	// 根据OpenID查询用户信息
	GetUserInfoByOpenID(ctx context.Context, in *GetUserInfoByOpenIDRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询投递记录
	GetDeliveryRecords(ctx context.Context, in *GetDeliveryRecordsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取清运记录单挑
	GetClearLogOne(ctx context.Context, in *GetClearLogOneRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取清运记录
	GetClearLog(ctx context.Context, in *GetClearLogRequest, opts ...grpc.CallOption) (*Reply, error)
	// 箱体维护
	GetMaintainBox(ctx context.Context, in *GetMaintainBoxRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取操作日志
	GetActionLog(ctx context.Context, in *GetActionLogRequest, opts ...grpc.CallOption) (*Reply, error)
	// 用户扫码投递
	UserScanDelivery(ctx context.Context, in *UserScanDeliveryRequest, opts ...grpc.CallOption) (*Reply, error)
	// 用户输入手机号开启投递
	UserPhoneDelivery(ctx context.Context, in *UserPhoneDeliveryRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取违规投递记录
	UploadViolationRecords(ctx context.Context, in *UploadViolationRecordsRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取个人信息
	GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取公司信息
	GetCompanyInfo(ctx context.Context, in *GetCompanyInfoRequest, opts ...grpc.CallOption) (*Reply, error)
	// 用户提现
	UserWithdraw(ctx context.Context, in *UserWithdrawRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取设备列表(管理员使用)
	GetDeviceListForAdmin(ctx context.Context, in *GetDeviceListForAdminRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取设备列表(持有人使用)
	GetDeviceListForOwner(ctx context.Context, in *GetDeviceListForOwnerRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取设备列表(清运员使用)
	GetDeviceListForClear(ctx context.Context, in *GetDeviceListForClearRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询用户信息
	GetQueryUserInfo(ctx context.Context, in *GetQueryUserInfoRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询股份持有信息
	GetSharesAllocationInfo(ctx context.Context, in *GetSharesAllocationInfoRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取运营账单
	GetOperationBill(ctx context.Context, in *GetOperationBillRequest, opts ...grpc.CallOption) (*Reply, error)
	// 清运管理
	GetTrashManagement(ctx context.Context, in *GetTrashManagementRequest, opts ...grpc.CallOption) (*Reply, error)
	// 查询设备信息
	GetDeviceInfo(ctx context.Context, in *GetDeviceInfoRequest, opts ...grpc.CallOption) (*Reply, error)
	// 获取OssToken
	GetOssToken(ctx context.Context, in *GetOssTokenRequest, opts ...grpc.CallOption) (*Reply, error)
}

UserAuthClient is the client API for UserAuth service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.

用户认证管理

func NewUserAuthClient

func NewUserAuthClient(cc grpc.ClientConnInterface) UserAuthClient

type UserAuthHTTPClient

type UserAuthHTTPClient interface {
	GetActionLog(ctx context.Context, req *GetActionLogRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetClearLog(ctx context.Context, req *GetClearLogRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetClearLogOne(ctx context.Context, req *GetClearLogOneRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetCompanyInfo(ctx context.Context, req *GetCompanyInfoRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeliveryRecords(ctx context.Context, req *GetDeliveryRecordsRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeliveryRecordsByOwnerType(ctx context.Context, req *GetDeliveryRecordsByOwnerTypeRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeviceInfo(ctx context.Context, req *GetDeviceInfoRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeviceListForAdmin(ctx context.Context, req *GetDeviceListForAdminRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeviceListForClear(ctx context.Context, req *GetDeviceListForClearRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetDeviceListForOwner(ctx context.Context, req *GetDeviceListForOwnerRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetMaintainBox(ctx context.Context, req *GetMaintainBoxRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetOperationBill(ctx context.Context, req *GetOperationBillRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetOssToken(ctx context.Context, req *GetOssTokenRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetQueryUserInfo(ctx context.Context, req *GetQueryUserInfoRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetSharesAllocationInfo(ctx context.Context, req *GetSharesAllocationInfoRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetTrashManagement(ctx context.Context, req *GetTrashManagementRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetUserInfo(ctx context.Context, req *GetUserInfoRequest, opts ...http.CallOption) (rsp *Reply, err error)
	GetUserInfoByOpenID(ctx context.Context, req *GetUserInfoByOpenIDRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UploadViolationRecords(ctx context.Context, req *UploadViolationRecordsRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserBingPhone(ctx context.Context, req *UserBingPhoneRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserClear(ctx context.Context, req *UserClearRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserMergeAccount(ctx context.Context, req *UserMergeAccountRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserPhoneDelivery(ctx context.Context, req *UserPhoneDeliveryRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserReg(ctx context.Context, req *UserRegRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserScanDelivery(ctx context.Context, req *UserScanDeliveryRequest, opts ...http.CallOption) (rsp *Reply, err error)
	UserWithdraw(ctx context.Context, req *UserWithdrawRequest, opts ...http.CallOption) (rsp *Reply, err error)
}

func NewUserAuthHTTPClient

func NewUserAuthHTTPClient(client *http.Client) UserAuthHTTPClient

type UserAuthHTTPClientImpl

type UserAuthHTTPClientImpl struct {
	// contains filtered or unexported fields
}

func (*UserAuthHTTPClientImpl) GetActionLog

func (c *UserAuthHTTPClientImpl) GetActionLog(ctx context.Context, in *GetActionLogRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetClearLog

func (c *UserAuthHTTPClientImpl) GetClearLog(ctx context.Context, in *GetClearLogRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetClearLogOne

func (c *UserAuthHTTPClientImpl) GetClearLogOne(ctx context.Context, in *GetClearLogOneRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetCompanyInfo

func (c *UserAuthHTTPClientImpl) GetCompanyInfo(ctx context.Context, in *GetCompanyInfoRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeliveryRecords

func (c *UserAuthHTTPClientImpl) GetDeliveryRecords(ctx context.Context, in *GetDeliveryRecordsRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeliveryRecordsByOwnerType

func (c *UserAuthHTTPClientImpl) GetDeliveryRecordsByOwnerType(ctx context.Context, in *GetDeliveryRecordsByOwnerTypeRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeviceInfo

func (c *UserAuthHTTPClientImpl) GetDeviceInfo(ctx context.Context, in *GetDeviceInfoRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeviceListForAdmin

func (c *UserAuthHTTPClientImpl) GetDeviceListForAdmin(ctx context.Context, in *GetDeviceListForAdminRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeviceListForClear

func (c *UserAuthHTTPClientImpl) GetDeviceListForClear(ctx context.Context, in *GetDeviceListForClearRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetDeviceListForOwner

func (c *UserAuthHTTPClientImpl) GetDeviceListForOwner(ctx context.Context, in *GetDeviceListForOwnerRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetMaintainBox

func (c *UserAuthHTTPClientImpl) GetMaintainBox(ctx context.Context, in *GetMaintainBoxRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetOperationBill

func (c *UserAuthHTTPClientImpl) GetOperationBill(ctx context.Context, in *GetOperationBillRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetOssToken

func (c *UserAuthHTTPClientImpl) GetOssToken(ctx context.Context, in *GetOssTokenRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetQueryUserInfo

func (c *UserAuthHTTPClientImpl) GetQueryUserInfo(ctx context.Context, in *GetQueryUserInfoRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetSharesAllocationInfo

func (c *UserAuthHTTPClientImpl) GetSharesAllocationInfo(ctx context.Context, in *GetSharesAllocationInfoRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetTrashManagement

func (c *UserAuthHTTPClientImpl) GetTrashManagement(ctx context.Context, in *GetTrashManagementRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetUserInfo

func (c *UserAuthHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) GetUserInfoByOpenID

func (c *UserAuthHTTPClientImpl) GetUserInfoByOpenID(ctx context.Context, in *GetUserInfoByOpenIDRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UploadViolationRecords

func (c *UserAuthHTTPClientImpl) UploadViolationRecords(ctx context.Context, in *UploadViolationRecordsRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserBingPhone

func (c *UserAuthHTTPClientImpl) UserBingPhone(ctx context.Context, in *UserBingPhoneRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserClear

func (c *UserAuthHTTPClientImpl) UserClear(ctx context.Context, in *UserClearRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserMergeAccount

func (c *UserAuthHTTPClientImpl) UserMergeAccount(ctx context.Context, in *UserMergeAccountRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserPhoneDelivery

func (c *UserAuthHTTPClientImpl) UserPhoneDelivery(ctx context.Context, in *UserPhoneDeliveryRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserReg

func (c *UserAuthHTTPClientImpl) UserReg(ctx context.Context, in *UserRegRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserScanDelivery

func (c *UserAuthHTTPClientImpl) UserScanDelivery(ctx context.Context, in *UserScanDeliveryRequest, opts ...http.CallOption) (*Reply, error)

func (*UserAuthHTTPClientImpl) UserWithdraw

func (c *UserAuthHTTPClientImpl) UserWithdraw(ctx context.Context, in *UserWithdrawRequest, opts ...http.CallOption) (*Reply, error)

type UserAuthHTTPServer

type UserAuthHTTPServer interface {
	// GetActionLog 获取操作日志
	GetActionLog(context.Context, *GetActionLogRequest) (*Reply, error)
	// GetClearLog 获取清运记录
	GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
	// GetClearLogOne 获取清运记录单挑
	GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error)
	// GetCompanyInfo 获取公司信息
	GetCompanyInfo(context.Context, *GetCompanyInfoRequest) (*Reply, error)
	// GetDeliveryRecords 查询投递记录
	GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*Reply, error)
	// GetDeliveryRecordsByOwnerType 持有人获取投递记录
	GetDeliveryRecordsByOwnerType(context.Context, *GetDeliveryRecordsByOwnerTypeRequest) (*Reply, error)
	// GetDeviceInfo 查询设备信息
	GetDeviceInfo(context.Context, *GetDeviceInfoRequest) (*Reply, error)
	// GetDeviceListForAdmin 获取设备列表(管理员使用)
	GetDeviceListForAdmin(context.Context, *GetDeviceListForAdminRequest) (*Reply, error)
	// GetDeviceListForClear 获取设备列表(清运员使用)
	GetDeviceListForClear(context.Context, *GetDeviceListForClearRequest) (*Reply, error)
	// GetDeviceListForOwner 获取设备列表(持有人使用)
	GetDeviceListForOwner(context.Context, *GetDeviceListForOwnerRequest) (*Reply, error)
	// GetMaintainBox 箱体维护
	GetMaintainBox(context.Context, *GetMaintainBoxRequest) (*Reply, error)
	// GetOperationBill 获取运营账单
	GetOperationBill(context.Context, *GetOperationBillRequest) (*Reply, error)
	// GetOssToken 获取OssToken
	GetOssToken(context.Context, *GetOssTokenRequest) (*Reply, error)
	// GetQueryUserInfo 查询用户信息
	GetQueryUserInfo(context.Context, *GetQueryUserInfoRequest) (*Reply, error)
	// GetSharesAllocationInfo 查询股份持有信息
	GetSharesAllocationInfo(context.Context, *GetSharesAllocationInfoRequest) (*Reply, error)
	// GetTrashManagement 清运管理
	GetTrashManagement(context.Context, *GetTrashManagementRequest) (*Reply, error)
	// GetUserInfo 获取个人信息
	GetUserInfo(context.Context, *GetUserInfoRequest) (*Reply, error)
	// GetUserInfoByOpenID 根据OpenID查询用户信息
	GetUserInfoByOpenID(context.Context, *GetUserInfoByOpenIDRequest) (*Reply, error)
	// UploadViolationRecords 获取违规投递记录
	UploadViolationRecords(context.Context, *UploadViolationRecordsRequest) (*Reply, error)
	// UserBingPhone 用户绑定手机号
	UserBingPhone(context.Context, *UserBingPhoneRequest) (*Reply, error)
	// UserClear 清运员清运
	UserClear(context.Context, *UserClearRequest) (*Reply, error)
	// UserMergeAccount 账号合并功能
	UserMergeAccount(context.Context, *UserMergeAccountRequest) (*Reply, error)
	// UserPhoneDelivery 用户输入手机号开启投递
	UserPhoneDelivery(context.Context, *UserPhoneDeliveryRequest) (*Reply, error)
	// UserReg 用户注册(登录)
	UserReg(context.Context, *UserRegRequest) (*Reply, error)
	// UserScanDelivery 用户扫码投递
	UserScanDelivery(context.Context, *UserScanDeliveryRequest) (*Reply, error)
	// UserWithdraw 用户提现
	UserWithdraw(context.Context, *UserWithdrawRequest) (*Reply, error)
}

type UserAuthServer

type UserAuthServer interface {
	// 用户注册(登录)
	UserReg(context.Context, *UserRegRequest) (*Reply, error)
	// 用户绑定手机号
	UserBingPhone(context.Context, *UserBingPhoneRequest) (*Reply, error)
	// 账号合并功能
	UserMergeAccount(context.Context, *UserMergeAccountRequest) (*Reply, error)
	// 清运员清运
	UserClear(context.Context, *UserClearRequest) (*Reply, error)
	// 持有人获取投递记录
	GetDeliveryRecordsByOwnerType(context.Context, *GetDeliveryRecordsByOwnerTypeRequest) (*Reply, error)
	// 根据OpenID查询用户信息
	GetUserInfoByOpenID(context.Context, *GetUserInfoByOpenIDRequest) (*Reply, error)
	// 查询投递记录
	GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*Reply, error)
	// 获取清运记录单挑
	GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error)
	// 获取清运记录
	GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
	// 箱体维护
	GetMaintainBox(context.Context, *GetMaintainBoxRequest) (*Reply, error)
	// 获取操作日志
	GetActionLog(context.Context, *GetActionLogRequest) (*Reply, error)
	// 用户扫码投递
	UserScanDelivery(context.Context, *UserScanDeliveryRequest) (*Reply, error)
	// 用户输入手机号开启投递
	UserPhoneDelivery(context.Context, *UserPhoneDeliveryRequest) (*Reply, error)
	// 获取违规投递记录
	UploadViolationRecords(context.Context, *UploadViolationRecordsRequest) (*Reply, error)
	// 获取个人信息
	GetUserInfo(context.Context, *GetUserInfoRequest) (*Reply, error)
	// 获取公司信息
	GetCompanyInfo(context.Context, *GetCompanyInfoRequest) (*Reply, error)
	// 用户提现
	UserWithdraw(context.Context, *UserWithdrawRequest) (*Reply, error)
	// 获取设备列表(管理员使用)
	GetDeviceListForAdmin(context.Context, *GetDeviceListForAdminRequest) (*Reply, error)
	// 获取设备列表(持有人使用)
	GetDeviceListForOwner(context.Context, *GetDeviceListForOwnerRequest) (*Reply, error)
	// 获取设备列表(清运员使用)
	GetDeviceListForClear(context.Context, *GetDeviceListForClearRequest) (*Reply, error)
	// 查询用户信息
	GetQueryUserInfo(context.Context, *GetQueryUserInfoRequest) (*Reply, error)
	// 查询股份持有信息
	GetSharesAllocationInfo(context.Context, *GetSharesAllocationInfoRequest) (*Reply, error)
	// 获取运营账单
	GetOperationBill(context.Context, *GetOperationBillRequest) (*Reply, error)
	// 清运管理
	GetTrashManagement(context.Context, *GetTrashManagementRequest) (*Reply, error)
	// 查询设备信息
	GetDeviceInfo(context.Context, *GetDeviceInfoRequest) (*Reply, error)
	// 获取OssToken
	GetOssToken(context.Context, *GetOssTokenRequest) (*Reply, error)
	// contains filtered or unexported methods
}

UserAuthServer is the server API for UserAuth service. All implementations must embed UnimplementedUserAuthServer for forward compatibility.

用户认证管理

type UserBingPhoneRequest

type UserBingPhoneRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 手机号获取凭证,不能为空
	Code string `protobuf:"bytes,3,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

用户绑定手机号

func (*UserBingPhoneRequest) Descriptor deprecated

func (*UserBingPhoneRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserBingPhoneRequest.ProtoReflect.Descriptor instead.

func (*UserBingPhoneRequest) GetAppId

func (x *UserBingPhoneRequest) GetAppId() string

func (*UserBingPhoneRequest) GetCode

func (x *UserBingPhoneRequest) GetCode() string

func (*UserBingPhoneRequest) GetOpenId

func (x *UserBingPhoneRequest) GetOpenId() string

func (*UserBingPhoneRequest) ProtoMessage

func (*UserBingPhoneRequest) ProtoMessage()

func (*UserBingPhoneRequest) ProtoReflect

func (x *UserBingPhoneRequest) ProtoReflect() protoreflect.Message

func (*UserBingPhoneRequest) Reset

func (x *UserBingPhoneRequest) Reset()

func (*UserBingPhoneRequest) String

func (x *UserBingPhoneRequest) String() string

type UserClearRequest

type UserClearRequest struct {

	// 公共字段
	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// contains filtered or unexported fields
}

清运员清运参数

func (*UserClearRequest) Descriptor deprecated

func (*UserClearRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserClearRequest.ProtoReflect.Descriptor instead.

func (*UserClearRequest) GetAppId

func (x *UserClearRequest) GetAppId() string

func (*UserClearRequest) GetOpenId

func (x *UserClearRequest) GetOpenId() string

func (*UserClearRequest) GetSn

func (x *UserClearRequest) GetSn() string

func (*UserClearRequest) ProtoMessage

func (*UserClearRequest) ProtoMessage()

func (*UserClearRequest) ProtoReflect

func (x *UserClearRequest) ProtoReflect() protoreflect.Message

func (*UserClearRequest) Reset

func (x *UserClearRequest) Reset()

func (*UserClearRequest) String

func (x *UserClearRequest) String() string

type UserMergeAccountRequest

type UserMergeAccountRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 要合并的手机号
	Phone string `protobuf:"bytes,3,opt,name=phone,proto3" json:"phone,omitempty"`
	// 短信验证码
	SmsCode string `protobuf:"bytes,4,opt,name=smsCode,proto3" json:"smsCode,omitempty"`
	// contains filtered or unexported fields
}

用户合并账号

func (*UserMergeAccountRequest) Descriptor deprecated

func (*UserMergeAccountRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserMergeAccountRequest.ProtoReflect.Descriptor instead.

func (*UserMergeAccountRequest) GetAppId

func (x *UserMergeAccountRequest) GetAppId() string

func (*UserMergeAccountRequest) GetOpenId

func (x *UserMergeAccountRequest) GetOpenId() string

func (*UserMergeAccountRequest) GetPhone

func (x *UserMergeAccountRequest) GetPhone() string

func (*UserMergeAccountRequest) GetSmsCode

func (x *UserMergeAccountRequest) GetSmsCode() string

func (*UserMergeAccountRequest) ProtoMessage

func (*UserMergeAccountRequest) ProtoMessage()

func (*UserMergeAccountRequest) ProtoReflect

func (x *UserMergeAccountRequest) ProtoReflect() protoreflect.Message

func (*UserMergeAccountRequest) Reset

func (x *UserMergeAccountRequest) Reset()

func (*UserMergeAccountRequest) String

func (x *UserMergeAccountRequest) String() string

type UserPhoneDeliveryRequest

type UserPhoneDeliveryRequest struct {

	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 用户手机号
	Phone string `protobuf:"bytes,4,opt,name=phone,proto3" json:"phone,omitempty"`
	// contains filtered or unexported fields
}

用户手机号投递

func (*UserPhoneDeliveryRequest) Descriptor deprecated

func (*UserPhoneDeliveryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserPhoneDeliveryRequest.ProtoReflect.Descriptor instead.

func (*UserPhoneDeliveryRequest) GetAppId

func (x *UserPhoneDeliveryRequest) GetAppId() string

func (*UserPhoneDeliveryRequest) GetPhone

func (x *UserPhoneDeliveryRequest) GetPhone() string

func (*UserPhoneDeliveryRequest) GetSn

func (x *UserPhoneDeliveryRequest) GetSn() string

func (*UserPhoneDeliveryRequest) ProtoMessage

func (*UserPhoneDeliveryRequest) ProtoMessage()

func (*UserPhoneDeliveryRequest) ProtoReflect

func (x *UserPhoneDeliveryRequest) ProtoReflect() protoreflect.Message

func (*UserPhoneDeliveryRequest) Reset

func (x *UserPhoneDeliveryRequest) Reset()

func (*UserPhoneDeliveryRequest) String

func (x *UserPhoneDeliveryRequest) String() string

type UserRegRequest

type UserRegRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号,不能为空
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// 临时登录凭证,不能为空
	Code string `protobuf:"bytes,4,opt,name=code,proto3" json:"code,omitempty"`
	// contains filtered or unexported fields
}

注册用户必须参数

func (*UserRegRequest) Descriptor deprecated

func (*UserRegRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserRegRequest.ProtoReflect.Descriptor instead.

func (*UserRegRequest) GetAppId

func (x *UserRegRequest) GetAppId() string

func (*UserRegRequest) GetCode

func (x *UserRegRequest) GetCode() string

func (*UserRegRequest) GetOpenId

func (x *UserRegRequest) GetOpenId() string

func (*UserRegRequest) GetSn

func (x *UserRegRequest) GetSn() string

func (*UserRegRequest) ProtoMessage

func (*UserRegRequest) ProtoMessage()

func (*UserRegRequest) ProtoReflect

func (x *UserRegRequest) ProtoReflect() protoreflect.Message

func (*UserRegRequest) Reset

func (x *UserRegRequest) Reset()

func (*UserRegRequest) String

func (x *UserRegRequest) String() string

type UserScanDeliveryRequest

type UserScanDeliveryRequest struct {

	// OpenID
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 设备编号
	Sn string `protobuf:"bytes,3,opt,name=sn,proto3" json:"sn,omitempty"`
	// contains filtered or unexported fields
}

用户扫码投递

func (*UserScanDeliveryRequest) Descriptor deprecated

func (*UserScanDeliveryRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserScanDeliveryRequest.ProtoReflect.Descriptor instead.

func (*UserScanDeliveryRequest) GetAppId

func (x *UserScanDeliveryRequest) GetAppId() string

func (*UserScanDeliveryRequest) GetOpenId

func (x *UserScanDeliveryRequest) GetOpenId() string

func (*UserScanDeliveryRequest) GetSn

func (x *UserScanDeliveryRequest) GetSn() string

func (*UserScanDeliveryRequest) ProtoMessage

func (*UserScanDeliveryRequest) ProtoMessage()

func (*UserScanDeliveryRequest) ProtoReflect

func (x *UserScanDeliveryRequest) ProtoReflect() protoreflect.Message

func (*UserScanDeliveryRequest) Reset

func (x *UserScanDeliveryRequest) Reset()

func (*UserScanDeliveryRequest) String

func (x *UserScanDeliveryRequest) String() string

type UserWithdrawRequest

type UserWithdrawRequest struct {

	// 用户标识,不能为空
	OpenId string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"`
	// 应用AppId,不能为空
	AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"`
	// 提现金额
	Money float32 `protobuf:"fixed32,3,opt,name=money,proto3" json:"money,omitempty"`
	// 提现账户
	Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
	// contains filtered or unexported fields
}

用户提现

func (*UserWithdrawRequest) Descriptor deprecated

func (*UserWithdrawRequest) Descriptor() ([]byte, []int)

Deprecated: Use UserWithdrawRequest.ProtoReflect.Descriptor instead.

func (*UserWithdrawRequest) GetAppId

func (x *UserWithdrawRequest) GetAppId() string

func (*UserWithdrawRequest) GetMoney

func (x *UserWithdrawRequest) GetMoney() float32

func (*UserWithdrawRequest) GetOpenId

func (x *UserWithdrawRequest) GetOpenId() string

func (*UserWithdrawRequest) GetType

func (x *UserWithdrawRequest) GetType() string

func (*UserWithdrawRequest) ProtoMessage

func (*UserWithdrawRequest) ProtoMessage()

func (*UserWithdrawRequest) ProtoReflect

func (x *UserWithdrawRequest) ProtoReflect() protoreflect.Message

func (*UserWithdrawRequest) Reset

func (x *UserWithdrawRequest) Reset()

func (*UserWithdrawRequest) String

func (x *UserWithdrawRequest) String() string

Source Files

  • common.pb.go
  • user_auth.pb.go
  • user_auth_grpc.pb.go
  • user_auth_http.pb.go

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL