api1: title: 更新robot信息 url: /api/v1/autoanswer/updateRobotInfo method: post data: {"brandId":"${brandId}","robotIcon":"${robot_icon}","robotName":"${robot_name}","v":"${v}","welcomeMsg": "${robot_greeting_words}"} expected: - eq: {"$.code":0} api2: title: 检查是否更新成功 url: /api/v1/autoanswer/robotInfo?v=${v} method: get expected: - eq: {"$.code":0} - eq: {"$.data.robotName":"${robot_name}"} - eq: {"$.data.robotIcon":"${robot_icon}"} - eq: {"$.data.brandId":"${brandId}"} - eq: {"$.data.welcomeMsg":"${robot_greeting_words}"} api3: title: 恢复机器人信息 url: /api/v1/autoanswer/updateRobotInfo method: post data: {"brandId":"${brandId}","robotIcon":"${robot_icon}","robotName":"${robot_origin_name}","v":"${v}","welcomeMsg": "${robot_origin_greeting_words}"} expected: - eq: {"$.code":0} api4: title: 检查是否恢复 url: /api/v1/autoanswer/robotInfo?v=${v} method: get expected: - eq: {"$.code":0} - eq: {"$.data.robotName":"${robot_origin_name}"} - eq: {"$.data.robotIcon":"${robot_icon}"} - eq: {"$.data.brandId":"${brandId}"} - eq: { "$.data.welcomeMsg": "${robot_origin_greeting_words}" }