Documentation ¶
Index ¶
- type DeviceWarmMQTTService
- type DeviceWarmService
- func (this *DeviceWarmService) BindRelationShip(deviceId string, bind string)
- func (this *DeviceWarmService) CountDeviceUserList() int
- func (this *DeviceWarmService) CountDeviceUserRelationShipList(id string) int
- func (this *DeviceWarmService) DeviceUserPhoneUpload(form *models.DeviceUserPhoneModel) error
- func (this *DeviceWarmService) DeviceUserUpload(form *models.DeviceUserModel) error
- func (this *DeviceWarmService) FindDeviceWarmByDeviceId(did string) *models.DeviceWarmModel
- func (this *DeviceWarmService) GetDeviceWarmById(uid string) goft.Query
- func (this *DeviceWarmService) GetDeviceWarmList() goft.Query
- func (this *DeviceWarmService) IsExistDeviceUser(deviceId string)
- func (this *DeviceWarmService) UnBindRelationShip(deviceId string, unbind string)
- type RongCloudService
- func (this *RongCloudService) GetRongcloudTokenByDeviceId(deviceId string, appKey string, appSecret string) string
- func (this *RongCloudService) GetRongcloudTokenByPhoneDeviceId(deviceId string, phone string, appKey string, appSecret string) interface{}
- func (this *RongCloudService) RongCloudInfoUpload(form *models.RongCloundAccountModel) error
- func (this *RongCloudService) UploadRongCloudInfo(id string, appKey string, appSecret string, rc_type string) *models.RongCloundAccountModel
- type ServiceCenterService
- func (this *ServiceCenterService) CallServiceCenter(deviceId string, messageType string) *models.ServiceCenterModel
- func (this *ServiceCenterService) LoginServiceCenter(deviceId string, applicationType string) []*models.DeviceUserModelSimple
- func (this *ServiceCenterService) UpdateDeviceUserInfo(form *models.DeviceUserModel) error
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
Click to show internal directories.
Click to hide internal directories.