徐勤民 il y a 2 mois
Parent
commit
6697a0a718
4 fichiers modifiés avec 7 ajouts et 7 suppressions
  1. 1 1
      BuildProfile.ets
  2. 1 1
      CHANGELOG.md
  3. 4 4
      README.md
  4. 1 1
      oh-package.json5

+ 1 - 1
BuildProfile.ets

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

+ 1 - 1
CHANGELOG.md

@@ -1,5 +1,5 @@
 
-# [v1.0.4] 2024.xx.xx
+# [v1.0.4] 2024.10.21
 
 ------
 > - 优化缓存工具

+ 4 - 4
README.md

@@ -207,8 +207,8 @@ MyView
 HttpHelper.get()
   .get<HttpResult<T>>(url.url.startsWith('http') ? url.url : GlobalValue.getInstance().envUrl + url.url,
     data ? JSON.stringify(data) : undefined, {
-      userId: GlobalValue.getInstance().userId,
-      clientId: GlobalValue.getInstance().getClientId(),
+      userId: GlobalValue.getInstance().userIds,
+      clientId: GlobalValue.getInstance().getClientIds(),
       version: ConstantValue.VERSION,
       deviceType: '01',
       timeStamp: timeStamp + '',
@@ -237,8 +237,8 @@ HttpHelper.get()
 HttpHelper.get()
   .post<HttpResult<T>>(url.url.startsWith('http') ? url.url : GlobalValue.getInstance().envUrl + url.url,
     data ? JSON.stringify(data) : undefined, {
-      userId: GlobalValue.getInstance().userId,
-      clientId: GlobalValue.getInstance().getClientId(),
+      userId: GlobalValue.getInstance().userIds,
+      clientId: GlobalValue.getInstance().getClientIds(),
       version: ConstantValue.VERSION,
       deviceType: '01',
       timeStamp: timeStamp + '',

+ 1 - 1
oh-package.json5

@@ -1,6 +1,6 @@
 {
   "name": "@szyx/sdk_base",
-  "version": "1.0.3",
+  "version": "1.0.4",
   "description": "数字医信公司,鸿蒙app开发基础工具。",
   "main": "Index.ets",
   "author": "szyx",