授权  
设置推送开关
参数名称 类型 是否必填 参数描述 备注
api_key String 系统分配的ApiKey
api_target String 调用接口名称 com_cmall_newscenter_api_SettingSwitchPushApi
api_token String 用户授权码 已登陆用户授权码,64位16进制编码。
api_input String 输入参数 应用输入参数的JSON格式
参数名称 类型 必填 示例 参数描述 备注
push_switch int 1 0-关, 1-开
platform String android,ios 平台
token String ABCDEFG 推送TOKEN
uuid String ABCDEFG 设备唯一ID
version int 版本号 仅用于扩展,无需传入
参数名称 类型 参数描述 备注
resultCode int 返回标记 如果返回标记1则为API调用成功 否则则是错误编号
config Config 是否有更新,是-1,否-0
resultMessage String 返回消息 返回的消息描述
BigInteger
参数名称 类型 参数描述 备注

Account
参数名称 类型 参数描述 备注
expires String 帐号过期时间
name String 名称
app_key String app_key
app_id String app_id
account_type BigInteger 帐号类型

Config
参数名称 类型 参数描述 备注
accounts Account 已绑定帐号
push int 通知是否打开,打开-1,关闭-0