add some functions

Signed-off-by: you <ylcaa@foxmail.com>
Merge branch 'master' of https://github.com/github1youlc/short_msg

Conflicts:
	server/src/json_helper.cpp

Signed-off-by: you <ylcaa@foxmail.com>