| | |
| | | /// </summary> |
| | | public const string API_POST_Login = "/smart-footstone/member/oauth/login"; |
| | | /// <summary> |
| | | /// 发送验证码 |
| | | /// </summary> |
| | | public const string API_POST_Verification_Send = "/smart-footstone/verification/message/send"; |
| | | /// <summary> |
| | | /// 输入验证码注册 |
| | | /// </summary> |
| | | public const string API_POST_Member_Register = "/smart-footstone/member/oauth/register"; |
| | |
| | | /// 修改密码 |
| | | /// </summary> |
| | | public const string API_POST_Update_Pwd = "/smart-footstone/member/memberInfo/updatePwd"; |
| | | /// <summary> |
| | | /// 发送验证码 |
| | | /// </summary> |
| | | public const string API_POST_Verification_Send = "/smart-footstone/verification/message/send"; |
| | | /// <summary> |
| | | /// 验证消息验证码 |
| | | /// </summary> |
| | | public const string API_POST_Verification_Check = "/smart-footstone/verification/message/check"; |
| | | #region 用户信息、头像、绑定认证(手机/邮箱) |
| | | /// <summary> |
| | | /// 获取个人信息 |
| | | /// </summary> |
| | | public const string API_POST_Member_GetMemberInfo = "/smart-footstone/member/memberInfo/getMemberInfo"; |
| | | /// <summary> |
| | | /// 更新个人信息 |
| | | /// </summary> |
| | | public const string API_POST_Member_UpdateMemberInfo = "/smart-footstone/member/memberInfo/updateMemberInfo"; |
| | | /// <summary> |
| | | /// 上传头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Upload = "/home-wisdom/app/head/portrait/upload"; |
| | | /// <summary> |
| | | /// 下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Down = "/home-wisdom/app/head/portrait/down"; |
| | | /// <summary> |
| | | /// 根据账号下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_DownWithAccount = "/home-wisdom/app/head/portrait/downWithAccount"; |
| | | /// <summary> |
| | | /// 绑定认证(手机/邮箱) |
| | | /// </summary> |
| | | public const string API_POST_Member_BindWithAccount = "/smart-footstone/member/memberInfo/bindWithAccount"; |
| | | /// <summary> |
| | | /// 解绑认证(手机/邮箱) |
| | | /// </summary> |
| | | public const string API_POST_Member_UnbindWithAccount = "/smart-footstone/member/memberInfo/unbindWithAccount"; |
| | | #endregion |
| | | |
| | | #endregion |
| | | |
| | | #region ■ HomeCluster -- 住宅管理接口___________________________ |
| | |
| | | /// <summary> |
| | | /// 获取住宅分页 |
| | | /// </summary> |
| | | public const string API_POST_Gethomepager = "/home-wisdom/home/list"; |
| | | public const string API_POST_Gethomepager = "/home-wisdom/app/home/list"; |
| | | /// <summary> |
| | | /// 删除住宅 |
| | | /// </summary> |
| | | public const string API_POST_Home_Delete = "/home-wisdom/home/delete"; |
| | | public const string API_POST_Home_Delete = "/home-wisdom/app/home/delete"; |
| | | /// <summary> |
| | | /// 更新住宅 |
| | | /// </summary> |
| | | public const string API_POST_Home_UpdateHome = "/home-wisdom/home/update"; |
| | | public const string API_POST_Home_UpdateHome = "/home-wisdom/app/home/update"; |
| | | |
| | | #endregion |
| | | |
| | |
| | | /// <summary> |
| | | /// 添加子账户 |
| | | /// </summary> |
| | | public const string API_POST_Child_Add = "/home-wisdom/child/account/add"; |
| | | public const string API_POST_Child_Add = "/home-wisdom/app/child/account/add"; |
| | | /// <summary> |
| | | /// 删除子账户 |
| | | /// </summary> |
| | | public const string API_POST_Child_Delete = "/home-wisdom/child/account/delete"; |
| | | public const string API_POST_Child_Delete = "/home-wisdom/app/child/account/delete"; |
| | | /// <summary> |
| | | /// 根据住宅 id 查询所有的子账户 |
| | | /// </summary> |
| | | public const string API_POST_Child_FindAll = "/home-wisdom/child/account/findAll"; |
| | | public const string API_POST_Child_FindAll = "/home-wisdom/app/child/account/findAll"; |
| | | /// <summary> |
| | | /// 更新远程控制 |
| | | /// </summary> |
| | | public const string API_POST_Child_Update = "/home-wisdom/child/account/update"; |
| | | public const string API_POST_Child_Update = "/home-wisdom/app/child/account/update"; |
| | | /// <summary> |
| | | /// 子账号管理员获取主账号授权Token |
| | | /// </summary> |
| | | public const string API_POST_Child_GetMasterToken = "/home-wisdom/child/account/masterToken/get"; |
| | | |
| | | public const string API_POST_Child_GetMasterToken = "/home-wisdom/app/child/account/masterToken/get"; |
| | | /// <summary> |
| | | /// 下载子账号头像 |
| | | /// </summary> |
| | | public const string API_POST_Child_DownloadHeadImage = "/home-wisdom/app/child/account/getHeadPortrait"; |
| | | #region 数据分享 |
| | | /// <summary> |
| | | /// 分享指定文件给指定成员 |
| | | /// </summary> |
| | | public const string API_POST_Home_Share_Add = "/home-wisdom/home/share/add"; |
| | | public const string API_POST_Home_Share_Add = "/home-wisdom/app/home/share/add"; |
| | | /// <summary> |
| | | /// 查询指定成员的所有分享文件 |
| | | /// </summary> |
| | | public const string API_POST_Home_Share_FindAll = "/home-wisdom/home/share/findAll"; |
| | | public const string API_POST_Home_Share_FindAll = "/home-wisdom/app/home/share/findAll"; |
| | | /// <summary> |
| | | /// 下载指定的分享文件 |
| | | /// </summary> |
| | | public const string API_POST_Home_Share_DownOne = "/home-wisdom/home/share/downOne"; |
| | | public const string API_POST_Home_Share_DownOne = "/home-wisdom/app/home/share/downOne"; |
| | | /// <summary> |
| | | /// 删除指定的分享文件 |
| | | /// </summary> |
| | | public const string API_POST_Home_Share_Delete = "/home-wisdom/home/share/delete"; |
| | | public const string API_POST_Home_Share_Delete = "/home-wisdom/app/home/share/delete"; |
| | | |
| | | #endregion |
| | | |
| | |
| | | /// <summary> |
| | | /// 绑定网关到住宅 |
| | | /// </summary> |
| | | public const string API_POST_BindGateway = "/home-wisdom/gateway/bindGateway"; |
| | | public const string API_POST_BindGateway = "/home-wisdom/app/gateway/bindGateway"; |
| | | |
| | | /// <summary> |
| | | /// 获取住宅网关分页 |
| | | /// </summary> |
| | | public const string API_POST_GetGatewayList = "/home-wisdom/gateway/getGatewayList"; |
| | | public const string API_POST_GetGatewayList = "/home-wisdom/app/gateway/getGatewayList"; |
| | | |
| | | ///// <summary> |
| | | ///// 解绑绑网关到住宅 |
| | | ///// </summary> |
| | | public const string API_POST_UntieGateway = "/home-wisdom/gateway/untieGateway"; |
| | | public const string API_POST_UntieGateway = "/home-wisdom/app/gateway/untieGateway"; |
| | | |
| | | #endregion |
| | | |
| | |
| | | /// <summary> |
| | | /// 获取远程连接 |
| | | /// </summary> |
| | | public const string API_POST_GetMqttRemoteInfo = "/home-wisdom/mqtt/getRemoteInfo"; |
| | | public const string API_POST_GetMqttRemoteInfo = "/home-wisdom/app/mqtt/getRemoteInfo"; |
| | | #endregion |
| | | |
| | | #region ■ HomebackupCluster -- 住宅备份微服务___________________________ |
| | | /// <summary> |
| | | /// 创建文件夹 |
| | | /// </summary> |
| | | public const string API_POST_Folder_Create = "/home-wisdom/backup/folder/create"; |
| | | public const string API_POST_Folder_Create = "/home-wisdom/app/backup/folder/create"; |
| | | |
| | | /// <summary> |
| | | /// 删除文件夹 |
| | | /// </summary> |
| | | public const string API_POST_Folder_Delete = "/home-wisdom/backup/folder/delete"; |
| | | public const string API_POST_Folder_Delete = "/home-wisdom/app/backup/folder/delete"; |
| | | |
| | | /// <summary> |
| | | /// 查找所有文件夹 |
| | | /// </summary> |
| | | public const string API_POST_Folder_FindAll = "/home-wisdom/backup/folder/findAll"; |
| | | public const string API_POST_Folder_FindAll = "/home-wisdom/app/backup/folder/findAll"; |
| | | |
| | | /// <summary> |
| | | /// 更新文件夹 |
| | | /// </summary> |
| | | public const string API_POST_Folder_Update = "/home-wisdom/backup/folder/update"; |
| | | public const string API_POST_Folder_Update = "/home-wisdom/app/backup/folder/update"; |
| | | |
| | | /// <summary> |
| | | /// 上传文件 |
| | | /// </summary> |
| | | public const string API_POST_File_Create = "/home-wisdom/backup/file/create"; |
| | | public const string API_POST_File_Create = "/home-wisdom/app/backup/file/create"; |
| | | |
| | | ///// <summary> |
| | | ///// 删除文件 |
| | |
| | | /// <summary> |
| | | /// 下载备份文件 |
| | | /// </summary> |
| | | public const string API_POST_File_Down = "/home-wisdom/backup/file/downOne"; |
| | | public const string API_POST_File_Down = "/home-wisdom/app/backup/file/downOne"; |
| | | |
| | | /// <summary> |
| | | /// 查询一个文件夹所有文件名 |
| | | /// </summary> |
| | | public const string API_POST_File_FindAll = "/home-wisdom/backup/file/findAll"; |
| | | public const string API_POST_File_FindAll = "/home-wisdom/app/backup/file/findAll"; |
| | | |
| | | #endregion |
| | | |
| | |
| | | |
| | | #endregion |
| | | |
| | | #region ■ pushserivce -- 推送服务接口___________________________ |
| | | #region ■ PushSerivce -- 推送服务接口___________________________ |
| | | /// <summary> |
| | | /// 添加推送消息 |
| | | /// 添加推送Token |
| | | /// </summary> |
| | | public const string API_POST_Pushserivce_Addpushinfo = "/pushserivce/V1/addpushinfo"; |
| | | |
| | | public const string API_POST_PushSerivce_AddToken = "/smart-footstone/app/push-information/add"; |
| | | /// <summary> |
| | | /// 清空推送的消息记录 |
| | | /// 删除推送Token |
| | | /// </summary> |
| | | public const string API_DELETE_Pushserivce_Clearmessagelist = "/pushserivce/V1/clearmessagelist/{pushId}"; |
| | | |
| | | /// <summary> |
| | | /// 删除推送消息 |
| | | /// </summary> |
| | | public const string API_DELETE_Pushserivce_Deletepushinfo = "/pushserivce/V1/deletepushinfo/{pushId}"; |
| | | |
| | | public const string API_POST_PushSerivce_DeleteToken = "/smart-footstone/app/push-information/delete"; |
| | | /// <summary> |
| | | /// 获取推送消息记录 |
| | | /// </summary> |
| | | public const string API_GET_Pushserivce_Getpushmessagelist = "/pushserivce/V1/getpushmessagelist/{pushId}"; |
| | | |
| | | public const string API_POST_PushSerivce_Getpushmessagelist = "/smart-footstone/app/message/list"; |
| | | /// <summary> |
| | | /// 清空推送的消息记录 |
| | | /// </summary> |
| | | public const string API_POST_PushSerivce_Clearmessagelist = "/smart-footstone/app/message/clear"; |
| | | /// <summary> |
| | | /// 标记消息已读 |
| | | /// </summary> |
| | | public const string API_PUT_Pushserivce_Markread = "/pushserivce/V1/markread/{pushId}"; |
| | | public const string API_POST_PushSerivce_Markread = "/smart-footstone/app/message/read"; |
| | | /// <summary> |
| | | /// 标记消息全部已读 |
| | | /// </summary> |
| | | public const string API_POST_PushSerivce_ALLMarkread = "/smart-footstone/app/message/read_all"; |
| | | /// <summary> |
| | | /// 通过主键id删除一条推送记录 |
| | | /// </summary> |
| | | public const string API_POST_PushSerivce_Deletepushinfo = "/smart-footstone/app/message/delete_by_id"; |
| | | #endregion |
| | | |
| | | #region ■ -- 检测更新接口___________________________ |
| | | /// <summary> |
| | | /// 检测更新,是否需要强制更新 |
| | | /// </summary> |
| | | public const string API_POST_CheckAppVersion= "/smart-footstone/app/checkAppVersion"; |
| | | /// <summary> |
| | | /// 查询APP最新版本 |
| | | /// </summary> |
| | | public const string API_POST_GetAppVersion = "/smart-footstone/app/getAppVersion"; |
| | | #endregion |
| | | |
| | | #region ■ -- 自动化接口___________________________ |
| | | /// <summary> |
| | | /// 获取自动化列表 |
| | | /// </summary> |
| | | public const string API_POST_Logic_List= "/home-wisdom/app/logic/list"; |
| | | /// <summary> |
| | | ///获取自动化详情 |
| | | /// </summary> |
| | | public const string API_POST_Logic_Info = "/home-wisdom/app/logic/info"; |
| | | /// <summary> |
| | | /// 添加自动化 |
| | | /// </summary> |
| | | public const string API_POST_Logic_Add = "/home-wisdom/app/logic/add"; |
| | | /// <summary> |
| | | /// 编辑自动化 |
| | | /// </summary> |
| | | public const string API_POST_Logic_Update = ":/home-wisdom/app/logic/update"; |
| | | /// <summary> |
| | | /// 删除自动化 |
| | | /// </summary> |
| | | public const string API_POST_Logic_Delete = "/home-wisdom/app/logic/delete"; |
| | | /// <summary> |
| | | /// 启用禁用自动化 |
| | | /// </summary> |
| | | public const string API_POST_Logic_Enable = ":/home-wisdom/app/logic/enable"; |
| | | #endregion |
| | | |
| | | |
| | | #endregion |
| | | } |
| | | |