services

package
v0.6.11 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2021 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DeviceWarmMQTTService

type DeviceWarmMQTTService struct {
}

type DeviceWarmService

type DeviceWarmService struct {
	DeviceWarmDao *daos.DeviceWarmDao `inject:"-"`
}

func NewDeviceWarmMQTTService

func NewDeviceWarmMQTTService() *DeviceWarmService

func NewDeviceWarmService

func NewDeviceWarmService() *DeviceWarmService

func (*DeviceWarmService) BindRelationShip

func (this *DeviceWarmService) BindRelationShip(deviceId string, bind string)

func (*DeviceWarmService) CountDeviceUserList

func (this *DeviceWarmService) CountDeviceUserList() int

func (*DeviceWarmService) CountDeviceUserRelationShipList

func (this *DeviceWarmService) CountDeviceUserRelationShipList(id string) int

func (*DeviceWarmService) DeviceUserPhoneUpload

func (this *DeviceWarmService) DeviceUserPhoneUpload(form *models.DeviceUserPhoneModel) error

func (*DeviceWarmService) DeviceUserUpload

func (this *DeviceWarmService) DeviceUserUpload(form *models.DeviceUserModel) error

func (*DeviceWarmService) FindDeviceWarmByDeviceId

func (this *DeviceWarmService) FindDeviceWarmByDeviceId(did string) *models.DeviceWarmModel

func (*DeviceWarmService) GetDeviceWarmById

func (this *DeviceWarmService) GetDeviceWarmById(uid string) goft.Query

func (*DeviceWarmService) GetDeviceWarmList

func (this *DeviceWarmService) GetDeviceWarmList() goft.Query

func (*DeviceWarmService) IsExistDeviceUser

func (this *DeviceWarmService) IsExistDeviceUser(deviceId string)

func (*DeviceWarmService) UnBindRelationShip

func (this *DeviceWarmService) UnBindRelationShip(deviceId string, unbind string)

type RongCloudService

type RongCloudService struct {
	RongCloudDao  *daos.RongCloudDao  `inject:"-"`
	DeviceWarmDao *daos.DeviceWarmDao `inject:"-"`
}

func NewRongCloudService

func NewRongCloudService() *RongCloudService

func (*RongCloudService) GetRongcloudTokenByDeviceId

func (this *RongCloudService) GetRongcloudTokenByDeviceId(deviceId string, appKey string, appSecret string) string

func (*RongCloudService) GetRongcloudTokenByPhoneDeviceId

func (this *RongCloudService) GetRongcloudTokenByPhoneDeviceId(deviceId string, phone string, appKey string, appSecret string) interface{}

func (*RongCloudService) RongCloudInfoUpload

func (this *RongCloudService) RongCloudInfoUpload(form *models.RongCloundAccountModel) error

func (*RongCloudService) UploadRongCloudInfo

func (this *RongCloudService) UploadRongCloudInfo(id string, appKey string, appSecret string, rc_type string) *models.RongCloundAccountModel

type ServiceCenterService

type ServiceCenterService struct {
	ServiceCenterDao *daos.ServiceCenterDao `inject:"-"`
}

func NewServiceCenterService

func NewServiceCenterService() *ServiceCenterService

func (*ServiceCenterService) CallServiceCenter

func (this *ServiceCenterService) CallServiceCenter(deviceId string, messageType string) *models.ServiceCenterModel

func (*ServiceCenterService) LoginServiceCenter

func (this *ServiceCenterService) LoginServiceCenter(deviceId string, applicationType string) []*models.DeviceUserModelSimple

func (*ServiceCenterService) UpdateDeviceUserInfo

func (this *ServiceCenterService) UpdateDeviceUserInfo(form *models.DeviceUserModel) error

Jump to

Keyboard shortcuts

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