app注册实现

Signed-off-by: LiYuancen <lyc1116@foxmail.com>