注册功能实现

Signed-off-by: heqi <sun215153@gmail.com>