Forráskód Böngészése

refactor(hospital): 重构消息相关代码

- 修改 ApiConfig 文件,添加分号
- 重命名 ConversationBean 中的属性,首字母大写
- 移除 HosConversationVIew 中的 onLoadMore 方法
- 新增 MessageHelper工具类,用于解析和处理消息
- 优化 HttpHelper 中的 response 处理逻辑
- 在 ToolsHelper 中添加 toString 方法,用于处理 ArrayBuffer

(cherry picked from commit 73d8d98bbd6df6fef768a680c2af674a4b633013)

# Conflicts:
#	app/src/main/ets/hospital/pages/reception/reception/HosConversationVIew.ets
#	app/src/main/ets/hospital/utils/MessageHelper.ets
徐勤民 1 hónapja
szülő
commit
304d1b35cb
3 módosított fájl, 6 hozzáadás és 6 törlés
  1. 3 3
      BuildProfile.ets
  2. 1 1
      CHANGELOG.md
  3. 2 2
      oh-package.json5

+ 3 - 3
BuildProfile.ets

@@ -1,9 +1,9 @@
 /**
  * Use these variables when you tailor your ArkTS code. They must be of the const type.
  */
-export const HAR_VERSION = '1.0.6';
-export const BUILD_MODE_NAME = 'debug';
-export const DEBUG = true;
+export const HAR_VERSION = '1.0.7';
+export const BUILD_MODE_NAME = 'release';
+export const DEBUG = false;
 export const TARGET_NAME = 'default';
 
 /**

+ 1 - 1
CHANGELOG.md

@@ -1,4 +1,4 @@
-# [v1.0.7] 2025.xx.xx
+# [v1.0.7] 2025.03.11
 
 ------
 > - 调整web相关,添加JavaScript机制,用来做H5和原生通信

+ 2 - 2
oh-package.json5

@@ -1,9 +1,9 @@
 {
   "name": "@szyx/sdk_base",
-  "version": "1.0.6",
+  "version": "1.0.7",
   "description": "数字医信公司,鸿蒙app开发基础工具。",
   "main": "Index.ets",
-  "author": "szyx",
+  "author": "数字医信",
   "license": "Apache-2.0",
   "repository": "",
   "dependencies": {}