修改user为泛型

Signed-off-by: shaoling <shaoling@jd.com>