适应修改的接口。

Signed-off-by: mk124 <mk124a@gmail.com>