123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191 |
- //
- // newWorkInterface.h
- // 隐私保护
- //
- // Created by xd h on 2023/10/8.
- //
- #ifndef newWorkInterface_h
- #define newWorkInterface_h
- /*1 根据盒子SN号获取对应信息 get请求
- 输入参数 sn 贴在盒子上的sn好
-
- 返回数据模型 */
- #define getThirdIdBySn @"/box/queryThirdId"
- /*2 修改/保存密码 POST请求
- 输入参数 sn 贴在盒子上的sn好
- 输入参数 password 用户输入的密码
-
- 返回数据模型 */
- #define updateCardInfo @"/box/updateCardInfo"
- /*3 调用升级接口 get请求
- 输入参数 type OS:ios
- 输入参数 source stealth:隐私盒子,skyworth:创维盒子
-
- 返回数据模型 */
- #define upgradeNewVersion @"/box/upgrade/new/version"
- /*4 修改隐私模式 POST请求
- 输入参数 sn
- 输入参数 isPrivacyMode true:开启隐私模式 false:关闭隐私模式
-
- 返回数据模型 */
- #define updatePrivacyMode @"/box/updatePrivacyMode"
- /*5 是否需要强制重启 POST请求
- 输入参数 sn
- 输入参数 isForceStart 是否强制重启
-
- 返回数据模型 */
- #define updateForceStart @"/box/updateForceStart"
- /*6 查询一条公告数据 POST请求
- 输入参数 productType 创维盒子:Private-X 隐私盒子:InsiBox
- 输入参数 type 应用类型(安卓=apk IOS=ios TV=app)
-
- 返回数据模型 */
- #define queryOneNotice @"/box/notice/queryOne"
- /*7 上报日志 POST请求
- 输入参数 sn
- 输入参数 key 文件中心上传成功的到的key
- 输入参数 type 应用类型(安卓=apk IOS=ios TV=app)
-
- 返回数据模型 */
- #define addLogFun @"/box/log/add"
- /*8 上报版本号信息 POST请求
- 输入参数 iosClientVersionNumber
-
- 返回数据模型 */
- #define reportVersionInfo @"/box/reportVersionInfo"
- /*9 根据sn查询ip和port接口 GET请求
- 输入参数 sn
-
- 返回数据模型 */
- #define getIpFun @"/box/ip/allocation/getIp"
- /*10 分享开关接口 GET请求
- 输入参数 type 1=应用;2=图片;3=视频;4=音频;5=文档;6=文件 7=最近文件
-
- 返回数据模型 */
- #define queryShareSwitchFun @"/box/share/info/queryShareSwitch"
- /*11 新增分享接口 POST请求
- 输入参数
-
- 返回数据模型 */
- #define addShareInfoFun @"/box/share/info/add"
- /*12 修改分享接口 POST请求
- 输入参数 id 主键id
- 输入参数 status 状态 0=有效 1=无效
- 输入参数 expirationStatus 过期状态 0=有效 1=失效
- 返回数据模型 */
- #define updateShareInfoFun @"/box/share/info/update"
- /*13 分享记录列表接口 POST请求
- 输入参数
-
- 返回数据模型 */
- #define queryShareRecordFun @"/box/share/info/queryByCondition"
- /*14 查询单个分享信息接口 POST请求
- 输入参数 fileIdList 主键id
- 输入参数 token 状态 token
- 输入参数 extractionCode 提取码
- 返回数据模型 */
- #define queryOneShareInfoFun @"/box/share/info/queryOne"
- /*15 删除分享接口 POST请求
- 输入参数 idList 主键id
-
- 返回数据模型 */
- #define deleteShareListFun @"/box/share/info/delete"
- /*16 分享规则接口 POST请求
- 输入参数 agreementCoding boxShareRules2024
- 输入参数 languageType 语言类型(1=中文 2=英文 3=中文繁体 4=日文)
- 返回数据模型 */
- //#define queryShareRuleFun @"/box/agreement/info/queryByCondition"
- /*17 数据埋点 POST请求
- 输入参数 eventType 事件模块类型 一级模块=1 二级模块=2 三级模块=3
- 输入参数 eventValue string
- 返回数据模型 */
- #define clientAddDataPointFun @"/box/data/point/clientAdd"
- /*18 分享开关接口 GET请求
- 输入参数
-
- 返回数据模型 */
- #define queryShareReportMarkFun @"/box/share/info/queryReportMark"
- /*19 分享开关接口 POST请求
- 输入参数
-
- 返回数据模型 */
- #define updateShareReportMarkFun @"/box/share/info/updateReportMark"
- /*20 扫码登录接口 POST请求
- 输入参数
-
- 返回数据模型 */
- #define updatePCLoginStateFun @"/box/login/updateStatus"
- /*21 webrtc客户端查询唯一标识接口 POST请求
- 1.4.4 需求更改 返回的 链接是数组类型 客户端ping后看哪个延时短 选哪个用
- 输入参数
-
- 返回数据模型 */
- //#define webrctQueryByClient @"/box/webrtc/identifier/queryByClient"
- #define webrctQueryByClient @"/box/webrtc/identifier/queryByClient2"
- /*22 webrtc 链接打洞是否成功 POST请求
- 输入参数
- type 类型 1=apk 2=ios 3=pc
- status 状态 0=失败 1=打洞连接成功 2=中转连接成功
- channelType 状态 通道类型 1=数据通道 2=音视频通道
- clientNetworkStatus 客户端网络状态 0=局域网 1=公网
-
- 返回数据模型 */
- #define webrctLogAdd @"/box/webrtc/log/add"
- /*23 查询升级流程进度接口 POST请求
- 输入参数
- type 类型 安卓=apk IOS=ios TV=app 镜像=ota 脚本=robox 宿主机代理=vagent Windows=windows Mac=mac
-
- 返回数据模型 */
- #define queryUpgradeInfo @"/box/upgrade/info/detail/queryUpgradeInfo"
- /*24 升级流程上报 POST请求
- 输入参数
- status 2=点击升级
- type 类型 安卓=apk IOS=ios TV=app 镜像=ota 脚本=robox 宿主机代理=vagent Windows=windows Mac=mac
-
- 返回数据模型 */
- #define upgradeDetailAdd @"/box/upgrade/info/detail/add"
- /*25 关闭弹窗 POST请求
- 输入参数
- popButton 1=关闭弹窗
- type 类型 安卓=apk IOS=ios TV=app 镜像=ota 脚本=robox 宿主机代理=vagent Windows=windows Mac=mac
-
- 返回数据模型 */
- #define updateOTAPopButton @"/box/upgrade/info/detail/updatePopButton"
- /*26 根据sn查询心跳 get请求
- 输入参数
-
- 返回数据模型 */
- #define queryHeartbeat @"/box/heartbeat/check/queryHeartbeat"
- #endif /* newWorkInterface_h */
|