aepapi

package
v0.0.0-...-3249af5 Latest Latest
Warning

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

Go to latest
Published: May 26, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateProduct

func CreateProduct(appKey string, appSecret string, body string) (*http.Response, error)

参数body: 类型json, 参数不可以为空

描述:body,具体参考平台api说明

func DeleteProduct

func DeleteProduct(appKey string, appSecret string, MasterKey string, productId string) (*http.Response, error)

参数MasterKey: 类型String, 参数不可以为空

描述:MasterKey在该设备所属产品的概况中可以查看

参数productId: 类型long, 参数不可以为空

描述:

func QueryProduct

func QueryProduct(appKey string, appSecret string, productId string) (*http.Response, error)

参数productId: 类型long, 参数不可以为空

描述:

func QueryProductList

func QueryProductList(appKey string, appSecret string, searchValue string, pageNow string, pageSize string) (*http.Response, error)

参数searchValue: 类型String, 参数可以为空

描述:产品id或者产品名称

参数pageNow: 类型long, 参数可以为空

描述:当前页数

参数pageSize: 类型long, 参数可以为空

描述:每页记录数

func UpdateProduct

func UpdateProduct(appKey string, appSecret string, body string) (*http.Response, error)

参数body: 类型json, 参数不可以为空

描述:body,具体参考平台api说明

Types

This section is empty.

Jump to

Keyboard shortcuts

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