newWorkInterface.h 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. //
  2. // newWorkInterface.h
  3. // 隐私保护
  4. //
  5. // Created by xd h on 2023/10/8.
  6. //
  7. #ifndef newWorkInterface_h
  8. #define newWorkInterface_h
  9. /*1 根据盒子SN号获取对应信息 get请求
  10. 输入参数 sn 贴在盒子上的sn好
  11. 返回数据模型 */
  12. #define getThirdIdBySn @"/box/queryThirdId"
  13. /*2 修改/保存密码 POST请求
  14. 输入参数 sn 贴在盒子上的sn好
  15. 输入参数 password 用户输入的密码
  16. 返回数据模型 */
  17. #define updateCardInfo @"/box/updateCardInfo"
  18. /*3 调用升级接口 get请求
  19. 输入参数 type OS:ios
  20. 输入参数 source stealth:隐私盒子,skyworth:创维盒子
  21. 返回数据模型 */
  22. #define upgradeNewVersion @"/box/upgrade/new/version"
  23. /*4 修改隐私模式 POST请求
  24. 输入参数 sn
  25. 输入参数 isPrivacyMode true:开启隐私模式 false:关闭隐私模式
  26. 返回数据模型 */
  27. #define updatePrivacyMode @"/box/updatePrivacyMode"
  28. /*5 是否需要强制重启 POST请求
  29. 输入参数 sn
  30. 输入参数 isForceStart 是否强制重启
  31. 返回数据模型 */
  32. #define updateForceStart @"/box/updateForceStart"
  33. #endif /* newWorkInterface_h */