Change data type for web service

Signed-off-by: Ryeyao <rye.y.cn@gmail.com>