shishuangxi

新增组件

@@ -217,6 +217,18 @@ @@ -217,6 +217,18 @@
217 ] 217 ]
218 } 218 }
219 ] 219 ]
  220 + },
  221 + {
  222 + "name": "wdHwAbility",
  223 + "srcPath": "./features/wdHwAbility",
  224 + "targets": [
  225 + {
  226 + "name": "default",
  227 + "applyToProducts": [
  228 + "default"
  229 + ]
  230 + }
  231 + ]
220 } 232 }
221 ] 233 ]
222 } 234 }
  1 +{
  2 + "meta": {
  3 + "stableOrder": true
  4 + },
  5 + "lockfileVersion": 3,
  6 + "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.",
  7 + "specifiers": {
  8 + "@ohos/axios@^2.1.1": "@ohos/axios@2.2.0",
  9 + "wdBean@../wdBean": "wdBean@../wdBean",
  10 + "wdConstant@../../commons/wdConstant": "wdConstant@../../commons/wdConstant",
  11 + "wdJsBridge@../../commons/wdJsBridge": "wdJsBridge@../../commons/wdJsBridge",
  12 + "wdKit@../../commons/wdKit": "wdKit@../../commons/wdKit",
  13 + "wdLogin@../wdLogin": "wdLogin@../wdLogin",
  14 + "wdNetwork@../../commons/wdNetwork": "wdNetwork@../../commons/wdNetwork",
  15 + "wdRouter@../../commons/wdRouter": "wdRouter@../../commons/wdRouter",
  16 + "wdWebComponent@../../commons/wdWebComponent": "wdWebComponent@../../commons/wdWebComponent"
  17 + },
  18 + "packages": {
  19 + "@ohos/axios@2.2.0": {
  20 + "name": "@ohos/axios",
  21 + "integrity": "sha512-v1QBWk6DfcN8wUW3D0ieFbHTR1taSI5cOgxp5l6B5cegXuNYhSc8ggKlAIXe6h/14LsfM+NW0ZGfSXcNEIM5yA==",
  22 + "resolved": "https://repo.harmonyos.com/ohpm/@ohos/axios/-/axios-2.2.0.har",
  23 + "registryType": "ohpm"
  24 + },
  25 + "wdBean@../wdBean": {
  26 + "name": "wdbean",
  27 + "resolved": "../wdBean",
  28 + "registryType": "local"
  29 + },
  30 + "wdConstant@../../commons/wdConstant": {
  31 + "name": "wdconstant",
  32 + "resolved": "../../commons/wdConstant",
  33 + "registryType": "local"
  34 + },
  35 + "wdJsBridge@../../commons/wdJsBridge": {
  36 + "name": "wdjsbridge",
  37 + "resolved": "../../commons/wdJsBridge",
  38 + "registryType": "local"
  39 + },
  40 + "wdKit@../../commons/wdKit": {
  41 + "name": "wdkit",
  42 + "resolved": "../../commons/wdKit",
  43 + "registryType": "local"
  44 + },
  45 + "wdLogin@../wdLogin": {
  46 + "name": "wdlogin",
  47 + "resolved": "../wdLogin",
  48 + "registryType": "local",
  49 + "dependencies": {
  50 + "wdConstant": "file:../../commons/wdConstant",
  51 + "wdKit": "file:../../commons/wdKit",
  52 + "wdWebComponent": "file:../../commons/wdWebComponent",
  53 + "wdBean": "file:../../features/wdBean",
  54 + "wdRouter": "file:../../commons/wdRouter",
  55 + "wdNetwork": "file:../../commons/wdNetwork"
  56 + }
  57 + },
  58 + "wdNetwork@../../commons/wdNetwork": {
  59 + "name": "wdnetwork",
  60 + "resolved": "../../commons/wdNetwork",
  61 + "registryType": "local",
  62 + "dependencies": {
  63 + "wdConstant": "file:../wdConstant",
  64 + "wdKit": "file:../wdKit",
  65 + "@ohos/axios": "^2.1.1"
  66 + }
  67 + },
  68 + "wdRouter@../../commons/wdRouter": {
  69 + "name": "wdrouter",
  70 + "resolved": "../../commons/wdRouter",
  71 + "registryType": "local",
  72 + "dependencies": {
  73 + "wdKit": "file:../wdKit",
  74 + "wdBean": "file:../../features/wdBean",
  75 + "wdNetwork": "file:../../commons/wdNetwork",
  76 + "wdConstant": "file:../../commons/wdConstant"
  77 + }
  78 + },
  79 + "wdWebComponent@../../commons/wdWebComponent": {
  80 + "name": "wdwebcomponent",
  81 + "resolved": "../../commons/wdWebComponent",
  82 + "registryType": "local",
  83 + "dependencies": {
  84 + "wdConstant": "file:../wdConstant",
  85 + "wdKit": "file:../wdKit",
  86 + "wdJsBridge": "file:../wdJsBridge",
  87 + "wdBean": "file:../../features/wdBean",
  88 + "wdRouter": "file:../wdRouter"
  89 + }
  90 + }
  91 + }
  92 +}
@@ -7,5 +7,10 @@ @@ -7,5 +7,10 @@
7 "license": "Apache-2.0", 7 "license": "Apache-2.0",
8 "packageType": "InterfaceHar", 8 "packageType": "InterfaceHar",
9 "dependencies": { 9 "dependencies": {
  10 + "wdConstant": "file:../../commons/wdConstant",
  11 + "wdLogin": "file:../../features/wdLogin",
  12 + "wdKit": "file:../../commons/wdKit",
  13 + "wdBean": "file:../../features/wdBean",
  14 + "wdNetwork": "file:../../commons/wdNetwork"
10 } 15 }
11 } 16 }
1 -import { Logger } from '../../../../../../commons/wdKit/src/main/ets/utils/Logger';  
2 -import { PermissionUtils } from '../../../../../../commons/wdKit/src/main/ets/utils/PermissionUtils';  
3 import { abilityAccessCtrl, bundleManager, Permissions } from '@kit.AbilityKit'; 1 import { abilityAccessCtrl, bundleManager, Permissions } from '@kit.AbilityKit';
4 import { BusinessError } from '@kit.BasicServicesKit'; 2 import { BusinessError } from '@kit.BasicServicesKit';
5 import { geoLocationManager } from '@kit.LocationKit'; 3 import { geoLocationManager } from '@kit.LocationKit';
6 -import { SPHelper } from '../../../../../../commons/wdKit/src/main/ets/utils/SPHelper';  
7 -import { ResourcesUtils } from '../../../../../../commons/wdKit/src/main/ets/utils/ResourcesUtils'; 4 +import { Logger, PermissionUtils, ResourcesUtils, SPHelper } from 'wdKit/Index';
8 5
9 /** 6 /**
10 * 系统定位服务实现 7 * 系统定位服务实现