From c6e503f9c7b46d9df78242222949dd7cb200cdc2 Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期四, 30 十一月 2023 14:45:45 +0800 Subject: [PATCH] 2023年11月30日14:45:39 --- app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java | 24 +++++++++++++++++++++++- 1 files changed, 23 insertions(+), 1 deletions(-) diff --git a/app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java b/app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java index a0da250..5f41ab8 100644 --- a/app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java +++ b/app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java @@ -32,6 +32,28 @@ public static final String POST_Device_Oid = "/home-wisdom/program/device/oid/add"; //鑾峰彇閫嗗彉鍣�(鑾峰彇璁惧杩滅▼閫氳淇℃伅) public static final String POST_Device_RemoteInfo = "/home-wisdom/program/device/remoteInfo"; + //璁惧鍩烘湰淇℃伅鍒楄〃(oid)鑾峰彇 + public static final String POST_DEVICE_OID_LIST_GET = "/home-wisdom/program/device/oid/list"; + //璁惧鍥轰欢鍒楄〃鑾峰彇 + public static final String POST_OTA_GET_DeviceFirmwares = "/home-wisdom/program/device/ota/getDeviceFirmwares"; + //璁惧鍥轰欢浜戠鐨勯┍鍔ㄥ垎椤靛垪琛ㄨ幏鍙� + public static final String POST_OTA_GET_CloudDeviceFirmwares = "/smart-footstone/firmware/firmwareVersion/getLastOne"; + //璁惧鍥轰欢鍗囩骇OTA鍛戒护 + public static final String POST_OTA_DeviceFirmwareUpgrade = "/home-wisdom/program/device/ota/deviceFirmwareUpgrade"; + //璁惧鑾峰彇鍥轰欢鍗囩骇鍖呬笅杞藉湴鍧� + public static final String POST_OTA_GET_LinkDeviceFirmwareDownloadUrl = "/smart-footstone/mgmt/device/ota/getLinkDeviceFirmwareDownloadUrl"; + //褰撳墠缃戝叧椹卞姩鍒楄〃鑾峰彇 + public static final String POST_OTA_GET_GatewayDrivers = "/home-wisdom/program/device/ota/getGatewayDrivers"; + //缃戝叧浜戠鐨勯┍鍔ㄥ垎椤靛垪琛ㄨ幏鍙� + public static final String POST_OTA_GET_CloudGatewayDrivers = "/smart-footstone/driver/buspro/download"; + //缃戝叧椹卞姩鍗囩骇OTA鍛戒护涓嬪彂 + public static final String POST_OTA_GatewayDriverUpgrade = "/home-wisdom/program/device/ota/gatewayDriverUpgrade"; + //LINK璁惧鑾峰彇椹卞姩鍗囩骇鍖呬笅杞藉湴鍧� + public static final String POST_OTA_GET_LinkDeviceDriverDownloadUrl = "/smart-footstone/mgmt/device/ota/getLinkDeviceDriverDownloadUrl"; + + //App鐗堟湰妫�娴� + public static final String POST_APP_VERSION_CHECK = "/basis-footstone/app/appVersion/check"; + //endregion //endregion @@ -66,7 +88,7 @@ //region -----鐢ㄦ埛绠$悊--------- //鐧诲綍 public static final String C_POST_Login = "/smart-footstone/member/oauth/login"; - //閫�鍑虹櫥褰� + //娉ㄥ唽璐﹀彿 public static final String C_POST_GET_OAUTH_REGISTER = "/smart-footstone/member/oauth/register"; //鐢ㄦ埛鎵惧洖瀵嗙爜 蹇樿瀵嗙爜,閫氳繃閭鍜屾墜鏈哄彿鎵惧洖 public static final String C_POST_FORGET_PROGRAM_PWD = "/smart-footstone/member/oauth/forgetPwd"; -- Gitblit v1.8.0