彻底重构。
Signed-off-by: lingyunyumo <lingyunyumo@gmail.com>