增加群聊功能

This commit is contained in:
2025-12-04 09:14:26 +08:00
parent da321e3afc
commit 63ca14379e
27 changed files with 2537 additions and 14 deletions

View File

@@ -20,7 +20,7 @@ envConfig.changeEnv(storageManage.env("development")); //测试
// 测试服
// #ifdef H5
let baseUrl = "/api/";
let baseUrl = "/javaapi/";
// #endif
// #ifndef H5
// let baseUrl = 'https://tapi.cashier.sxczgkj.cn/'
@@ -204,7 +204,6 @@ function upload(uri, data, file, showLoading = true, extParams = {}) {
// 放置token
let headerObject = {};
// headerObject[appConfig.tokenKey] = storageManage.token()
return commonsProcess(showLoading, () => {
return uni
.uploadFile(
@@ -213,7 +212,7 @@ function upload(uri, data, file, showLoading = true, extParams = {}) {
url: baseUrl + uri,
formData: data,
name: "file",
filePath: file.path || file.url,
filePath: file.path || file.url ||file,
header: getHeader(),
},
extParams