feat: 过滤地址
This commit is contained in:
@@ -5,6 +5,10 @@
|
||||
"customPlaygroundType" : "local",
|
||||
"playground" : "custom",
|
||||
"type" : "uni-app:app-android"
|
||||
},
|
||||
{
|
||||
"playground" : "standard",
|
||||
"type" : "uni-app:app-ios"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
+23
-37
@@ -3,7 +3,7 @@
|
||||
"appid" : "__UNI__4910728",
|
||||
"description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
|
||||
"versionName" : "1.0.1",
|
||||
"versionCode" : 134,
|
||||
"versionCode" : 135,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
@@ -87,33 +87,33 @@
|
||||
},
|
||||
"icons" : {
|
||||
"android" : {
|
||||
"hdpi" : "static/logo.png",
|
||||
"xhdpi" : "static/logo.png",
|
||||
"xxhdpi" : "static/logo.png",
|
||||
"xxxhdpi" : "static/logo.png"
|
||||
"hdpi" : "unpackage/res/icons/72x72.png",
|
||||
"xhdpi" : "unpackage/res/icons/96x96.png",
|
||||
"xxhdpi" : "unpackage/res/icons/144x144.png",
|
||||
"xxxhdpi" : "unpackage/res/icons/192x192.png"
|
||||
},
|
||||
"ios" : {
|
||||
"appstore" : "",
|
||||
"appstore" : "unpackage/res/icons/1024x1024.png",
|
||||
"ipad" : {
|
||||
"app" : "static/logo.png",
|
||||
"app@2x" : "static/logo.png",
|
||||
"notification" : "static/logo.png",
|
||||
"notification@2x" : "static/logo.png",
|
||||
"proapp@2x" : "static/logo.png",
|
||||
"settings" : "static/logo.png",
|
||||
"settings@2x" : "static/logo.png",
|
||||
"spotlight" : "static/logo.png",
|
||||
"spotlight@2x" : "static/logo.png"
|
||||
"app" : "unpackage/res/icons/76x76.png",
|
||||
"app@2x" : "unpackage/res/icons/152x152.png",
|
||||
"notification" : "unpackage/res/icons/20x20.png",
|
||||
"notification@2x" : "unpackage/res/icons/40x40.png",
|
||||
"proapp@2x" : "unpackage/res/icons/167x167.png",
|
||||
"settings" : "unpackage/res/icons/29x29.png",
|
||||
"settings@2x" : "unpackage/res/icons/58x58.png",
|
||||
"spotlight" : "unpackage/res/icons/40x40.png",
|
||||
"spotlight@2x" : "unpackage/res/icons/80x80.png"
|
||||
},
|
||||
"iphone" : {
|
||||
"app@2x" : "static/logo.png",
|
||||
"app@3x" : "static/logo.png",
|
||||
"notification@2x" : "static/logo.png",
|
||||
"notification@3x" : "static/logo.png",
|
||||
"settings@2x" : "static/logo.png",
|
||||
"settings@3x" : "static/logo.png",
|
||||
"spotlight@2x" : "static/logo.png",
|
||||
"spotlight@3x" : "static/logo.png"
|
||||
"app@2x" : "unpackage/res/icons/120x120.png",
|
||||
"app@3x" : "unpackage/res/icons/180x180.png",
|
||||
"notification@2x" : "unpackage/res/icons/40x40.png",
|
||||
"notification@3x" : "unpackage/res/icons/60x60.png",
|
||||
"settings@2x" : "unpackage/res/icons/58x58.png",
|
||||
"settings@3x" : "unpackage/res/icons/87x87.png",
|
||||
"spotlight@2x" : "unpackage/res/icons/80x80.png",
|
||||
"spotlight@3x" : "unpackage/res/icons/120x120.png"
|
||||
}
|
||||
}
|
||||
},
|
||||
@@ -139,20 +139,6 @@
|
||||
"pid" : "11931",
|
||||
"parameters" : {}
|
||||
}
|
||||
},
|
||||
"WITTestUniPlugin" : {
|
||||
"__plugin_info__" : {
|
||||
"name" : "WITTestUniPlugin",
|
||||
"description" : "iOS原生插件",
|
||||
"platforms" : "iOS",
|
||||
"url" : "",
|
||||
"android_package_name" : "",
|
||||
"ios_bundle_id" : "",
|
||||
"isCloud" : false,
|
||||
"bought" : -1,
|
||||
"pid" : "",
|
||||
"parameters" : {}
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
|
||||
+474
-532
File diff suppressed because it is too large
Load Diff
@@ -245,9 +245,21 @@ export default {
|
||||
if (!params.id || params.id === 0) {
|
||||
delete params.id;
|
||||
}
|
||||
if (!params.townshipId || params.townshipId === 0) {
|
||||
delete params.townshipId;
|
||||
}
|
||||
if (!params.areaId || params.areaId === 0) {
|
||||
delete params.areaId;
|
||||
}
|
||||
if (!params.cityId || params.cityId === 0) {
|
||||
delete params.cityId;
|
||||
}
|
||||
if (!params.provinceId || params.provinceId === 0) {
|
||||
delete params.provinceId;
|
||||
}
|
||||
if (!params.countryId || params.countryId === 0) {
|
||||
delete params.countryId;
|
||||
}
|
||||
delete params.regionStr;
|
||||
const res = await editAddress(params);
|
||||
if (res && res.bizcode === 100) {
|
||||
|
||||
Reference in New Issue
Block a user