Просмотр исходного кода

花卉宝-新增位置信息接口权限

ouyang 1 день назад
Родитель
Сommit
1db5fbee68

+ 1 - 0
mallApp/src/ext-production.json

@@ -2,6 +2,7 @@
   "extEnable": true,
   "extAppid": "wx99a1dfc4171efb42",
   "directCommit": false,
+  "requiredPrivateInfos": ["chooseLocation"],
   "ext": {
     "account": 0,
     "apiHost": "https://api.shop.zhiguanhua.cn",

+ 1 - 0
mallApp/src/ext.json

@@ -2,6 +2,7 @@
   "extEnable": true,
   "extAppid": "wxe41bd5816affd0ba",
   "directCommit": false,
+  "requiredPrivateInfos": ["chooseLocation"],
   "ext": {
     "account": 0,
     "apiHost": "https://api.shop.theflorist.cn",

+ 5 - 0
mallApp/src/manifest.json

@@ -63,8 +63,13 @@
             "subPackages" : true
         },
         "usingComponents" : true,
+        /* 微信要求定位类隐私接口须在 requiredPrivateInfos 声明,否则 chooseLocation 直接 fail */
         "permission" : {
+            "scope.userLocation" : {
+                "desc" : "你的位置信息将用于填写收货地址"
+            }
         },
+        "requiredPrivateInfos" : [ "chooseLocation" ],
         "lazyCodeLoading":"requiredComponents",
         "uniStatistics" : {
             "enable" : false

+ 1 - 0
开发http/mallApp/src/ext.json

@@ -2,6 +2,7 @@
   "extEnable": true,
   "extAppid": "wxe41bd5816affd0ba",
   "directCommit": false,
+  "requiredPrivateInfos": ["chooseLocation"],
   "ext": {
     "account": 0,
     "apiHost": "http://api.shop.theflorist.cn",

+ 5 - 0
开发http/mallApp/src/manifest.json

@@ -64,8 +64,13 @@
             "subPackages" : true
         },
         "usingComponents" : true,
+        /* 微信要求定位类隐私接口须在 requiredPrivateInfos 声明,否则 chooseLocation 直接 fail */
         "permission" : {
+            "scope.userLocation" : {
+                "desc" : "你的位置信息将用于填写收货地址"
+            }
         },
+        "requiredPrivateInfos" : [ "chooseLocation" ],
         "lazyCodeLoading":"requiredComponents",
         "uniStatistics" : {
             "enable" : false

+ 1 - 0
开发https/mallApp/src/ext.json

@@ -2,6 +2,7 @@
   "extEnable": true,
   "extAppid": "wxe41bd5816affd0ba",
   "directCommit": false,
+  "requiredPrivateInfos": ["chooseLocation"],
   "ext": {
     "account": 0,
     "apiHost": "https://api.shop.theflorist.cn",

+ 5 - 0
开发https/mallApp/src/manifest.json

@@ -63,8 +63,13 @@
             "subPackages" : true
         },
         "usingComponents" : true,
+        /* 微信要求定位类隐私接口须在 requiredPrivateInfos 声明,否则 chooseLocation 直接 fail */
         "permission" : {
+            "scope.userLocation" : {
+                "desc" : "你的位置信息将用于填写收货地址"
+            }
         },
+        "requiredPrivateInfos" : [ "chooseLocation" ],
         "lazyCodeLoading":"requiredComponents",
         "uniStatistics" : {
             "enable" : false

+ 1 - 0
线上/mallApp/src/ext.json

@@ -2,6 +2,7 @@
   "extEnable": true,
   "extAppid": "wx99a1dfc4171efb42",
   "directCommit": false,
+  "requiredPrivateInfos": ["chooseLocation"],
   "ext": {
     "account": 0,
     "apiHost": "https://api.shop.zhiguanhua.cn",

+ 7 - 1
线上/mallApp/src/manifest.json

@@ -62,7 +62,13 @@
             "urlCheck" : false
         },
         "usingComponents" : true,
-        "permission" : {},
+        /* 微信要求定位类隐私接口须在 requiredPrivateInfos 声明,否则 chooseLocation 直接 fail */
+        "permission" : {
+            "scope.userLocation" : {
+                "desc" : "你的位置信息将用于填写收货地址"
+            }
+        },
+        "requiredPrivateInfos" : [ "chooseLocation" ],
         "lazyCodeLoading" : "requiredComponents",
         "uniStatistics" : {
             "enable" : false