diff --git a/AppScope/app.json5 b/AppScope/app.json5 index f145ea1..f47ea4c 100644 --- a/AppScope/app.json5 +++ b/AppScope/app.json5 @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.xuqinmin.hw.demo", + "bundleName": "cn.org.bjca.trust.hm.demo", // 开发商信息 "vendor": "徐勤民", "versionCode": 1, diff --git a/app/patch.json b/app/patch.json index 07c96fe..4e954eb 100644 --- a/app/patch.json +++ b/app/patch.json @@ -1,6 +1,6 @@ { "app": { - "bundleName": "com.xuqinmin.hw.demo", + "bundleName": "cn.org.bjca.trust.hm.demo", "patchVersionCode": 2000109, "versionCode": 1 }, diff --git a/app/src/main/ets/pages/sign/Sign.ets b/app/src/main/ets/pages/sign/Sign.ets index ac2d307..7a668e9 100644 --- a/app/src/main/ets/pages/sign/Sign.ets +++ b/app/src/main/ets/pages/sign/Sign.ets @@ -34,9 +34,11 @@ export struct Sign { private synUnSignData() { HttpHelper.get() - .get(BJCASDK.settingManager() - .getServerEnvUrl() + `AppOAuthDemo/synSdkRecipeInfoForBatch?clientId=${BJCASDK.settingManager() - .getClientId()!}&doctorId=${this.mDoctorId}`, undefined) + .get({ + url: BJCASDK.settingManager() + .getServerEnvUrl() + `AppOAuthDemo/synSdkRecipeInfoForBatch?clientId=${BJCASDK.settingManager() + .getClientId()!}&doctorId=${this.mDoctorId}` + }) .then(res => { console.log('---->', JSON.stringify(res)) if (res.status === '0') { diff --git a/build-profile.json5 b/build-profile.json5 index c2c3da1..291b1b5 100644 --- a/build-profile.json5 +++ b/build-profile.json5 @@ -1,6 +1,20 @@ { "app": { - "signingConfigs": [], + "signingConfigs": [ + { + "name": "default", + "type": "HarmonyOS", + "material": { + "certpath": "C:\\Users\\xuqinmin\\.ohos\\config\\default_ywx-sdk-hm_2wP1QK89rux2J-Ugl5b3zYYc2429SyLtRB-LMbPX1p8=.cer", + "storePassword": "0000001A079BC09D3F5D3B3E987C82F088F22D3C93593F0F06C46EF882B901D8CF8FDEA9C8419F7320C2", + "keyAlias": "debugKey", + "keyPassword": "0000001AB1BAAA6896645C209CEC26936FC1085EBA30A4A06A2527D4220374ADF56A65446D8610603AFE", + "profile": "C:\\Users\\xuqinmin\\.ohos\\config\\default_ywx-sdk-hm_2wP1QK89rux2J-Ugl5b3zYYc2429SyLtRB-LMbPX1p8=.p7b", + "signAlg": "SHA256withECDSA", + "storeFile": "C:\\Users\\xuqinmin\\.ohos\\config\\default_ywx-sdk-hm_2wP1QK89rux2J-Ugl5b3zYYc2429SyLtRB-LMbPX1p8=.p12" + } + } + ], "products": [ { "name": "default",