aa
This commit is contained in:
@@ -40,12 +40,6 @@ var (
|
||||
}
|
||||
)
|
||||
|
||||
var (
|
||||
exceedLimitCodes = map[int]int{}
|
||||
|
||||
canRetryCodes = map[int]int{}
|
||||
)
|
||||
|
||||
type API struct {
|
||||
platformapi.APICookie
|
||||
|
||||
@@ -55,18 +49,6 @@ type API struct {
|
||||
config *platformapi.APIConfig
|
||||
}
|
||||
|
||||
type PrinterInfo struct {
|
||||
SN string
|
||||
Key string
|
||||
Name string
|
||||
PhoneNum string
|
||||
}
|
||||
|
||||
type PrinterResultInfo struct {
|
||||
SN string
|
||||
ErrMsg string
|
||||
}
|
||||
|
||||
func New(appID, appKey string, config ...*platformapi.APIConfig) *API {
|
||||
curConfig := platformapi.DefAPIConfig
|
||||
if len(config) > 0 {
|
||||
|
||||
Reference in New Issue
Block a user