From 636c4bb04e4fcd723766b82732990cdb4ae4ea2e Mon Sep 17 00:00:00 2001
From: hxb <hxb@hdlchina.com.cn>
Date: 星期四, 22 二月 2024 15:48:23 +0800
Subject: [PATCH] 删除掉本地库
---
app/src/main/java/com/hdl/photovoltaic/internet/api/HttpApi.java | 150 ++++++++++++++++++++++++++++++++++++++++++++-----
1 files changed, 134 insertions(+), 16 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 c744fa1..68203ce 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
@@ -1,27 +1,145 @@
package com.hdl.photovoltaic.internet.api;
public class HttpApi {
- /*-----鐢ㄦ埛绠$悊---------*/
+
+ //娣诲姞鎺ㄩ�乀oken
+ public static final String POST_push_add = "/smart-footstone/app/push-information/add";
+
+ //region **********銆怋绔�戝拰銆怌绔�戝叡鐢ㄦ帴鍙�**********
+ //mqtt杩炴帴闇�瑕侊紙璇泙鎺ュ彛鍦板潃:https://hdl-gz.yuque.com/wnkbmh/cdrglh/totdnt#40b28997锛�
+ public static final String POST_Mqtt_GetRemoteInfo = "/home-wisdom/app/mqtt/getRemoteInfo";
+ //region -----璀︽姤娑堟伅涓績(浣忓畢)---------
+ //鑾峰彇鏈鐞嗘秷鎭暟閲�
+ public static final String POST_Message_UntreatedCount = "/home-wisdom/app/powerStation/message/unCount";
+ //娑堟伅鍒楄〃
+ public static final String POST_Message_List = "/home-wisdom/app/powerStation/message/listByPage";
+ //鑾峰彇娑堟伅璇︽儏
+ public static final String POST_Message_Info = "/home-wisdom/app/powerStation/message/info";
+ //娑堟伅鏍囪宸茶(宸茶В闄�)
+ public static final String POST_Message_Solve = "/home-wisdom/app/powerStation/message/solve";
+ //endregion
+
+ //region -----C鎽勬皬搴�,F鍗庢皬搴�(浣忓畢)---------
+ //鐢ㄦ埛鑷畾涔夐厤缃�
+ public static final String POST_C_F_CustomConfig = "/home-wisdom/app/powerStation/user/customConfig";
+ //鐢ㄦ埛鑷畾涔夐厤缃鎯�
+ public static final String POST_C_F_CustomConfigInfo = "/home-wisdom/app/powerStation/user/customConfigInfo";
+ //endregion
+
+ //region -----缁熻(浣忓畢)---------
+ //鐢电珯鏁版嵁(缁熻)
+ public static final String POST_inverter_allInfo = "/home-wisdom/app/device/inverter/allInfo";
+ //endregion
+
+
+ //region -----鐢电珯绠$悊(浣忓畢)---------
+ //鐢电珯鍒楄〃
+ public static final String POST_PowerStation_List = "/home-wisdom/app/powerStation/page";
+ //鐢电珯鍒涘缓
+ public static final String POST_PowerStation_Create = "/home-wisdom/app/powerStation/create";
+ //鐢电珯鍒犻櫎
+ public static final String POST_PowerStation_Remove = "/home-wisdom/app/powerStation/remove";
+ //鐢电珯璇︽儏
+ public static final String POST_PowerStation_Info = "/home-wisdom/app/powerStation/info";
+ //鐢电珯缂栬緫
+ public static final String POST_PowerStation_Edit = "/home-wisdom/app/powerStation/edit";
+ //endregion
+
+ //region -----璁惧绠$悊---------
+ //娣诲姞閫嗗彉鍣�
+ public static final String POST_Device_Add = "/home-wisdom/program/device/independentRegister";
+ //鑾峰彇閫嗗彉鍣ㄥ垪琛�
+ public static final String POST_Device_List = "/home-wisdom/app/device/inverter/list";
+ //鍒犻櫎閫嗗彉鍣�
+ public static final String POST_Device_Remove = "/home-wisdom/app/device/remove";
+ //鑾峰彇涓嬫寕璁惧鍒楄〃
+ public static final String POST_Device_ChildDevices_List = "/home-wisdom/app/powerStation/childDevices";
+ //鍏ㄩ噺鏇存柊OID
+ public static final String POST_Device_Oid = "/home-wisdom/program/device/oid/add";
+ //璁惧鍩烘湰淇℃伅(oid)澧為噺娣诲姞
+ public static final String POST_Device_IncrAdd = "/home-wisdom/program/device/oid/incrAdd";
+ //鑾峰彇閫嗗彉鍣�(鑾峰彇璁惧杩滅▼閫氳淇℃伅)
+ 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
+
+ //region **********銆怋绔帴鍙c��**********
+
+ //region -----鐢ㄦ埛绠$悊---------
//鑾峰彇璐﹀彿鍖哄煙淇℃伅
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 POST_VERIFICATION_CODE_SEND = "/smart-footstone/verification/message/send";
+ public static final String B_POST_Login = "/smart-footstone/user/oauth/login";
//鐢ㄦ埛鎵惧洖瀵嗙爜 蹇樿瀵嗙爜,閫氳繃閭鍜屾墜鏈哄彿鎵惧洖
- public static final String POST_FORGET_PROGRAM_PWD = "/smart-footstone/user/oauth/forgetProgramPwd";
+ public static final String B_POST_FORGET_PROGRAM_PWD = "/smart-footstone/user/oauth/forgetProgramPwd";
+ //鍙戦�佹秷鎭獙璇佺爜
+ public static final String POST_SEND_VERIFICATION = "/smart-footstone/verification/message/send";
//鏇存敼涓汉瀵嗙爜
- public static final String POST_UPDATE_PROGRAM_PASSWORD = "/smart-footstone/user/userInfo/updateProgramPassword";
+ 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";
- //鑾峰彇鐢ㄦ埛涓汉淇℃伅 C绔�
- public static final String POST_GET_MEMBER_INFO = "/smart-footstone/member/memberInfo/getMemberInfo";
- //鏇存柊涓汉淇℃伅 C绔�
- public static final String POST_UPDATE_MEMBER_INFO = "/smart-footstone/member/memberInfo/updateMemberInfo";
- //涓婁紶鍥剧墖
- 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 B_POST_GET_USER_LIST = "/smart-footstone/user/userInfo/getUserList";
+
+
+ //鑾峰彇鐢ㄦ埛璇︽儏淇℃伅
+ 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
+ //endregion
+
+
+ //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";
+ //鑾峰彇鐢ㄦ埛涓汉淇℃伅
+ public static final String C_POST_GET_MEMBER_INFO = "/smart-footstone/member/memberInfo/getMemberInfo";
+ //鏇存柊涓汉淇℃伅
+ public static final String C_POST_UPDATE_MEMBER_INFO = "/smart-footstone/member/memberInfo/updateMemberInfo";
//鏌ヨ鍥剧墖璺緞
- public static final String POST_GET_IMAGE_URL = "/home-wisdom/app/images/get_image_url";
+ 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";
+ //缁戝畾璁よ瘉(鎵嬫満/閭)
+ public static final String C_POST_MEMBERINFO_BINDWITHACCOUNT = "/smart-footstone/member/memberInfo/bindWithAccount";
+ //瑙g粦璁よ瘉(鎵嬫満/閭)
+ public static final String C_POST_MEMBERINFO_UNBINDWITHACCOUNT = "/smart-footstone/member/memberInfo/unbindWithAccount";
+
+
+ //endregion
+ //endregion
+
+
}
--
Gitblit v1.8.0