Browse Source

微调

master
徐勤民 4 months ago
parent
commit
235170bfbb
4 changed files with 22 additions and 6 deletions
  1. +1
    -1
      AppScope/app.json5
  2. +1
    -1
      app/patch.json
  3. +5
    -3
      app/src/main/ets/pages/sign/Sign.ets
  4. +15
    -1
      build-profile.json5

+ 1
- 1
AppScope/app.json5 View File

@@ -1,6 +1,6 @@
{
"app": {
"bundleName": "com.xuqinmin.hw.demo",
"bundleName": "cn.org.bjca.trust.hm.demo",
// 开发商信息
"vendor": "徐勤民",
"versionCode": 1,


+ 1
- 1
app/patch.json View File

@@ -1,6 +1,6 @@
{
"app": {
"bundleName": "com.xuqinmin.hw.demo",
"bundleName": "cn.org.bjca.trust.hm.demo",
"patchVersionCode": 2000109,
"versionCode": 1
},


+ 5
- 3
app/src/main/ets/pages/sign/Sign.ets View File

@@ -34,9 +34,11 @@ export struct Sign {

private synUnSignData() {
HttpHelper.get()
.get<SynedModel>(BJCASDK.settingManager()
.getServerEnvUrl() + `AppOAuthDemo/synSdkRecipeInfoForBatch?clientId=${BJCASDK.settingManager()
.getClientId()!}&doctorId=${this.mDoctorId}`, undefined)
.get<SynedModel>({
url: BJCASDK.settingManager()
.getServerEnvUrl() + `AppOAuthDemo/synSdkRecipeInfoForBatch?clientId=${BJCASDK.settingManager()
.getClientId()!}&doctorId=${this.mDoctorId}`
})
.then(res => {
console.log('---->', JSON.stringify(res))
if (res.status === '0') {


+ 15
- 1
build-profile.json5 View File

@@ -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",


Loading…
Cancel
Save