| | |
| | | package com.hdl.photovoltaic.internet.api; |
| | | |
| | | public class HttpApi { |
| | | //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_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 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 POST_GET_IMAGE_URL = "/home-wisdom/app/images/get_image_url"; |
| | | //退出登录 |
| | | public static final String POST_GET_IMAGE_LOGOUT = "basis-footstone/mgmt/user/oauth/logout"; |
| | | //endregion |
| | | |
| | | //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_PowerStation_List = "/home-wisdom/app/powerStation/page"; |
| | |
| | | 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 |
| | | //endregion |
| | | |
| | | //region -----设备管理--------- |
| | | //添加逆变器 |
| | | public static final String POST_Device_Add = "/home-wisdom/app/device/independentRegister"; |
| | | 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"; |
| | | //删除逆变器 |
| | |
| | | //全量更新OID |
| | | 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"; |
| | | 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 **********【B端接口】********** |
| | | |
| | | //region -----用户管理--------- |
| | | //获取账号区域信息 |
| | | public static final String POST_RegionByUserAccount = "/smart-footstone/region/regionByUserAccount"; |
| | | //登录接口 |
| | | 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 B_POST_UPDATE_PROGRAM_PASSWORD = "/smart-footstone/user/userInfo/updateProgramPassword"; |
| | | //获取员工列表 |
| | | 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 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 |
| | | |
| | | |