{
    "name"  : "在设备需要使用微信连wifi时检测配置是否正确",
    "problems" : {
        "unconfig_wechat_wifi" : {
            "desc"      : "【问题】实际未配置为微信连wifi",
            "advice"    : "【建议】进入WEB页面的商业营销认证并使用微信认证快速配置重新配置" 
        }
    }
}

---------------------------code-------------------------------
response1 = cli('show run | in rdt-for-wx2')
response2 = cli('show run | in webservice wx-auth uni-protocal')
response1 = response1.split(/\r?\n/)
response2 = response2.split(/\r?\n/)
if response1.length <= 2 || response2.length <= 2 :
	add_problem("unconfig_wechat_wifi")
	return 'warn'
else :
    return 'success'
end
