api1: title: 检查会话详情 url: /api/v1/chatRoom/roomDetail method: post before_sql: inbox/ticketDetail_select.py data: {"roomId":"${ticket_room_id}","v":"${v}"} expected: - eq: {"$.code" : 0} - eq: {"$.data.timeZone" : "${customer_time_zone}"} - eq: {"$.data.location" : "${customer_location}"} - eq: {"$.data.email" : "${customer_email}"} - eq: {"$.data.phone" : "${customer_phone}"} - eq: {"$.data.isVisitor" : "${customer_is_visitor}"} - eq: {"$.data.customerId" : "${customer_id}"} - eq: {"$.data.lastSeenTime" : "'${customer_last_msg_time}'"} api2: title: 设置笔记注释 url: /api/v1/note/edit method: post data: {"id":0,"uid":"${customer_id}","uType":1,"customerServiceName":"${customer_name}","noteMsg":"${noteMsg}","siteId":"${shopId}","v":"${v}"} set_value: {"note_id" : "$.data.id"} expected: - eq: {"$.code" : 0} api3: title: 检查笔记注释是否设置 url: /api/v1/note/list method: post data: {"uid":"${customer_id}","uType":1,"customerServiceName":"${customer_name}","siteId":"${shopId}","page":1,"pageSize":2,"v":"${v}"} expected: - eq: {"$.code" : 0} - eq: {"$.data.list[0].id" : "${note_id}"} - eq: {"$.data.list[?(@.id == '${note_id}')].noteMsg" : "${noteMsg}"} api4: title: 删除笔记注释 url: /api/v1/note/delete method: post data: {"id":"${note_id}","v":"${v}"} expected: - eq: {"$.code" : 0} api5: title: 检查获取shopify订单的接口是否正常 url: /api/v1/order/getCustomerOrderList method: post data: {"email":"${customer_email}","pageNum":1,"pageSize":2,"shopId":"${shopId}","phone":"${customer_phone}","v":"${v}"} expected: - eq: {"$.code" : 0} api6: title: 设置快捷发送为ctrl + enter url: /api/v1/customerService/updateCustomerServiceAccount method: post data: {"id":"${userId}","enterType":2,"v":"${v}"} expected: - eq: {"$.code" : 0} api7: title: 检查快捷发送是否设置成功 url: /api/v1/customerService/getCustomerServiceInfo?v=${v} method: get expected: - eq: {"$.code" : 0} - eq: {"$.data.enterType" : 2} api8: title: 设置快捷发送为shift + enter url: /api/v1/customerService/updateCustomerServiceAccount method: post data: {"id":"${userId}","enterType":3,"v":"${v}"} expected: - eq: {"$.code" : 0} api9: title: 检查快捷发送是否设置成功 url: /api/v1/customerService/getCustomerServiceInfo?v=${v} method: get expected: - eq: {"$.code" : 0} - eq: {"$.data.enterType" : 3} api10: title: 设置快捷发送为enter url: /api/v1/customerService/updateCustomerServiceAccount method: post data: {"id":"${userId}","enterType":1,"v":"${v}"} expected: - eq: {"$.code" : 0} api11: title: 检查快捷发送是否设置成功 url: /api/v1/customerService/getCustomerServiceInfo?v=${v} method: get expected: - eq: {"$.code" : 0} - eq: {"$.data.enterType" : 1}