{ "name":"lucky_weapp", "appid":"__UNI__A3A4830", "description":"", "versionName":"1.0.0", "versionCode":"100", "transformPx":false, "app-plus":{ "usingComponents":true, "nvueCompiler":"uni-app", "splashscreen":{ "alwaysShowBeforeRender":true, "waiting":true, "autoclose":true, "delay":0 }, "modules":{}, "distribute":{ "android":{ "permissions":[ "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "", "" ] }, "ios":{}, "sdkConfigs":{ "ad":{}, // App端支付SDK配置(适配原生App支付) "payment":{ "weixin":{ "appid":"wx1234567890abcdef", // 替换:微信开放平台AppID "universalLink":"https://yourdomain.com/apple-app-site-association" // 替换:iOS微信Universal Link }, "alipay":{ "appid":"2024000000000000" // 替换:支付宝开放平台AppID }, "huawei":{ "appid":"12345678" // 替换:华为开发者联盟AppID(应用市场申请) } } } } }, "mp-weixin":{ "appid":"wxa8f94045d9c2fc10", // 你的微信小程序AppID(已保留) "setting":{ "urlCheck":false, "postcss":false, "es6":true, "minified":true }, "usingComponents":true, "permission":{ "scope.userLocation":{ "desc":"为了更好地为您提供服务" }, "scope.writePhotosAlbum":{ "desc":"为了更好地为您提供服务" } }, "useDeprecatedAPI":{ "getSystemInfoSync":false }, "requiredPrivateInfos":["chooseLocation","getLocation","chooseAddress"], "__usePrivacyCheck__":true, "optimization":{ "subPackages":true }, // 微信小程序支付核心配置(官方规范) "pay":{ "merchantId":"1688888888", // 替换:你的微信支付商户号(商户平台获取) "keyPath":"cert/apiclient_key.p12" // 可选:微信支付证书路径(退款/分账等接口需用) }, "sdkConfigs":{ "jssdk":{ "apis":["chooseWXPay"] // 必须:开启微信JSSDK支付接口(H5/小程序共用) } } }, "mp-alipay":{ "usingComponents":true, "appid":"2024000000000000", // 替换:你的支付宝小程序AppID(开放平台获取) // 支付宝小程序支付配置(官方规范) "pay":{ "merchantId":"2088888888888888" // 替换:你的支付宝支付商户号 } }, "mp-baidu":{ "usingComponents":true }, "mp-toutiao":{ "usingComponents":true }, "h5":{ "sdkConfigs":{ "maps":{ "qqmap":{ "key":"TUHBZ-CNWKU-UHAVP-GZQ26-HNZFO-3YBF4" // 已保留 }, // H5端微信/华为支付JSSDK配置 "weixin":{ "appid":"wxa8f94045d9c2fc10" // 和微信小程序AppID一致(无需修改) }, "huawei":{ "appid":"12345678" // 替换:华为开发者联盟AppID } } }, "router":{ "mode":"hash", // 必须:hash模式适配支付回调跳转 "base":"/hwapp/" }, "title":"华为支付演示", "devServer":{ "https":false, // H5端支付接口跨域代理(解决浏览器跨域限制) "proxy":{ // 华为支付接口代理 "/api/huawei":{ "target":"https://iap-api.cloud.huawei.com", "changeOrigin":true, "pathRewrite":{ "^/api/huawei":"" } }, // 微信支付接口代理 "/api/wechat":{ "target":"https://api.mch.weixin.qq.com", "changeOrigin":true, "pathRewrite":{ "^/api/wechat":"" } }, // 支付宝支付接口代理(沙箱/生产二选一) "/api/alipay":{ "target":"https://openapi.alipaydev.com", // 沙箱环境;生产:https://openapi.alipay.com "changeOrigin":true, "pathRewrite":{ "^/api/alipay":"" } } } }, "optimization":{ "treeShaking":{ "enable":false } }, "domain":" ", "unipush":{ "enable":false }, "async":{ "loading":"", "error":"", "delay":0, "timeout":3000 }, "template":"" }, "uniStatistics":{ "version":"2" }, "sassImplementationName":"node-sass", "quickapp-webview":{ "package":"com.jieganfsj.fivegshop", // 已保留:华为快应用包名 "minPlatformVersion":1070, "versionName":"1.0.0", "versionCode":0, // 华为快应用支付核心配置(官方规范) "sdkConfigs":{ "huawei":{ "appid":"12345678", // 替换:华为开发者联盟AppID "payment":{ "merchantId":"88888888" // 替换:华为支付商户号(商户平台获取) } } }, // 华为快应用必须声明的支付权限(官方强制) "features":[ {"name":"system.pay"}, {"name":"huawei.pay"} ] } }