export interface IUser { sessionId: string; userCode: string; bindUserCode: string; userName: string; msg: string; code: number; clientEndType: number; state: number; spaceId: string; productId: string; createTime: number; lastReplyTime: number; lastIP: string; presentIP: string; } /** * 通过usercode获取用户在线信息 * @param action_id 系统参数action_id * @param session_id 系统参数session_id * @param spaceid 项目spaceid * @param productid 用户对应的productid * @param usercode 要获取用户信息的usercode * @example * 1、productid ==””,返回所有的在线用户信息 * 2、productid !=””,usercode ==””,获取productid下的所有在线用户信息 * 3、productid !=””,usercode ==”hanpanfei”,获取productid下usercode 对应的用户信息 * 4、productid !=””,usercode ==[“hanpanfei”,”test”],获取productid下usercode 对应的用户信息 */ export default function get_user_by_usercode(action_id: string, session_id: string, productid: string, usercode?: string | string[]): Promise;