添加配置文件,优化逻辑
Signed-off-by: liudonghua7914 <657226657@qq.com>