| | |
| | | |
| | | public class HttpApi { |
| | | |
| | | //添加推送Token |
| | | public static final String POST_push_add = "/smart-footstone/app/push-information/add"; |
| | | |
| | | //region **********【B端】和【C端】共用接口********** |
| | | //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"; |
| | | //消息全部已读 |
| | | public static final String POST_Message_AllRead = "/home-wisdom/app/powerStation/message/allRead"; |
| | | |
| | | //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_Info = "/home-wisdom/app/powerStation/info"; |
| | | //电站编辑 |
| | | public static final String POST_PowerStation_Edit = "/home-wisdom/app/powerStation/edit"; |
| | | //电站排序 |
| | | public static final String POST_PowerStation_UserSort = "/home-wisdom/app/powerStation/userSort"; |
| | | //endregion |
| | | |
| | | //region -----设备管理--------- |
| | | //添加逆变器 |
| | | public static final String POST_Device_Add = "/home-wisdom/program/device/independentRegister"; |
| | | //获取逆变器列表 |
| | | //批量添加逆变器 |
| | | public static final String POST_Device_Add_All = "/home-wisdom/program/device/batchIndependentRegister"; |
| | | //获取(云端)逆变器列表 |
| | | 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_Remove = "/home-wisdom/app/powerStation/device/delete"; |
| | | //获取下挂设备列表 |
| | | 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_Rename = "/home-wisdom/app/powerStation/device/rename"; |
| | | //获取逆变器(获取设备远程通讯信息) |
| | | 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"; |
| | | //获取未运行逆变器列表 |
| | | public static final String POST_Device_listNotRun = "/home-wisdom/app/powerStation/device/inverter/listNotRun"; |
| | | //逆变器开机 |
| | | public static final String POST_Device_startup = "/home-wisdom/app/powerStation/device/inverter/startup"; |
| | | //获取设备详情(云端) |
| | | public static final String POST_Device_info = "/home-wisdom/app/device/info"; |
| | | //获取电站下负载控制中心列表 |
| | | public static final String POST_Device_loadCentreDevices = "/home-wisdom/app/powerStation/device/loadCentreDevices"; |
| | | |
| | | |
| | | //endregion |
| | | //endregion |
| | | |
| | | //region **********【B端接口】********** |
| | | //region -----首页模块--------- |
| | | |
| | | //获取统计概览数据(公司维度) |
| | | public static final String POST_Home_page_dataOverview = "/home-wisdom/app/powerStation/homePage/dataOverview"; |
| | | //发电量统计(公司维度) |
| | | public static final String POST_Home_page_statistics = "/home-wisdom/app/powerStation/homePage/statistics"; |
| | | //社会贡献(公司维度) |
| | | public static final String POST_Home_page_socialContribution = "/home-wisdom/app/powerStation/homePage/socialContribution"; |
| | | |
| | | //endregion |
| | | //region -----用户管理--------- |
| | | |
| | | //检验B端的账号是否权限 |
| | | public static final String B_POST_getCompanyParterMenu = "/basis-footstone/mgmt/user/manage/getCompanyParterMenu"; |
| | | //获取账号区域信息 |
| | | 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"; |
| | | //发送消息验证码 |
| | | public static final String POST_SEND_VERIFICATION = "/smart-footstone/verification/message/send"; |
| | | |
| | | //发送手机号消息验证码 |
| | | public static final String POST_SEND_VERIFICATION_Phone_B = "/basis-footstone/mgmt/main/verification/send"; |
| | | //发送邮箱号消息验证码 |
| | | public static final String POST_SEND_VERIFICATION_Email_B = "/basis-footstone/mgmt/main/verification/email/send"; |
| | | //更改个人密码 |
| | | 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-user/mgmt/user/manage/info";//"/basis-footstone/mgmt/user/oauth/getUserInfo"; |
| | | //联系我们 |
| | | public static final String B_POST_GET_UTIL_CONTACT = "/home-wisdom/app/powerStation/util/contact"; |
| | | //获取当前账号在公司的身份 |
| | | public static final String B_POST_GET_USERRIGHTTYPE = "/home-wisdom/app/powerStation/user/manage/userRightType"; |
| | | //获取员工列表 |
| | | public static final String B_POST_GET_LISTBYPAGE = "/home-wisdom/app/powerStation/user/manage/listByPage"; |
| | | //获取员工详情 |
| | | public static final String B_POST_GET_MANAGE_INFO = "/home-wisdom/app/powerStation/user/manage/info"; |
| | | //员工添加(B端) |
| | | public static final String B_POST_GET_MANAGE_CREATE = "/home-wisdom/app/powerStation/user/manage/create"; |
| | | //员工编辑(B端) |
| | | public static final String B_POST_GET_MANAGE_EDIT = "/home-wisdom/app/powerStation/user/manage/edit"; |
| | | //员工删除(B端) |
| | | public static final String B_POST_GET_MANAGE_DELETE = "/home-wisdom/app/powerStation/user/manage/delete"; |
| | | |
| | | |
| | | //退出登录 |
| | | public static final String POST_GET_IMAGE_LOGOUT = "/basis-footstone/mgmt/user/oauth/logout"; |
| | | //endregion |
| | | //获取设备列表(安装商) |
| | | public static final String POST_deviceList = "/home-wisdom/app/powerStation/deviceList"; |
| | | //电站状态概览(安装商) |
| | | public static final String POST_statusOverview = "/home-wisdom/app/powerStation/statusOverview"; |
| | | //获取电站交付二维码(安装商) |
| | | public static final String POST_getDeliveryUrlQrcode = "/home-wisdom/app/powerStation/getDeliveryUrlQrcode"; |
| | | //获取电站交付URl(安装商) |
| | | public static final String POST_getDeliveryUrl = "/home-wisdom/app/powerStation/getDeliveryUrl"; |
| | | |
| | | //电站手动交付(安装商) |
| | | public static final String POST_deliverToAccount = "/home-wisdom/app/powerStation/deliverToAccount"; |
| | | //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 POST_SEND_VERIFICATION_C = "/smart-footstone/verification/message/send"; |
| | | //用户找回密码 忘记密码,通过邮箱和手机号找回 |
| | | 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"; |
| | | //绑定认证(手机/邮箱) |
| | | public static final String C_POST_MEMBERINFO_BINDWITHACCOUNT = "/smart-footstone/member/memberInfo/bindWithAccount"; |
| | | //解绑认证(手机/邮箱) |
| | | public static final String C_POST_MEMBERINFO_UNBINDWITHACCOUNT = "/smart-footstone/member/memberInfo/unbindWithAccount"; |
| | | //成员列表 |
| | | public static final String C_POST_MEMBER_LIST = "/home-wisdom/app/child/account/findAll"; |
| | | //添加成员 |
| | | public static final String C_POST_MEMBER_ADD = "/home-wisdom/app/child/account/add"; |
| | | //编辑成员 |
| | | public static final String C_POST_MEMBER_EDIT = "/home-wisdom/app/child/account/update"; |
| | | //删除成员 |
| | | public static final String C_POST_MEMBER_DELETE = "/home-wisdom/app/child/account/delete"; |
| | | //电站授权安装商 |
| | | public static final String C_POST_HOME_UPDATEDEBUGPERM = "/home-wisdom/app/home/updateDebugPerm"; |
| | | //下载子账号头像 |
| | | public static final String C_POST_HOME_GETHEADPÏORTRAIT = "/home-wisdom/app/child/account/getHeadPÏortrait"; |
| | | //注销账号 |
| | | public static final String C_POST_MEMBER_UNREGISTER = "/basis-footstone/member/unregister"; |
| | | |
| | | //endregion |
| | | //endregion |
| | | |