| | |
| | | /// <summary> |
| | | /// 上传头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Upload = "/home-wisdom/head/portrait/upload"; |
| | | public const string API_POST_Head_Upload = "/home-wisdom/app/head/portrait/upload"; |
| | | /// <summary> |
| | | /// 下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_Down = "/home-wisdom/head/portrait/down"; |
| | | public const string API_POST_Head_Down = "/home-wisdom/app/head/portrait/down"; |
| | | /// <summary> |
| | | /// 根据账号下载头像 |
| | | /// </summary> |
| | | public const string API_POST_Head_DownWithAccount = "/home-wisdom/head/portrait/downWithAccount"; |
| | | public const string API_POST_Head_DownWithAccount = "/home-wisdom/app/head/portrait/downWithAccount"; |
| | | /// <summary> |
| | | /// 绑定认证(手机/邮箱) |
| | | /// </summary> |
| | |
| | | /// <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/child/account/getHeadPortrait"; |
| | | 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 ■ -- 自动化接口___________________________ |
| | | ///// <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"; |
| | | /// <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 |
| | | |
| | | |