This commit is contained in:
左哥 2025-11-09 13:15:02 +08:00
parent 2e8651d7a1
commit dcaa6a1f25
4 changed files with 11 additions and 2 deletions

View File

@ -4,3 +4,6 @@ VITE_APP_BASE_API = 'https://mini-chat.1024tool.vip/api'
VITE_SERVE = "https://mini-chat.1024tool.vip/api/"
VITE_APP_BASE_API_img = "https://mini-chat.1024tool.vip/"
VITE_APP_PAGE_SIZE = 100

View File

@ -3,3 +3,6 @@ NODE_ENV = 'production'
VITE_APP_BASE_API = 'https://dsjhd9s.tbmw.cn/api/'
VITE_SERVE = "https://dsjhd9s.tbmw.cn/api/"
VITE_APP_BASE_API_img = "https://dsjhd9s.tbmw.cn/"
VITE_APP_PAGE_SIZE = 10000

View File

@ -4,3 +4,6 @@ VITE_APP_BASE_API = 'https://mini-chat.1024tool.vip/api'
VITE_SERVE = "https://mini-chat.1024tool.vip/api/"
VITE_APP_BASE_API_img = "https://mini-chat.1024tool.vip/"
VITE_APP_PAGE_SIZE = 100

View File

@ -707,7 +707,7 @@ const onEmojiSelect = (emoji) => {
//
const params = reactive({
page: 1,
page_size: 2000,
page_size: import.meta.env.VITE_APP_PAGE_SIZE,
app_id: route.query.app_id
})
@ -856,7 +856,7 @@ const sendTemplateMessage = async (templateId) => {
getMessages(false, 1) //
}, 500)
} else {
ElMessage({ type: 'error', message: res.message || '模板消息发送失败' })
ElMessage({ type: 'error', message: '推送失败,对方没有订阅!' })
}
})