2.0/email-builder
Lei OT 7 months ago
parent de7133f7cd
commit d705fa7e22

@ -289,7 +289,6 @@ const whatsappMsgMapped = {
},
contentToRender: (contentObj) => {
console.log('whatsapp.inbound_message.received to render', contentObj);
// const contentObj = result?.whatsappInboundMessage || result; // debug:
return parseRenderMessageItem(contentObj);
},
contentToUpdate: () => null,
@ -332,7 +331,6 @@ const emailMsgMapped = {
},
contentToRender: (contentObj) => {
// console.log('email.inbound.received to render', contentObj);
// const contentObj = result?.emailMessage || result; // debug:
return parseRenderMessageItem(contentObj);
},
contentToUpdate: (msgcontent) => null,

@ -9,8 +9,8 @@
export const API_HOST = 'http://202.103.68.144:8889/v2';
export const WS_URL = 'ws://202.103.68.144:8889';
export const EMAIL_HOST = 'http://202.103.68.231:888/service-mail';
export const EMAIL_ATTA_HOST = 'https://p9axztuwd7x8a7.mycht.cn/attatchment'; // 邮件附件
// prod:
export const EMAIL_ATTA_HOST = 'https://p9axztuwd7x8a7.mycht.cn/attatchment'; // 邮件附件
// export const API_HOST = 'https://p9axztuwd7x8a7.mycht.cn/whatsapp_server';
// export const WS_URL = 'wss://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // prod:
export const VONAGE_URL = 'https://p9axztuwd7x8a7.mycht.cn/vonage-server'; // 语音和视频接口:

@ -491,7 +491,6 @@ const EmailEditorPopup = ({ open, setOpen, fromEmail, fromUser, fromOrder, toEma
<Button icon={<UploadOutlined />}>附件</Button>
</Upload>
<Flex align={'center'} className='absolute right-0'>
{/* todo: 添加: 支付链接 */}
<Divider type='vertical' />
<Button type={'link'} onClick={() => openDrawerSnippet()}>图文集</Button>
<Button type={'link'} onClick={() => openPaymentDrawer()}>支付链接</Button>

Loading…
Cancel
Save