perf: 修改发送失败提示. FORBIDDEN

hotfix/new-conversation
Lei OT 1 year ago
parent 0a658f5b3b
commit ec2cfbbf6c

@ -609,10 +609,12 @@ export const parseRenderMessageList = (messages) => {
export const whatsappError = { export const whatsappError = {
'BAD_REQUEST': ' ', 'BAD_REQUEST': ' ',
'PARAM_INVALID': '参数错误, 请联系技术组', 'PARAM_INVALID': '参数错误, 请联系技术组',
'INTERNAL_SERVER_ERROR': '无法连接WhatsApp.\n请稍重试', 'INTERNAL_SERVER_ERROR': '无法连接WhatsApp.\n请稍重试',
'2': '无法连接WhatsApp.\n请稍候重试', // (#2) Service temporarily unavailable '2': '[2] 无法连接WhatsApp.\n请稍后重试', // (#2) Service temporarily unavailable
'INVALID_PHONE_NUMBER': '无效号码, 请修正号码后重新从订单进入会话', 'INVALID_PHONE_NUMBER': '无效号码, 请修正号码后重新从订单进入会话',
'100': '参数错误, 请联系技术组', '100': '参数错误, 请联系技术组',
'FORBIDDEN': '[FORBIDDEN] ',
'4': '[4] 无法连接WhatsApp.\n请稍后重试', // (#4) Application request limit reached
'131026': '[131026] 消息无法投递(未同意WhatsApp 的隐私政策).\n请使用邮件联系', '131026': '[131026] 消息无法投递(未同意WhatsApp 的隐私政策).\n请使用邮件联系',
'131047': '[131047] 会话未激活. \n请使用模板消息💬发送', '131047': '[131047] 会话未激活. \n请使用模板消息💬发送',
'131053': '[131053] 文件上传失败.', '131053': '[131053] 文件上传失败.',

Loading…
Cancel
Save