修改输出结果，增加fail_code及fail_detail