Documentation
¶
Index ¶
- Constants
- Variables
- func RegisterAppHTTPServer(s *http.Server, srv AppHTTPServer)
- func RegisterAppServer(s grpc.ServiceRegistrar, srv AppServer)
- type AppClient
- type AppHTTPClient
- type AppHTTPClientImpl
- func (c *AppHTTPClientImpl) GetActionLog(ctx context.Context, in *GetActionLogRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetClearLog(ctx context.Context, in *GetClearLogRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetClearLogOne(ctx context.Context, in *GetClearLogOneRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetCompanyClearLog(ctx context.Context, in *GetClearLogRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetCompanyDeliveryRecords(ctx context.Context, in *GetCompanyDeliveryRecordsRequest, ...) (*Reply, error)
- func (c *AppHTTPClientImpl) GetCompanyInfo(ctx context.Context, in *GetCompanyInfoRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetDeliveryRecords(ctx context.Context, in *GetDeliveryRecordsRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetDeviceInfo(ctx context.Context, in *GetDeviceInfoRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetDeviceListForAdmin(ctx context.Context, in *GetDeviceListForAdminRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetDeviceListForClear(ctx context.Context, in *GetDeviceListForClearRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetDeviceListForOwner(ctx context.Context, in *GetDeviceListForOwnerRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetMaintainBox(ctx context.Context, in *GetMaintainBoxRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetOperationBill(ctx context.Context, in *GetOperationBillRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetOssToken(ctx context.Context, in *GetOssTokenRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetQueryUserInfo(ctx context.Context, in *GetQueryUserInfoRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetSharesAllocationInfo(ctx context.Context, in *GetSharesAllocationInfoRequest, ...) (*Reply, error)
- func (c *AppHTTPClientImpl) GetTrashManagement(ctx context.Context, in *GetTrashManagementRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) GetUserDeliveryRecords(ctx context.Context, in *GetUserDeliveryRecordsRequest, ...) (*Reply, error)
- func (c *AppHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) Payment(ctx context.Context, in *PaymentRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UploadViolationRecords(ctx context.Context, in *UploadViolationRecordsRequest, ...) (*Reply, error)
- func (c *AppHTTPClientImpl) UserBingPhone(ctx context.Context, in *UserBingPhoneRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserClear(ctx context.Context, in *UserClearRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserMergeAccount(ctx context.Context, in *UserMergeAccountRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserPhoneDelivery(ctx context.Context, in *UserPhoneDeliveryRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserReg(ctx context.Context, in *UserRegRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserScanDelivery(ctx context.Context, in *UserScanDeliveryRequest, opts ...http.CallOption) (*Reply, error)
- func (c *AppHTTPClientImpl) UserWithdraw(ctx context.Context, in *UserWithdrawRequest, opts ...http.CallOption) (*Reply, error)
- type AppHTTPServer
- type AppServer
- type Empty
- type GetActionLogRequest
- func (*GetActionLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetActionLogRequest) GetAppId() string
- func (x *GetActionLogRequest) GetEndTime() string
- func (x *GetActionLogRequest) GetOpenId() string
- func (x *GetActionLogRequest) GetPage() int64
- func (x *GetActionLogRequest) GetPageSize() int64
- func (x *GetActionLogRequest) GetSn() string
- func (x *GetActionLogRequest) GetStartTime() string
- func (*GetActionLogRequest) ProtoMessage()
- func (x *GetActionLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetActionLogRequest) Reset()
- func (x *GetActionLogRequest) String() string
- type GetClearLogOneRequest
- func (*GetClearLogOneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClearLogOneRequest) GetAppId() string
- func (x *GetClearLogOneRequest) GetId() uint64
- func (x *GetClearLogOneRequest) GetOpenId() string
- func (*GetClearLogOneRequest) ProtoMessage()
- func (x *GetClearLogOneRequest) ProtoReflect() protoreflect.Message
- func (x *GetClearLogOneRequest) Reset()
- func (x *GetClearLogOneRequest) String() string
- type GetClearLogRequest
- func (*GetClearLogRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetClearLogRequest) GetAppId() string
- func (x *GetClearLogRequest) GetEndTime() string
- func (x *GetClearLogRequest) GetOpenId() string
- func (x *GetClearLogRequest) GetPage() int64
- func (x *GetClearLogRequest) GetPageSize() int64
- func (x *GetClearLogRequest) GetSn() string
- func (x *GetClearLogRequest) GetStartTime() string
- func (*GetClearLogRequest) ProtoMessage()
- func (x *GetClearLogRequest) ProtoReflect() protoreflect.Message
- func (x *GetClearLogRequest) Reset()
- func (x *GetClearLogRequest) String() string
- type GetCompanyDeliveryRecordsRequest
- func (*GetCompanyDeliveryRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyDeliveryRecordsRequest) GetAppId() string
- func (x *GetCompanyDeliveryRecordsRequest) GetEndTime() string
- func (x *GetCompanyDeliveryRecordsRequest) GetOpenId() string
- func (x *GetCompanyDeliveryRecordsRequest) GetPage() int64
- func (x *GetCompanyDeliveryRecordsRequest) GetPageSize() int64
- func (x *GetCompanyDeliveryRecordsRequest) GetSn() string
- func (x *GetCompanyDeliveryRecordsRequest) GetStartTime() string
- func (*GetCompanyDeliveryRecordsRequest) ProtoMessage()
- func (x *GetCompanyDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompanyDeliveryRecordsRequest) Reset()
- func (x *GetCompanyDeliveryRecordsRequest) String() string
- type GetCompanyInfoRequest
- func (*GetCompanyInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetCompanyInfoRequest) GetAppId() string
- func (x *GetCompanyInfoRequest) GetOpenId() string
- func (*GetCompanyInfoRequest) ProtoMessage()
- func (x *GetCompanyInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetCompanyInfoRequest) Reset()
- func (x *GetCompanyInfoRequest) String() string
- type GetDeliveryRecordsRequest
- func (*GetDeliveryRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeliveryRecordsRequest) GetAppId() string
- func (x *GetDeliveryRecordsRequest) GetEndTime() string
- func (x *GetDeliveryRecordsRequest) GetOpenId() string
- func (x *GetDeliveryRecordsRequest) GetPage() int64
- func (x *GetDeliveryRecordsRequest) GetPageSize() int64
- func (x *GetDeliveryRecordsRequest) GetSn() string
- func (x *GetDeliveryRecordsRequest) GetStartTime() string
- func (*GetDeliveryRecordsRequest) ProtoMessage()
- func (x *GetDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeliveryRecordsRequest) Reset()
- func (x *GetDeliveryRecordsRequest) String() string
- type GetDeviceInfoRequest
- func (*GetDeviceInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceInfoRequest) GetSn() string
- func (*GetDeviceInfoRequest) ProtoMessage()
- func (x *GetDeviceInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceInfoRequest) Reset()
- func (x *GetDeviceInfoRequest) String() string
- type GetDeviceListForAdminRequest
- func (*GetDeviceListForAdminRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceListForAdminRequest) GetAppId() string
- func (x *GetDeviceListForAdminRequest) GetBoxName() string
- func (x *GetDeviceListForAdminRequest) GetClearUserId() string
- func (x *GetDeviceListForAdminRequest) GetOpenId() string
- func (x *GetDeviceListForAdminRequest) GetPage() int64
- func (x *GetDeviceListForAdminRequest) GetPageSize() int64
- func (x *GetDeviceListForAdminRequest) GetSn() string
- func (x *GetDeviceListForAdminRequest) GetStatus() uint64
- func (x *GetDeviceListForAdminRequest) GetUserId() uint64
- func (*GetDeviceListForAdminRequest) ProtoMessage()
- func (x *GetDeviceListForAdminRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceListForAdminRequest) Reset()
- func (x *GetDeviceListForAdminRequest) String() string
- type GetDeviceListForClearRequest
- func (*GetDeviceListForClearRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceListForClearRequest) GetAppId() string
- func (x *GetDeviceListForClearRequest) GetBoxName() string
- func (x *GetDeviceListForClearRequest) GetOpenId() string
- func (x *GetDeviceListForClearRequest) GetPage() int64
- func (x *GetDeviceListForClearRequest) GetPageSize() int64
- func (x *GetDeviceListForClearRequest) GetSn() string
- func (x *GetDeviceListForClearRequest) GetStatus() uint64
- func (*GetDeviceListForClearRequest) ProtoMessage()
- func (x *GetDeviceListForClearRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceListForClearRequest) Reset()
- func (x *GetDeviceListForClearRequest) String() string
- type GetDeviceListForOwnerRequest
- func (*GetDeviceListForOwnerRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetDeviceListForOwnerRequest) GetAppId() string
- func (x *GetDeviceListForOwnerRequest) GetBoxName() string
- func (x *GetDeviceListForOwnerRequest) GetClearUserId() string
- func (x *GetDeviceListForOwnerRequest) GetOpenId() string
- func (x *GetDeviceListForOwnerRequest) GetPage() int64
- func (x *GetDeviceListForOwnerRequest) GetPageSize() int64
- func (x *GetDeviceListForOwnerRequest) GetSn() string
- func (x *GetDeviceListForOwnerRequest) GetStatus() uint64
- func (*GetDeviceListForOwnerRequest) ProtoMessage()
- func (x *GetDeviceListForOwnerRequest) ProtoReflect() protoreflect.Message
- func (x *GetDeviceListForOwnerRequest) Reset()
- func (x *GetDeviceListForOwnerRequest) String() string
- type GetMaintainBoxRequest
- func (*GetMaintainBoxRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetMaintainBoxRequest) GetAppId() string
- func (x *GetMaintainBoxRequest) GetClearId() uint64
- func (x *GetMaintainBoxRequest) GetImgJson() string
- func (x *GetMaintainBoxRequest) GetOpenId() string
- func (x *GetMaintainBoxRequest) GetSn() string
- func (*GetMaintainBoxRequest) ProtoMessage()
- func (x *GetMaintainBoxRequest) ProtoReflect() protoreflect.Message
- func (x *GetMaintainBoxRequest) Reset()
- func (x *GetMaintainBoxRequest) String() string
- type GetOperationBillRequest
- func (*GetOperationBillRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOperationBillRequest) GetAppId() string
- func (x *GetOperationBillRequest) GetOpenId() string
- func (x *GetOperationBillRequest) GetPage() int64
- func (x *GetOperationBillRequest) GetPageSize() int64
- func (x *GetOperationBillRequest) GetSn() string
- func (x *GetOperationBillRequest) GetStatus() int64
- func (*GetOperationBillRequest) ProtoMessage()
- func (x *GetOperationBillRequest) ProtoReflect() protoreflect.Message
- func (x *GetOperationBillRequest) Reset()
- func (x *GetOperationBillRequest) String() string
- type GetOssTokenRequest
- func (*GetOssTokenRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetOssTokenRequest) GetAppId() string
- func (x *GetOssTokenRequest) GetOpenId() string
- func (*GetOssTokenRequest) ProtoMessage()
- func (x *GetOssTokenRequest) ProtoReflect() protoreflect.Message
- func (x *GetOssTokenRequest) Reset()
- func (x *GetOssTokenRequest) String() string
- type GetQueryUserInfoRequest
- func (*GetQueryUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetQueryUserInfoRequest) GetAppId() string
- func (x *GetQueryUserInfoRequest) GetOpenId() string
- func (x *GetQueryUserInfoRequest) GetUserID() string
- func (*GetQueryUserInfoRequest) ProtoMessage()
- func (x *GetQueryUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetQueryUserInfoRequest) Reset()
- func (x *GetQueryUserInfoRequest) String() string
- type GetSharesAllocationInfoRequest
- func (*GetSharesAllocationInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetSharesAllocationInfoRequest) GetAppId() string
- func (x *GetSharesAllocationInfoRequest) GetOpenId() string
- func (x *GetSharesAllocationInfoRequest) GetPage() int64
- func (x *GetSharesAllocationInfoRequest) GetPageSize() int64
- func (x *GetSharesAllocationInfoRequest) GetSharesAllocationID() string
- func (x *GetSharesAllocationInfoRequest) GetSn() string
- func (*GetSharesAllocationInfoRequest) ProtoMessage()
- func (x *GetSharesAllocationInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetSharesAllocationInfoRequest) Reset()
- func (x *GetSharesAllocationInfoRequest) String() string
- type GetTrashManagementRequest
- func (*GetTrashManagementRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetTrashManagementRequest) GetAppId() string
- func (x *GetTrashManagementRequest) GetOpenId() string
- func (x *GetTrashManagementRequest) GetPage() int64
- func (x *GetTrashManagementRequest) GetPageSize() int64
- func (x *GetTrashManagementRequest) GetSn() string
- func (*GetTrashManagementRequest) ProtoMessage()
- func (x *GetTrashManagementRequest) ProtoReflect() protoreflect.Message
- func (x *GetTrashManagementRequest) Reset()
- func (x *GetTrashManagementRequest) String() string
- type GetUserDeliveryRecordsRequest
- func (*GetUserDeliveryRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserDeliveryRecordsRequest) GetAppId() string
- func (x *GetUserDeliveryRecordsRequest) GetEndTime() string
- func (x *GetUserDeliveryRecordsRequest) GetOpenId() string
- func (x *GetUserDeliveryRecordsRequest) GetPage() int64
- func (x *GetUserDeliveryRecordsRequest) GetPageSize() int64
- func (x *GetUserDeliveryRecordsRequest) GetSn() string
- func (x *GetUserDeliveryRecordsRequest) GetStartTime() string
- func (*GetUserDeliveryRecordsRequest) ProtoMessage()
- func (x *GetUserDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserDeliveryRecordsRequest) Reset()
- func (x *GetUserDeliveryRecordsRequest) String() string
- type GetUserInfoRequest
- func (*GetUserInfoRequest) Descriptor() ([]byte, []int)deprecated
- func (x *GetUserInfoRequest) GetAppId() string
- func (x *GetUserInfoRequest) GetOpenId() string
- func (*GetUserInfoRequest) ProtoMessage()
- func (x *GetUserInfoRequest) ProtoReflect() protoreflect.Message
- func (x *GetUserInfoRequest) Reset()
- func (x *GetUserInfoRequest) String() string
- type PaymentRequest
- func (*PaymentRequest) Descriptor() ([]byte, []int)deprecated
- func (x *PaymentRequest) GetAmount() uint64
- func (x *PaymentRequest) GetAppId() string
- func (x *PaymentRequest) GetDescription() string
- func (x *PaymentRequest) GetOpenId() string
- func (x *PaymentRequest) GetOrderId() string
- func (x *PaymentRequest) GetPaymentType() string
- func (*PaymentRequest) ProtoMessage()
- func (x *PaymentRequest) ProtoReflect() protoreflect.Message
- func (x *PaymentRequest) Reset()
- func (x *PaymentRequest) String() string
- type Reply
- type UnimplementedAppServer
- func (UnimplementedAppServer) GetActionLog(context.Context, *GetActionLogRequest) (*Reply, error)
- func (UnimplementedAppServer) GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
- func (UnimplementedAppServer) GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error)
- func (UnimplementedAppServer) GetCompanyClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
- func (UnimplementedAppServer) GetCompanyDeliveryRecords(context.Context, *GetCompanyDeliveryRecordsRequest) (*Reply, error)
- func (UnimplementedAppServer) GetCompanyInfo(context.Context, *GetCompanyInfoRequest) (*Reply, error)
- func (UnimplementedAppServer) GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*Reply, error)
- func (UnimplementedAppServer) GetDeviceInfo(context.Context, *GetDeviceInfoRequest) (*Reply, error)
- func (UnimplementedAppServer) GetDeviceListForAdmin(context.Context, *GetDeviceListForAdminRequest) (*Reply, error)
- func (UnimplementedAppServer) GetDeviceListForClear(context.Context, *GetDeviceListForClearRequest) (*Reply, error)
- func (UnimplementedAppServer) GetDeviceListForOwner(context.Context, *GetDeviceListForOwnerRequest) (*Reply, error)
- func (UnimplementedAppServer) GetMaintainBox(context.Context, *GetMaintainBoxRequest) (*Reply, error)
- func (UnimplementedAppServer) GetOperationBill(context.Context, *GetOperationBillRequest) (*Reply, error)
- func (UnimplementedAppServer) GetOssToken(context.Context, *GetOssTokenRequest) (*Reply, error)
- func (UnimplementedAppServer) GetQueryUserInfo(context.Context, *GetQueryUserInfoRequest) (*Reply, error)
- func (UnimplementedAppServer) GetSharesAllocationInfo(context.Context, *GetSharesAllocationInfoRequest) (*Reply, error)
- func (UnimplementedAppServer) GetTrashManagement(context.Context, *GetTrashManagementRequest) (*Reply, error)
- func (UnimplementedAppServer) GetUserDeliveryRecords(context.Context, *GetUserDeliveryRecordsRequest) (*Reply, error)
- func (UnimplementedAppServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*Reply, error)
- func (UnimplementedAppServer) Payment(context.Context, *PaymentRequest) (*Reply, error)
- func (UnimplementedAppServer) UploadViolationRecords(context.Context, *UploadViolationRecordsRequest) (*Reply, error)
- func (UnimplementedAppServer) UserBingPhone(context.Context, *UserBingPhoneRequest) (*Reply, error)
- func (UnimplementedAppServer) UserClear(context.Context, *UserClearRequest) (*Reply, error)
- func (UnimplementedAppServer) UserMergeAccount(context.Context, *UserMergeAccountRequest) (*Reply, error)
- func (UnimplementedAppServer) UserPhoneDelivery(context.Context, *UserPhoneDeliveryRequest) (*Reply, error)
- func (UnimplementedAppServer) UserReg(context.Context, *UserRegRequest) (*Reply, error)
- func (UnimplementedAppServer) UserScanDelivery(context.Context, *UserScanDeliveryRequest) (*Reply, error)
- func (UnimplementedAppServer) UserWithdraw(context.Context, *UserWithdrawRequest) (*Reply, error)
- type UnsafeAppServer
- type UploadViolationRecordsRequest
- func (*UploadViolationRecordsRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UploadViolationRecordsRequest) GetAppId() string
- func (x *UploadViolationRecordsRequest) GetClearId() uint64
- func (x *UploadViolationRecordsRequest) GetOpenId() string
- func (x *UploadViolationRecordsRequest) GetSn() string
- func (*UploadViolationRecordsRequest) ProtoMessage()
- func (x *UploadViolationRecordsRequest) ProtoReflect() protoreflect.Message
- func (x *UploadViolationRecordsRequest) Reset()
- func (x *UploadViolationRecordsRequest) String() string
- type UserBingPhoneRequest
- func (*UserBingPhoneRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserBingPhoneRequest) GetAppId() string
- func (x *UserBingPhoneRequest) GetCode() string
- func (x *UserBingPhoneRequest) GetOpenId() string
- func (*UserBingPhoneRequest) ProtoMessage()
- func (x *UserBingPhoneRequest) ProtoReflect() protoreflect.Message
- func (x *UserBingPhoneRequest) Reset()
- func (x *UserBingPhoneRequest) String() string
- type UserClearRequest
- func (*UserClearRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserClearRequest) GetAppId() string
- func (x *UserClearRequest) GetOpenId() string
- func (x *UserClearRequest) GetSn() string
- func (*UserClearRequest) ProtoMessage()
- func (x *UserClearRequest) ProtoReflect() protoreflect.Message
- func (x *UserClearRequest) Reset()
- func (x *UserClearRequest) String() string
- type UserMergeAccountRequest
- func (*UserMergeAccountRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserMergeAccountRequest) GetAppId() string
- func (x *UserMergeAccountRequest) GetOpenId() string
- func (x *UserMergeAccountRequest) GetPhone() string
- func (x *UserMergeAccountRequest) GetSmsCode() string
- func (*UserMergeAccountRequest) ProtoMessage()
- func (x *UserMergeAccountRequest) ProtoReflect() protoreflect.Message
- func (x *UserMergeAccountRequest) Reset()
- func (x *UserMergeAccountRequest) String() string
- type UserPhoneDeliveryRequest
- func (*UserPhoneDeliveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserPhoneDeliveryRequest) GetAppId() string
- func (x *UserPhoneDeliveryRequest) GetPhone() string
- func (x *UserPhoneDeliveryRequest) GetSn() string
- func (*UserPhoneDeliveryRequest) ProtoMessage()
- func (x *UserPhoneDeliveryRequest) ProtoReflect() protoreflect.Message
- func (x *UserPhoneDeliveryRequest) Reset()
- func (x *UserPhoneDeliveryRequest) String() string
- type UserRegRequest
- func (*UserRegRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserRegRequest) GetAppId() string
- func (x *UserRegRequest) GetCode() string
- func (x *UserRegRequest) GetSn() string
- func (*UserRegRequest) ProtoMessage()
- func (x *UserRegRequest) ProtoReflect() protoreflect.Message
- func (x *UserRegRequest) Reset()
- func (x *UserRegRequest) String() string
- type UserScanDeliveryRequest
- func (*UserScanDeliveryRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserScanDeliveryRequest) GetAppId() string
- func (x *UserScanDeliveryRequest) GetOpenId() string
- func (x *UserScanDeliveryRequest) GetSn() string
- func (*UserScanDeliveryRequest) ProtoMessage()
- func (x *UserScanDeliveryRequest) ProtoReflect() protoreflect.Message
- func (x *UserScanDeliveryRequest) Reset()
- func (x *UserScanDeliveryRequest) String() string
- type UserWithdrawRequest
- func (*UserWithdrawRequest) Descriptor() ([]byte, []int)deprecated
- func (x *UserWithdrawRequest) GetAppId() string
- func (x *UserWithdrawRequest) GetMoney() float32
- func (x *UserWithdrawRequest) GetOpenId() string
- func (x *UserWithdrawRequest) GetType() string
- func (*UserWithdrawRequest) ProtoMessage()
- func (x *UserWithdrawRequest) ProtoReflect() protoreflect.Message
- func (x *UserWithdrawRequest) Reset()
- func (x *UserWithdrawRequest) String() string
Constants ¶
const ( App_UserReg_FullMethodName = "/api.app.v1.App/UserReg" App_UserBingPhone_FullMethodName = "/api.app.v1.App/UserBingPhone" App_UserMergeAccount_FullMethodName = "/api.app.v1.App/UserMergeAccount" App_UserClear_FullMethodName = "/api.app.v1.App/UserClear" App_Payment_FullMethodName = "/api.app.v1.App/Payment" App_GetUserDeliveryRecords_FullMethodName = "/api.app.v1.App/GetUserDeliveryRecords" App_GetCompanyDeliveryRecords_FullMethodName = "/api.app.v1.App/GetCompanyDeliveryRecords" App_GetDeliveryRecords_FullMethodName = "/api.app.v1.App/GetDeliveryRecords" App_GetClearLogOne_FullMethodName = "/api.app.v1.App/GetClearLogOne" App_GetClearLog_FullMethodName = "/api.app.v1.App/GetClearLog" App_GetCompanyClearLog_FullMethodName = "/api.app.v1.App/GetCompanyClearLog" App_GetMaintainBox_FullMethodName = "/api.app.v1.App/GetMaintainBox" App_GetActionLog_FullMethodName = "/api.app.v1.App/GetActionLog" App_UserScanDelivery_FullMethodName = "/api.app.v1.App/UserScanDelivery" App_UserPhoneDelivery_FullMethodName = "/api.app.v1.App/UserPhoneDelivery" App_UploadViolationRecords_FullMethodName = "/api.app.v1.App/UploadViolationRecords" App_GetUserInfo_FullMethodName = "/api.app.v1.App/GetUserInfo" App_GetCompanyInfo_FullMethodName = "/api.app.v1.App/GetCompanyInfo" App_UserWithdraw_FullMethodName = "/api.app.v1.App/UserWithdraw" App_GetDeviceListForAdmin_FullMethodName = "/api.app.v1.App/GetDeviceListForAdmin" App_GetDeviceListForOwner_FullMethodName = "/api.app.v1.App/GetDeviceListForOwner" App_GetDeviceListForClear_FullMethodName = "/api.app.v1.App/GetDeviceListForClear" App_GetQueryUserInfo_FullMethodName = "/api.app.v1.App/GetQueryUserInfo" App_GetOperationBill_FullMethodName = "/api.app.v1.App/GetOperationBill" App_GetTrashManagement_FullMethodName = "/api.app.v1.App/GetTrashManagement" App_GetDeviceInfo_FullMethodName = "/api.app.v1.App/GetDeviceInfo" App_GetOssToken_FullMethodName = "/api.app.v1.App/GetOssToken" )
const OperationAppGetActionLog = "/api.app.v1.App/GetActionLog"
const OperationAppGetClearLog = "/api.app.v1.App/GetClearLog"
const OperationAppGetClearLogOne = "/api.app.v1.App/GetClearLogOne"
const OperationAppGetCompanyClearLog = "/api.app.v1.App/GetCompanyClearLog"
const OperationAppGetCompanyDeliveryRecords = "/api.app.v1.App/GetCompanyDeliveryRecords"
const OperationAppGetCompanyInfo = "/api.app.v1.App/GetCompanyInfo"
const OperationAppGetDeliveryRecords = "/api.app.v1.App/GetDeliveryRecords"
const OperationAppGetDeviceInfo = "/api.app.v1.App/GetDeviceInfo"
const OperationAppGetDeviceListForAdmin = "/api.app.v1.App/GetDeviceListForAdmin"
const OperationAppGetDeviceListForClear = "/api.app.v1.App/GetDeviceListForClear"
const OperationAppGetDeviceListForOwner = "/api.app.v1.App/GetDeviceListForOwner"
const OperationAppGetMaintainBox = "/api.app.v1.App/GetMaintainBox"
const OperationAppGetOperationBill = "/api.app.v1.App/GetOperationBill"
const OperationAppGetOssToken = "/api.app.v1.App/GetOssToken"
const OperationAppGetQueryUserInfo = "/api.app.v1.App/GetQueryUserInfo"
const OperationAppGetTrashManagement = "/api.app.v1.App/GetTrashManagement"
const OperationAppGetUserDeliveryRecords = "/api.app.v1.App/GetUserDeliveryRecords"
const OperationAppGetUserInfo = "/api.app.v1.App/GetUserInfo"
const OperationAppPayment = "/api.app.v1.App/Payment"
const OperationAppUploadViolationRecords = "/api.app.v1.App/UploadViolationRecords"
const OperationAppUserBingPhone = "/api.app.v1.App/UserBingPhone"
const OperationAppUserClear = "/api.app.v1.App/UserClear"
const OperationAppUserMergeAccount = "/api.app.v1.App/UserMergeAccount"
const OperationAppUserPhoneDelivery = "/api.app.v1.App/UserPhoneDelivery"
const OperationAppUserReg = "/api.app.v1.App/UserReg"
const OperationAppUserScanDelivery = "/api.app.v1.App/UserScanDelivery"
const OperationAppUserWithdraw = "/api.app.v1.App/UserWithdraw"
Variables ¶
var App_ServiceDesc = grpc.ServiceDesc{ ServiceName: "api.app.v1.App", HandlerType: (*AppServer)(nil), Methods: []grpc.MethodDesc{ { MethodName: "UserReg", Handler: _App_UserReg_Handler, }, { MethodName: "UserBingPhone", Handler: _App_UserBingPhone_Handler, }, { MethodName: "UserMergeAccount", Handler: _App_UserMergeAccount_Handler, }, { MethodName: "UserClear", Handler: _App_UserClear_Handler, }, { MethodName: "Payment", Handler: _App_Payment_Handler, }, { MethodName: "GetUserDeliveryRecords", Handler: _App_GetUserDeliveryRecords_Handler, }, { MethodName: "GetCompanyDeliveryRecords", Handler: _App_GetCompanyDeliveryRecords_Handler, }, { MethodName: "GetDeliveryRecords", Handler: _App_GetDeliveryRecords_Handler, }, { MethodName: "GetClearLogOne", Handler: _App_GetClearLogOne_Handler, }, { MethodName: "GetClearLog", Handler: _App_GetClearLog_Handler, }, { MethodName: "GetCompanyClearLog", Handler: _App_GetCompanyClearLog_Handler, }, { MethodName: "GetMaintainBox", Handler: _App_GetMaintainBox_Handler, }, { MethodName: "GetActionLog", Handler: _App_GetActionLog_Handler, }, { MethodName: "UserScanDelivery", Handler: _App_UserScanDelivery_Handler, }, { MethodName: "UserPhoneDelivery", Handler: _App_UserPhoneDelivery_Handler, }, { MethodName: "UploadViolationRecords", Handler: _App_UploadViolationRecords_Handler, }, { MethodName: "GetUserInfo", Handler: _App_GetUserInfo_Handler, }, { MethodName: "GetCompanyInfo", Handler: _App_GetCompanyInfo_Handler, }, { MethodName: "UserWithdraw", Handler: _App_UserWithdraw_Handler, }, { MethodName: "GetDeviceListForAdmin", Handler: _App_GetDeviceListForAdmin_Handler, }, { MethodName: "GetDeviceListForOwner", Handler: _App_GetDeviceListForOwner_Handler, }, { MethodName: "GetDeviceListForClear", Handler: _App_GetDeviceListForClear_Handler, }, { MethodName: "GetQueryUserInfo", Handler: _App_GetQueryUserInfo_Handler, }, { MethodName: "GetSharesAllocationInfo", Handler: _App_GetSharesAllocationInfo_Handler, }, { MethodName: "GetOperationBill", Handler: _App_GetOperationBill_Handler, }, { MethodName: "GetTrashManagement", Handler: _App_GetTrashManagement_Handler, }, { MethodName: "GetDeviceInfo", Handler: _App_GetDeviceInfo_Handler, }, { MethodName: "GetOssToken", Handler: _App_GetOssToken_Handler, }, }, Streams: []grpc.StreamDesc{}, Metadata: "app/v1/app.proto", }
App_ServiceDesc is the grpc.ServiceDesc for App service. It's only intended for direct use with grpc.RegisterService, and not to be introspected or modified (even as a copy)
var File_app_v1_app_proto protoreflect.FileDescriptor
var File_app_v1_common_proto protoreflect.FileDescriptor
Functions ¶
func RegisterAppHTTPServer ¶
func RegisterAppHTTPServer(s *http.Server, srv AppHTTPServer)
func RegisterAppServer ¶
func RegisterAppServer(s grpc.ServiceRegistrar, srv AppServer)
Types ¶
type AppClient ¶
type AppClient 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) // 发起支付 Payment(ctx context.Context, in *PaymentRequest, opts ...grpc.CallOption) (*Reply, error) // 获取投递记录(只有持有人可以获取投递记录) GetUserDeliveryRecords(ctx context.Context, in *GetUserDeliveryRecordsRequest, opts ...grpc.CallOption) (*Reply, error) // 公司获取投递记录 GetCompanyDeliveryRecords(ctx context.Context, in *GetCompanyDeliveryRecordsRequest, 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) // 清运公司获取清运记录 GetCompanyClearLog(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) }
AppClient is the client API for App service.
For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkgo.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream.
func NewAppClient ¶
func NewAppClient(cc grpc.ClientConnInterface) AppClient
type AppHTTPClient ¶
type AppHTTPClient 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) GetCompanyClearLog(ctx context.Context, req *GetClearLogRequest, opts ...http.CallOption) (rsp *Reply, err error) GetCompanyDeliveryRecords(ctx context.Context, req *GetCompanyDeliveryRecordsRequest, 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) 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) GetTrashManagement(ctx context.Context, req *GetTrashManagementRequest, opts ...http.CallOption) (rsp *Reply, err error) GetUserDeliveryRecords(ctx context.Context, req *GetUserDeliveryRecordsRequest, opts ...http.CallOption) (rsp *Reply, err error) GetUserInfo(ctx context.Context, req *GetUserInfoRequest, opts ...http.CallOption) (rsp *Reply, err error) Payment(ctx context.Context, req *PaymentRequest, 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 NewAppHTTPClient ¶
func NewAppHTTPClient(client *http.Client) AppHTTPClient
type AppHTTPClientImpl ¶
type AppHTTPClientImpl struct {
// contains filtered or unexported fields
}
func (*AppHTTPClientImpl) GetActionLog ¶
func (c *AppHTTPClientImpl) GetActionLog(ctx context.Context, in *GetActionLogRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetClearLog ¶
func (c *AppHTTPClientImpl) GetClearLog(ctx context.Context, in *GetClearLogRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetClearLogOne ¶
func (c *AppHTTPClientImpl) GetClearLogOne(ctx context.Context, in *GetClearLogOneRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetCompanyClearLog ¶
func (c *AppHTTPClientImpl) GetCompanyClearLog(ctx context.Context, in *GetClearLogRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetCompanyDeliveryRecords ¶
func (c *AppHTTPClientImpl) GetCompanyDeliveryRecords(ctx context.Context, in *GetCompanyDeliveryRecordsRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetCompanyInfo ¶
func (c *AppHTTPClientImpl) GetCompanyInfo(ctx context.Context, in *GetCompanyInfoRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetDeliveryRecords ¶
func (c *AppHTTPClientImpl) GetDeliveryRecords(ctx context.Context, in *GetDeliveryRecordsRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetDeviceInfo ¶
func (c *AppHTTPClientImpl) GetDeviceInfo(ctx context.Context, in *GetDeviceInfoRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetDeviceListForAdmin ¶
func (c *AppHTTPClientImpl) GetDeviceListForAdmin(ctx context.Context, in *GetDeviceListForAdminRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetDeviceListForClear ¶
func (c *AppHTTPClientImpl) GetDeviceListForClear(ctx context.Context, in *GetDeviceListForClearRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetDeviceListForOwner ¶
func (c *AppHTTPClientImpl) GetDeviceListForOwner(ctx context.Context, in *GetDeviceListForOwnerRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetMaintainBox ¶
func (c *AppHTTPClientImpl) GetMaintainBox(ctx context.Context, in *GetMaintainBoxRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetOperationBill ¶
func (c *AppHTTPClientImpl) GetOperationBill(ctx context.Context, in *GetOperationBillRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetOssToken ¶
func (c *AppHTTPClientImpl) GetOssToken(ctx context.Context, in *GetOssTokenRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetQueryUserInfo ¶
func (c *AppHTTPClientImpl) GetQueryUserInfo(ctx context.Context, in *GetQueryUserInfoRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetSharesAllocationInfo ¶
func (c *AppHTTPClientImpl) GetSharesAllocationInfo(ctx context.Context, in *GetSharesAllocationInfoRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetTrashManagement ¶
func (c *AppHTTPClientImpl) GetTrashManagement(ctx context.Context, in *GetTrashManagementRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetUserDeliveryRecords ¶
func (c *AppHTTPClientImpl) GetUserDeliveryRecords(ctx context.Context, in *GetUserDeliveryRecordsRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) GetUserInfo ¶
func (c *AppHTTPClientImpl) GetUserInfo(ctx context.Context, in *GetUserInfoRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) Payment ¶
func (c *AppHTTPClientImpl) Payment(ctx context.Context, in *PaymentRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UploadViolationRecords ¶
func (c *AppHTTPClientImpl) UploadViolationRecords(ctx context.Context, in *UploadViolationRecordsRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserBingPhone ¶
func (c *AppHTTPClientImpl) UserBingPhone(ctx context.Context, in *UserBingPhoneRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserClear ¶
func (c *AppHTTPClientImpl) UserClear(ctx context.Context, in *UserClearRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserMergeAccount ¶
func (c *AppHTTPClientImpl) UserMergeAccount(ctx context.Context, in *UserMergeAccountRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserPhoneDelivery ¶
func (c *AppHTTPClientImpl) UserPhoneDelivery(ctx context.Context, in *UserPhoneDeliveryRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserReg ¶
func (c *AppHTTPClientImpl) UserReg(ctx context.Context, in *UserRegRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserScanDelivery ¶
func (c *AppHTTPClientImpl) UserScanDelivery(ctx context.Context, in *UserScanDeliveryRequest, opts ...http.CallOption) (*Reply, error)
func (*AppHTTPClientImpl) UserWithdraw ¶
func (c *AppHTTPClientImpl) UserWithdraw(ctx context.Context, in *UserWithdrawRequest, opts ...http.CallOption) (*Reply, error)
type AppHTTPServer ¶
type AppHTTPServer interface { // GetActionLog 获取操作日志 GetActionLog(context.Context, *GetActionLogRequest) (*Reply, error) // GetClearLog 清运员获取清运记录 GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error) // GetClearLogOne 获取清运记录单挑 GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error) // GetCompanyClearLog 清运公司获取清运记录 GetCompanyClearLog(context.Context, *GetClearLogRequest) (*Reply, error) // GetCompanyDeliveryRecords 公司获取投递记录 GetCompanyDeliveryRecords(context.Context, *GetCompanyDeliveryRecordsRequest) (*Reply, error) // GetCompanyInfo 获取公司信息 GetCompanyInfo(context.Context, *GetCompanyInfoRequest) (*Reply, error) // GetDeliveryRecords 用户获取投递记录 GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*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(context.Context, *GetSharesAllocationInfoRequest) (*Reply, error) // GetTrashManagement 清运管理 GetTrashManagement(context.Context, *GetTrashManagementRequest) (*Reply, error) // GetUserDeliveryRecords 获取投递记录(只有持有人可以获取投递记录) GetUserDeliveryRecords(context.Context, *GetUserDeliveryRecordsRequest) (*Reply, error) // GetUserInfo 获取个人信息 GetUserInfo(context.Context, *GetUserInfoRequest) (*Reply, error) // Payment 发起支付 Payment(context.Context, *PaymentRequest) (*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 AppServer ¶
type AppServer 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) // 发起支付 Payment(context.Context, *PaymentRequest) (*Reply, error) // 获取投递记录(只有持有人可以获取投递记录) GetUserDeliveryRecords(context.Context, *GetUserDeliveryRecordsRequest) (*Reply, error) // 公司获取投递记录 GetCompanyDeliveryRecords(context.Context, *GetCompanyDeliveryRecordsRequest) (*Reply, error) // 用户获取投递记录 GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*Reply, error) // 获取清运记录单挑 GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error) // 清运员获取清运记录 GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error) // 清运公司获取清运记录 GetCompanyClearLog(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 }
AppServer is the server API for App service. All implementations must embed UnimplementedAppServer for forward compatibility.
type Empty ¶
type Empty struct {
// contains filtered or unexported fields
}
空消息
func (*Empty) ProtoReflect ¶
func (x *Empty) ProtoReflect() protoreflect.Message
type GetActionLogRequest ¶
type GetActionLogRequest 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"` // 起始日期 (可选) 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"` // 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) 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 { // 用户标识,不能为空 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 (*GetClearLogRequest) Descriptor
deprecated
func (*GetClearLogRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetClearLogRequest.ProtoReflect.Descriptor instead.
func (*GetClearLogRequest) GetAppId ¶
func (x *GetClearLogRequest) GetAppId() string
func (*GetClearLogRequest) GetEndTime ¶
func (x *GetClearLogRequest) GetEndTime() string
func (*GetClearLogRequest) GetOpenId ¶
func (x *GetClearLogRequest) GetOpenId() 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 GetCompanyDeliveryRecordsRequest ¶
type GetCompanyDeliveryRecordsRequest 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"` // 起始日期 (可选) 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 (*GetCompanyDeliveryRecordsRequest) Descriptor
deprecated
func (*GetCompanyDeliveryRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetCompanyDeliveryRecordsRequest.ProtoReflect.Descriptor instead.
func (*GetCompanyDeliveryRecordsRequest) GetAppId ¶
func (x *GetCompanyDeliveryRecordsRequest) GetAppId() string
func (*GetCompanyDeliveryRecordsRequest) GetEndTime ¶
func (x *GetCompanyDeliveryRecordsRequest) GetEndTime() string
func (*GetCompanyDeliveryRecordsRequest) GetOpenId ¶
func (x *GetCompanyDeliveryRecordsRequest) GetOpenId() string
func (*GetCompanyDeliveryRecordsRequest) GetPage ¶
func (x *GetCompanyDeliveryRecordsRequest) GetPage() int64
func (*GetCompanyDeliveryRecordsRequest) GetPageSize ¶
func (x *GetCompanyDeliveryRecordsRequest) GetPageSize() int64
func (*GetCompanyDeliveryRecordsRequest) GetSn ¶
func (x *GetCompanyDeliveryRecordsRequest) GetSn() string
func (*GetCompanyDeliveryRecordsRequest) GetStartTime ¶
func (x *GetCompanyDeliveryRecordsRequest) GetStartTime() string
func (*GetCompanyDeliveryRecordsRequest) ProtoMessage ¶
func (*GetCompanyDeliveryRecordsRequest) ProtoMessage()
func (*GetCompanyDeliveryRecordsRequest) ProtoReflect ¶
func (x *GetCompanyDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
func (*GetCompanyDeliveryRecordsRequest) Reset ¶
func (x *GetCompanyDeliveryRecordsRequest) Reset()
func (*GetCompanyDeliveryRecordsRequest) String ¶
func (x *GetCompanyDeliveryRecordsRequest) 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 GetDeliveryRecordsRequest ¶
type GetDeliveryRecordsRequest 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"` // 起始日期 (可选) 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) GetAppId ¶
func (x *GetDeliveryRecordsRequest) GetAppId() string
func (*GetDeliveryRecordsRequest) GetEndTime ¶
func (x *GetDeliveryRecordsRequest) GetEndTime() string
func (*GetDeliveryRecordsRequest) GetOpenId ¶
func (x *GetDeliveryRecordsRequest) GetOpenId() 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) ProtoMessage ¶
func (*GetDeliveryRecordsRequest) ProtoMessage()
func (*GetDeliveryRecordsRequest) ProtoReflect ¶
func (x *GetDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
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 (x *GetDeviceListForAdminRequest) GetSn() string
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 (x *GetDeviceListForAdminRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceListForAdminRequest) Reset ¶
func (x *GetDeviceListForAdminRequest) Reset()
func (*GetDeviceListForAdminRequest) String ¶
func (x *GetDeviceListForAdminRequest) String() 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 (x *GetDeviceListForClearRequest) GetSn() string
func (*GetDeviceListForClearRequest) GetStatus ¶
func (x *GetDeviceListForClearRequest) GetStatus() uint64
func (*GetDeviceListForClearRequest) ProtoMessage ¶
func (*GetDeviceListForClearRequest) ProtoMessage()
func (*GetDeviceListForClearRequest) ProtoReflect ¶
func (x *GetDeviceListForClearRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceListForClearRequest) Reset ¶
func (x *GetDeviceListForClearRequest) Reset()
func (*GetDeviceListForClearRequest) String ¶
func (x *GetDeviceListForClearRequest) String() 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 (x *GetDeviceListForOwnerRequest) GetSn() string
func (*GetDeviceListForOwnerRequest) GetStatus ¶
func (x *GetDeviceListForOwnerRequest) GetStatus() uint64
func (*GetDeviceListForOwnerRequest) ProtoMessage ¶
func (*GetDeviceListForOwnerRequest) ProtoMessage()
func (*GetDeviceListForOwnerRequest) ProtoReflect ¶
func (x *GetDeviceListForOwnerRequest) ProtoReflect() protoreflect.Message
func (*GetDeviceListForOwnerRequest) Reset ¶
func (x *GetDeviceListForOwnerRequest) Reset()
func (*GetDeviceListForOwnerRequest) String ¶
func (x *GetDeviceListForOwnerRequest) String() 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 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 { string `protobuf:"bytes,1,opt,name=openId,proto3" json:"openId,omitempty"` AppId string `protobuf:"bytes,2,opt,name=appId,proto3" json:"appId,omitempty"` SharesAllocationID string `protobuf:"bytes,3,opt,name=sharesAllocationID,proto3" json:"sharesAllocationID,omitempty"` 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 }OpenId
获取设备列表(清运员使用)
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 (x *GetSharesAllocationInfoRequest) GetPage() int64
func (*GetSharesAllocationInfoRequest) GetPageSize ¶
func (x *GetSharesAllocationInfoRequest) GetPageSize() int64
func (*GetSharesAllocationInfoRequest) GetSharesAllocationID ¶
func (x *GetSharesAllocationInfoRequest) GetSharesAllocationID() string
func (*GetSharesAllocationInfoRequest) GetSn ¶
func (x *GetSharesAllocationInfoRequest) GetSn() string
func (*GetSharesAllocationInfoRequest) ProtoMessage ¶
func (*GetSharesAllocationInfoRequest) ProtoMessage()
func (*GetSharesAllocationInfoRequest) ProtoReflect ¶
func (x *GetSharesAllocationInfoRequest) ProtoReflect() protoreflect.Message
func (*GetSharesAllocationInfoRequest) Reset ¶
func (x *GetSharesAllocationInfoRequest) Reset()
func (*GetSharesAllocationInfoRequest) String ¶
func (x *GetSharesAllocationInfoRequest) String() 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 (x *GetTrashManagementRequest) ProtoReflect() protoreflect.Message
func (*GetTrashManagementRequest) Reset ¶
func (x *GetTrashManagementRequest) Reset()
func (*GetTrashManagementRequest) String ¶
func (x *GetTrashManagementRequest) String() string
type GetUserDeliveryRecordsRequest ¶
type GetUserDeliveryRecordsRequest 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"` // 起始日期 (可选) 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 (*GetUserDeliveryRecordsRequest) Descriptor
deprecated
func (*GetUserDeliveryRecordsRequest) Descriptor() ([]byte, []int)
Deprecated: Use GetUserDeliveryRecordsRequest.ProtoReflect.Descriptor instead.
func (*GetUserDeliveryRecordsRequest) GetAppId ¶
func (x *GetUserDeliveryRecordsRequest) GetAppId() string
func (*GetUserDeliveryRecordsRequest) GetEndTime ¶
func (x *GetUserDeliveryRecordsRequest) GetEndTime() string
func (*GetUserDeliveryRecordsRequest) GetOpenId ¶
func (x *GetUserDeliveryRecordsRequest) GetOpenId() string
func (*GetUserDeliveryRecordsRequest) GetPage ¶
func (x *GetUserDeliveryRecordsRequest) GetPage() int64
func (*GetUserDeliveryRecordsRequest) GetPageSize ¶
func (x *GetUserDeliveryRecordsRequest) GetPageSize() int64
func (*GetUserDeliveryRecordsRequest) GetSn ¶
func (x *GetUserDeliveryRecordsRequest) GetSn() string
func (*GetUserDeliveryRecordsRequest) GetStartTime ¶
func (x *GetUserDeliveryRecordsRequest) GetStartTime() string
func (*GetUserDeliveryRecordsRequest) ProtoMessage ¶
func (*GetUserDeliveryRecordsRequest) ProtoMessage()
func (*GetUserDeliveryRecordsRequest) ProtoReflect ¶
func (x *GetUserDeliveryRecordsRequest) ProtoReflect() protoreflect.Message
func (*GetUserDeliveryRecordsRequest) Reset ¶
func (x *GetUserDeliveryRecordsRequest) Reset()
func (*GetUserDeliveryRecordsRequest) String ¶
func (x *GetUserDeliveryRecordsRequest) 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 PaymentRequest ¶
type PaymentRequest struct { Amount uint64 `protobuf:"varint,1,opt,name=amount,proto3" json:"amount,omitempty"` // 支付金额(以分为单位,如100表示1元) AppId string `protobuf:"bytes,2,opt,name=app_id,json=appId,proto3" json:"app_id,omitempty"` // 微信支付应用ID OrderId string `protobuf:"bytes,3,opt,name=order_id,json=orderId,proto3" json:"order_id,omitempty"` // 商户订单号 OpenId string `protobuf:"bytes,4,opt,name=open_id,json=openId,proto3" json:"open_id,omitempty"` // openID Description string `protobuf:"bytes,5,opt,name=description,proto3" json:"description,omitempty"` // 支付说明或备注 PaymentType string `protobuf:"bytes,6,opt,name=payment_type,json=paymentType,proto3" json:"payment_type,omitempty"` // 支付类型 // contains filtered or unexported fields }
发起支付请求
func (*PaymentRequest) Descriptor
deprecated
func (*PaymentRequest) Descriptor() ([]byte, []int)
Deprecated: Use PaymentRequest.ProtoReflect.Descriptor instead.
func (*PaymentRequest) GetAmount ¶
func (x *PaymentRequest) GetAmount() uint64
func (*PaymentRequest) GetAppId ¶
func (x *PaymentRequest) GetAppId() string
func (*PaymentRequest) GetDescription ¶
func (x *PaymentRequest) GetDescription() string
func (*PaymentRequest) GetOpenId ¶
func (x *PaymentRequest) GetOpenId() string
func (*PaymentRequest) GetOrderId ¶
func (x *PaymentRequest) GetOrderId() string
func (*PaymentRequest) GetPaymentType ¶
func (x *PaymentRequest) GetPaymentType() string
func (*PaymentRequest) ProtoMessage ¶
func (*PaymentRequest) ProtoMessage()
func (*PaymentRequest) ProtoReflect ¶
func (x *PaymentRequest) ProtoReflect() protoreflect.Message
func (*PaymentRequest) Reset ¶
func (x *PaymentRequest) Reset()
func (*PaymentRequest) String ¶
func (x *PaymentRequest) 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) ProtoReflect ¶
func (x *Reply) ProtoReflect() protoreflect.Message
type UnimplementedAppServer ¶
type UnimplementedAppServer struct{}
UnimplementedAppServer 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 (UnimplementedAppServer) GetActionLog ¶
func (UnimplementedAppServer) GetActionLog(context.Context, *GetActionLogRequest) (*Reply, error)
func (UnimplementedAppServer) GetClearLog ¶
func (UnimplementedAppServer) GetClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
func (UnimplementedAppServer) GetClearLogOne ¶
func (UnimplementedAppServer) GetClearLogOne(context.Context, *GetClearLogOneRequest) (*Reply, error)
func (UnimplementedAppServer) GetCompanyClearLog ¶
func (UnimplementedAppServer) GetCompanyClearLog(context.Context, *GetClearLogRequest) (*Reply, error)
func (UnimplementedAppServer) GetCompanyDeliveryRecords ¶
func (UnimplementedAppServer) GetCompanyDeliveryRecords(context.Context, *GetCompanyDeliveryRecordsRequest) (*Reply, error)
func (UnimplementedAppServer) GetCompanyInfo ¶
func (UnimplementedAppServer) GetCompanyInfo(context.Context, *GetCompanyInfoRequest) (*Reply, error)
func (UnimplementedAppServer) GetDeliveryRecords ¶
func (UnimplementedAppServer) GetDeliveryRecords(context.Context, *GetDeliveryRecordsRequest) (*Reply, error)
func (UnimplementedAppServer) GetDeviceInfo ¶
func (UnimplementedAppServer) GetDeviceInfo(context.Context, *GetDeviceInfoRequest) (*Reply, error)
func (UnimplementedAppServer) GetDeviceListForAdmin ¶
func (UnimplementedAppServer) GetDeviceListForAdmin(context.Context, *GetDeviceListForAdminRequest) (*Reply, error)
func (UnimplementedAppServer) GetDeviceListForClear ¶
func (UnimplementedAppServer) GetDeviceListForClear(context.Context, *GetDeviceListForClearRequest) (*Reply, error)
func (UnimplementedAppServer) GetDeviceListForOwner ¶
func (UnimplementedAppServer) GetDeviceListForOwner(context.Context, *GetDeviceListForOwnerRequest) (*Reply, error)
func (UnimplementedAppServer) GetMaintainBox ¶
func (UnimplementedAppServer) GetMaintainBox(context.Context, *GetMaintainBoxRequest) (*Reply, error)
func (UnimplementedAppServer) GetOperationBill ¶
func (UnimplementedAppServer) GetOperationBill(context.Context, *GetOperationBillRequest) (*Reply, error)
func (UnimplementedAppServer) GetOssToken ¶
func (UnimplementedAppServer) GetOssToken(context.Context, *GetOssTokenRequest) (*Reply, error)
func (UnimplementedAppServer) GetQueryUserInfo ¶
func (UnimplementedAppServer) GetQueryUserInfo(context.Context, *GetQueryUserInfoRequest) (*Reply, error)
func (UnimplementedAppServer) GetSharesAllocationInfo ¶
func (UnimplementedAppServer) GetSharesAllocationInfo(context.Context, *GetSharesAllocationInfoRequest) (*Reply, error)
func (UnimplementedAppServer) GetTrashManagement ¶
func (UnimplementedAppServer) GetTrashManagement(context.Context, *GetTrashManagementRequest) (*Reply, error)
func (UnimplementedAppServer) GetUserDeliveryRecords ¶
func (UnimplementedAppServer) GetUserDeliveryRecords(context.Context, *GetUserDeliveryRecordsRequest) (*Reply, error)
func (UnimplementedAppServer) GetUserInfo ¶
func (UnimplementedAppServer) GetUserInfo(context.Context, *GetUserInfoRequest) (*Reply, error)
func (UnimplementedAppServer) Payment ¶
func (UnimplementedAppServer) Payment(context.Context, *PaymentRequest) (*Reply, error)
func (UnimplementedAppServer) UploadViolationRecords ¶
func (UnimplementedAppServer) UploadViolationRecords(context.Context, *UploadViolationRecordsRequest) (*Reply, error)
func (UnimplementedAppServer) UserBingPhone ¶
func (UnimplementedAppServer) UserBingPhone(context.Context, *UserBingPhoneRequest) (*Reply, error)
func (UnimplementedAppServer) UserClear ¶
func (UnimplementedAppServer) UserClear(context.Context, *UserClearRequest) (*Reply, error)
func (UnimplementedAppServer) UserMergeAccount ¶
func (UnimplementedAppServer) UserMergeAccount(context.Context, *UserMergeAccountRequest) (*Reply, error)
func (UnimplementedAppServer) UserPhoneDelivery ¶
func (UnimplementedAppServer) UserPhoneDelivery(context.Context, *UserPhoneDeliveryRequest) (*Reply, error)
func (UnimplementedAppServer) UserReg ¶
func (UnimplementedAppServer) UserReg(context.Context, *UserRegRequest) (*Reply, error)
func (UnimplementedAppServer) UserScanDelivery ¶
func (UnimplementedAppServer) UserScanDelivery(context.Context, *UserScanDeliveryRequest) (*Reply, error)
func (UnimplementedAppServer) UserWithdraw ¶
func (UnimplementedAppServer) UserWithdraw(context.Context, *UserWithdrawRequest) (*Reply, error)
type UnsafeAppServer ¶
type UnsafeAppServer interface {
// contains filtered or unexported methods
}
UnsafeAppServer may be embedded to opt out of forward compatibility for this service. Use of this interface is not recommended, as added methods to AppServer 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 (x *UploadViolationRecordsRequest) GetSn() string
func (*UploadViolationRecordsRequest) ProtoMessage ¶
func (*UploadViolationRecordsRequest) ProtoMessage()
func (*UploadViolationRecordsRequest) ProtoReflect ¶
func (x *UploadViolationRecordsRequest) ProtoReflect() protoreflect.Message
func (*UploadViolationRecordsRequest) Reset ¶
func (x *UploadViolationRecordsRequest) Reset()
func (*UploadViolationRecordsRequest) String ¶
func (x *UploadViolationRecordsRequest) String() string
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 { // 应用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) 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