From 54a8c79222bba0644b02fe1dbc5d75e26ea50b5d Mon Sep 17 00:00:00 2001 From: mac <user@users-MacBook-Pro.local> Date: 星期二, 14 十一月 2023 18:17:58 +0800 Subject: [PATCH] 2023年11月14日18:17:48 --- app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java | 51 ++++++++++++++++++++++++++++++++++++++------------- 1 files changed, 38 insertions(+), 13 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 cc27e33..9cfbc16 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,25 @@ 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"; + //endregion //endregion @@ -41,7 +60,7 @@ //鑾峰彇璐﹀彿鍖哄煙淇℃伅 public static final String POST_RegionByUserAccount = "/smart-footstone/region/regionByUserAccount"; //鐧诲綍鎺ュ彛 - public static final String POST_Login = "/smart-footstone/user/oauth/login"; + public static final String B_POST_Login = "/smart-footstone/user/oauth/login"; //鐢ㄦ埛鎵惧洖瀵嗙爜 蹇樿瀵嗙爜,閫氳繃閭鍜屾墜鏈哄彿鎵惧洖 public static final String B_POST_FORGET_PROGRAM_PWD = "/smart-footstone/user/oauth/forgetProgramPwd"; //鍙戦�佹秷鎭獙璇佺爜 @@ -49,14 +68,13 @@ //鏇存敼涓汉瀵嗙爜 public static final String B_POST_UPDATE_PROGRAM_PASSWORD = "/smart-footstone/user/userInfo/updateProgramPassword"; //鑾峰彇鍛樺伐鍒楄〃 - public static final String POST_GET_USER_LIST = "/smart-footstone/user/userInfo/getUserList"; + public static final String B_POST_GET_USER_LIST = "/smart-footstone/user/userInfo/getUserList"; - //涓婁紶鍥剧墖 - public static final String POST_UPLOAD_IMAGE = "/home-wisdom/app/images/upload_image"; - //涓婁紶鍥剧墖锛堟柊锛� - public static final String POST_UPLOAD_IMAGE_NEW = "/basis-cosmos/file/upload"; - //鏌ヨ鍥剧墖璺緞 - public static final String POST_GET_Image_Url = "/home-wisdom/app/images/get_image_url"; + + //鑾峰彇鐢ㄦ埛璇︽儏淇℃伅 + public static final String B_POST_GET_USERINFO = "/basis-footstone/mgmt/user/oauth/getUserInfo"; + + //閫�鍑虹櫥褰� public static final String POST_GET_IMAGE_LOGOUT = "/basis-footstone/mgmt/user/oauth/logout"; //endregion @@ -65,18 +83,25 @@ //region **********銆怌绔帴鍙c��********** //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"; //鏇存敼涓汉瀵嗙爜 public static final String C_POST_UPDATE_PROGRAM_PASSWORD = "/smart-footstone/member/memberInfo/updatePwd"; - //鑾峰彇鐢ㄦ埛涓汉淇℃伅 C绔� + //鑾峰彇鐢ㄦ埛涓汉淇℃伅 public static final String C_POST_GET_MEMBER_INFO = "/smart-footstone/member/memberInfo/getMemberInfo"; - //鏇存柊涓汉淇℃伅 C绔� + //鏇存柊涓汉淇℃伅 public static final String C_POST_UPDATE_MEMBER_INFO = "/smart-footstone/member/memberInfo/updateMemberInfo"; + //鏌ヨ鍥剧墖璺緞 + public static final String C_POST_GET_IMAGE_URL = "/home-wisdom/app/images/get_image_url"; + //涓婁紶鍥剧墖 + public static final String C_POST_UPLOAD_IMAGE = "/home-wisdom/app/images/upload_image"; + //涓婁紶鍥剧墖锛堟柊锛� + public static final String C_POST_UPLOAD_IMAGE_NEW = "/basis-cosmos/file/upload"; + //endregion //endregion -- Gitblit v1.8.0