package com.hdl.linkpm.sdk.core.api;
|
|
import com.hdl.linkpm.sdk.user.HDLLinkPMUser;
|
|
/**
|
* Created by jlchen on 12/3/21.
|
* B端 用户相关的API接口
|
*/
|
public class HDLCloudProjectApi {
|
/***************项目管理***************/
|
//获取指定公司员工列表 支持名称模糊查询
|
public static final String POST_DEBUGGER_GET = "/basis-footstone/mgmt/user/manage/getUserByCompanyIdAndUserName";
|
//新增项目
|
public static final String POST_PROJECT_CREATE = "/smart-footstone/mgmt/community/project/create";
|
//删除项目
|
public static final String POST_PROJECT_DELETE_BY_ID = "/smart-footstone/mgmt/community/project/deleteById";
|
//获取项目列表
|
public static final String POST_PROJECT_GET_PAGE = "/smart-footstone/mgmt/community/project/page";
|
//获取二次调试
|
public static final String POST_REDEBUG_GET_PAGE = "/smart-footstone/mgmt/community/project/getDebugInfoList";
|
//编辑项目
|
public static final String POST_PROJECT_UPDATE = "/smart-footstone/mgmt/community/project/update";
|
// //分配调试人员
|
// public static final String POST_PROJECT_ARRANGE_DEBUG_USER = "/smart-footstone/mgmt/community/project/arrangeDebugUser";
|
//根据项目调试状态获取项目统计数据
|
public static final String POST_PROJECT_GET_SUMMARY_LIST = "/smart-footstone/mgmt/community/project/getSummaryList";
|
//根据项目ID获取项目信息
|
public static final String POST_PROJECT_GET_INFO = "/smart-footstone/mgmt/community/project/getInfo";
|
//分配业务人员后 修改为跟进中状态
|
public static final String POST_PROJECT_ARRANGE_BUSINESS_USER = "/smart-footstone/mgmt/community/project/arrangeBusinessUser";
|
//交付项目 所有房屋处于已交付状态才通过 否则提示尚未有未交付的房屋
|
public static final String POST_PROJECT_DELIVERY_ROJECT = "/smart-footstone/mgmt/community/project/deliveryProject";
|
//撤回交付的项目 已交付的项目变为待交付 针对酒店和地产项目
|
public static final String POST_PROJECT_WITHDRAW_DELIVERY_PROJECT = "/smart-footstone/mgmt/community/project/withdrawDeliveryProject";
|
|
|
/***************房屋管理***************/
|
//查询房屋信息列表,分页查询 :根据查询条件,返回查询结果的房屋详细信息列表
|
public static final String POST_PROJECT_GET_HOUSE_PAGE = "/smart-footstone/mgmt/community/houseExtend/getHousePage";
|
//添加分配调试人员 :给房屋添加调试人员,调试人员账号必须存在,更新调试人员调试这个接口就好,会进行覆盖
|
public static final String POST_HOUSE_DEBUGGER_ADD = "/smart-footstone/mgmt/community/houseExtend/add";
|
//批量添加调试人员 :多个房屋同时分配给一个调试人员
|
public static final String POST_HOUSE_DEBUGGER_BATCHADD = "/smart-footstone/mgmt/community/houseExtend/batchAdd";
|
//批量更新调试状态
|
public static final String POST_HOUSE_BATCH_UPDATE_STATUS = "/smart-footstone/mgmt/community/houseExtend/batchUpdateStatus";
|
|
|
/***************数据上传云端***************/
|
/**
|
* 更新oid 全量
|
*/
|
public static final String POST_HOUSE_DEVICE_FULL_UPDATE = "/home-wisdom/program/device/oid/add";
|
/**
|
* 功能全量更新
|
*/
|
public static final String POST_HOUSE_FUNCTION_FULL_UPDATE = "/home-wisdom/program/device/add";
|
/**
|
* 房间Uid全量更新
|
*/
|
public static final String POST_HOUSE_ROOM_FULL_UPDATE = "/home-wisdom/program/room/add";
|
/**
|
* 场景全量更新
|
*/
|
public static final String POST_HOUSE_SCENE_FULL_UPDATE = "/home-wisdom/program/scene/sync";
|
/**
|
* 自动化全量更新
|
*/
|
public static final String POST_HOUSE_LOGIC_FULL_UPDATE = "/home-wisdom/program/logic/sync";
|
/**
|
* 安防全量更新
|
*/
|
public static final String POST_HOUSE_SECURITY_FULL_UPDATE = "/home-wisdom/program/security/sync";
|
/**
|
* 更改住宅名称
|
*/
|
public static final String POST_HOUSENAME_UPDATE = "/home-wisdom/program/home/updateName";
|
/**
|
* 添加推送Token
|
*/
|
public static final String POST_JPUSH_BIND = "/smart-footstone/app/push-information/add";
|
/**
|
* 删除推送Token
|
*/
|
public static final String POST_JPUSH_UNBIND = "/smart-footstone/app/push-information/delete";
|
|
/***************网关驱动***************/
|
/**
|
* 获取驱动分页列表
|
*/
|
public static final String POST_GET_DRIVERLIST = "/smart-footstone/driver/driverList";
|
|
/**
|
* 获取驱动版本分页列表
|
*/
|
public static final String POST_GET_VERSIONLIST = "/smart-footstone/driver/versionList";
|
|
/**
|
* 红外设备类型列表
|
*/
|
public static final String POST_GET_IR_DEVICETYPELIST = "/smart-footstone/app/ir/device-type/list";
|
|
/**
|
* 查询红外设备类型的品牌列表
|
*/
|
public static final String POST_GET_IR_DEVICEBRANDLIST = "/smart-footstone/app/ir/brand/list";
|
|
/**
|
* 查询红外设备类型的品牌红外码库列表
|
*/
|
public static final String POST_GET_IR_DEVICECODELIST = "/smart-footstone/app/ir/code/list";
|
|
/**
|
* 添加驱动下载次数
|
*/
|
public static final String POST_ADD_DOWNLOADCOUNT= "/smart-footstone/driver/addDownloadCount";
|
|
/**
|
* 添加固件下载次数
|
*/
|
public static final String POST_ADD_FIRMWARE_DOWNLOADCOUNT= "/smart-footstone/firmware/firmwareVersion/updateDownload";
|
|
/**
|
* 添加三方下载次数
|
*/
|
public static final String POST_ADD_THIRD_DOWNLOADCOUNT= "/iot-cloud/mgmt/third/firmware/version/downOverlay";
|
|
|
|
|
|
/**
|
* 获取完整的请求地址
|
* @param api
|
* @return
|
*/
|
public static String getRequestUrl(String api){
|
return HDLLinkPMUser.getInstance().getUserRegionUrl() + api;
|
}
|
}
|