add some api

Signed-off-by: sunxfancy <sun_xfancy@163.com>
Merge pull request #1 from sunxfancy/master

add some api