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
这个提交包含在:
徐勤民 2025-03-10 16:42:47 +08:00
父节点 a1d2de88ba
当前提交 304d1b35cb
共有 3 个文件被更改,包括 6 次插入6 次删除

查看文件

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

查看文件

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

查看文件

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