diff --git a/src/config.js b/src/config.js index 83bc84b..4f4e234 100644 --- a/src/config.js +++ b/src/config.js @@ -9,7 +9,7 @@ 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 = 'http://202.103.68.102:8888'; // 邮件附件 +export const EMAIL_ATTA_HOST = 'https://p9axztuwd7x8a7.mycht.cn/attatchment'; // 邮件附件 // prod: // export const API_HOST = 'https://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // export const WS_URL = 'wss://p9axztuwd7x8a7.mycht.cn/whatsapp_server'; // prod: diff --git a/src/stores/AuthStore.js b/src/stores/AuthStore.js index 6325f46..66cca5d 100644 --- a/src/stores/AuthStore.js +++ b/src/stores/AuthStore.js @@ -50,6 +50,7 @@ const useAuthStore = create(devtools((set, get) => ({ setLoginStatus(200) + // TODO 正式上线要切换地址 const json = await fetchJSON( 'http://202.103.68.144:889/dingtalk/dingtalkwork/WhatsAppAuth', //`https://p9axztuwd7x8a7.mycht.cn/dingtalk/dingtalkwork/WhatsAppAuth`,