作者 杨育虎

tuisong

<?php
return [
// 客户端配置
[
'name' => 'ini',
'title' => '客户端配置',
'type' => 'array',
'value' => [
'name' => '新零售商城', //应用名称
'logo' => '/assets/addons/wanlshop/img/common/logo.png',
'copyright' => '2021 深圳前海万联科技有限公司',
'urlschemes' => 'wanlshop', // wanlshop://
'package_name' => 'com.wanlian.www', //应用包名
// 接口信息
'cdnurl' => 'http://localhost', // CDN 服务器
'appurl' => 'http://localhost/api', // API 服务器
'socketurl' => 'ws://localhost:7272', // 即时通讯 服务器
'debug' => 'N'
],
'rule' => '',
'msg' => '',
'tip' => '客户端参数配置',
'ok' => '',
'extend' => ''
],
// 高德地图SDK-------------------------------------------------------------------------------------------
[
'name' => 'sdk_amap',
'title' => '高德地图SDK配置',
'type' => 'array',
'value' => [
'amapkey_web' => '0a9f67a6f8f7cc3315d30846a0fde88b', // 高德网页秘钥
'amapkey_ios' => 'd8b84cf540bcca9928db69b0119fc152', // 高德IOS秘钥
'amapkey_android' => '6c3f7522aab215e0704225adaad9f73e' // 高德安卓秘钥
],
'rule' => '',
'msg' => '',
'tip' => '高德地图SDK参数配置',
'ok' => '',
'extend' => ''
],
// 腾讯开放SDK
[
'name' => 'sdk_qq',
'title' => '腾讯开放SDK配置',
'type' => 'array',
'value' => [
'qq_appid' => '10******36', // QQ开放平台appid
'gz_appid' => 'wx******************e9', // 公众平台ID
'wx_appid' => 'wx******************88', // 微信开放平台appid
'wx_appsecret' => '22***************************cc', // 微信开放平台appsecret
'wx_universal_links' => 'https://wanlshop.com/', // 微信开放平台通用链接
'mch_id' => '16******75', // 微信支付商户ID
'key' => 'Hr***************************ew',
'notify_url' => '/wanlshop/callback/notify/type/wechat',
'pay_cert' => 0 // 可选, 退款,红包等情况时需要用到
],
'rule' => '',
'msg' => '',
'tip' => '腾讯开放SDK参数配置',
'ok' => '',
'extend' => ''
],
// 支付宝SDK ---
[
'name' => 'sdk_alipay',
'title' => '支付宝SDK配置',
'type' => 'array',
'value' => [
'app_id' => '20************21',
'notify_url' => '/wanlshop/callback/notify/type/alipay',
'return_url' => '/wanlshop/callback/return/type/alipay',
'ali_public_key' => '',
'private_key' => '',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝SDK参数配置',
'ok' => '',
'extend' => ''
],
// 微博开放SDK
[
'name' => 'sdk_weibo',
'title' => '微博开放SDK配置',
'type' => 'array',
'value' => [
'appkey' => '35********94', // 微博开放平台 appkey
'appsecret' => '0a********************************7f', // 微博开放平台 appsecret
'redirect_uri' => '/wanlshop/callback/weibo' // 微博开放平台回调地址
],
'rule' => '',
'msg' => '',
'tip' => '微博开放SDK参数配置',
'ok' => '',
'extend' => ''
],
// 快递100SDK
[
'name' => 'kuaidi',
'title' => '快递100 SDK',
'type' => 'array',
'value' => [
'secretKey' => 'gm********34', // 快递100 Key
'callbackUrl' => '/wanlshop/callback/kuaidi' // 回调地址
],
'rule' => '',
'msg' => '',
'tip' => '快递100 SDK参数配置',
'ok' => '',
'extend' => ''
],
// H5客户端-------------------------------------------------------------------------------------------
[
'name' => 'h5',
'title' => 'H5客户端',
'type' => 'array',
'value' => [
'domain' => 'https://m.wanlshop.com', // 域名
'title' => '新零售电商平台', // 标题
'router_mode' => 'hash', // 路由模式
'router_base' => './', // 运行基础路径
'https' => 'N', // 域名
'qqmap_key' => 'V3JBZ-C7Z36-BL7S6-M67TX-6WORS-2TBMN' // H5腾讯地址key
],
'rule' => '',
'msg' => '',
'tip' => 'H5客户端配置',
'ok' => '',
'extend' => ''
],
// 微信小程序配置
[
'name' => 'mp_weixin',
'title' => '微信小程序',
'type' => 'array',
'value' => [
'appid' => 'wx**********14b', // AppID
'appsecret' => 'e380*************************e037', // AppSecret
'scope_userLocation' => '演示定位能力' //客服初始回复
],
'rule' => '',
'msg' => '',
'tip' => '微信小程序配置',
'ok' => '',
'extend' => ''
],
// 支付宝小程序
[
'name' => 'mp_alipay',
'title' => '支付宝小程序',
'type' => 'array',
'value' => [
'appid' => '20**********76' // AppID
],
'rule' => '',
'msg' => '',
'tip' => '支付宝小程序配置',
'ok' => '',
'extend' => ''
],
// 百度小程序
[
'name' => 'mp_baidu',
'title' => '百度小程序',
'type' => 'array',
'value' => [
'appid' => '', // AppID
'appsecret' => '' // AppSecret
],
'rule' => '',
'msg' => '',
'tip' => '百度小程序配置',
'ok' => '',
'extend' => ''
],
// 头条小程序
[
'name' => 'mp_toutiao',
'title' => '头条小程序',
'type' => 'array',
'value' => [
'appid' => '', // AppID
'appsecret' => '' // AppSecret
],
'rule' => '',
'msg' => '',
'tip' => '头条小程序配置',
'ok' => '',
'extend' => ''
],
// QQ小程序
[
'name' => 'mp_qq',
'title' => 'QQ小程序',
'type' => 'array',
'value' => [
'appid' => '11*****49', // AppID
'appsecret' => 'EV***************HX' // AppSecret
],
'rule' => '',
'msg' => '',
'tip' => 'QQ小程序配置',
'ok' => '',
'extend' => ''
],
// 整体样式-------------------------------------------------------------------------------------------
[
'name' => 'style',
'title' => '样式配置',
'type' => 'array',
'value' => [
'category_style' => '4', // 类目风格
'find_bg_color' => '#f7f7f7', // 发现背景颜色
'find_bg_image' => '/assets/addons/wanlshop/img/find/top_bg.png', // 发现背景图片
'find_font_color' => 'light', // 发现状态栏前景色和字体颜色
'cart_nav_image' => '', // 购物车导航栏图片
'cart_nav_color' => '', // 购物车导航栏颜色
'cart_font_color' => '', // 购物车状态栏前景色和字体颜色
'user_nav_color' => '#ffeccc', // 用户导航栏颜色
'user_nav_image' => '/assets/addons/wanlshop/img/user/top_bg.png', // 用户导航栏图片
'user_bg_color' => '#ffeccc', // 用户背景颜色
'user_bg_image' => '/assets/addons/wanlshop/img/user/user_bg.png', // 用户背景图片
'user_font_color' => '' // 用户页状态栏前景色和字体颜色
],
'rule' => '',
'msg' => '',
'tip' => 'App样式配置',
'ok' => '',
'extend' => ''
],
// 动态配置-------------------------------------------------------------------------------------------
[
'name' => 'config',
'title' => '动态客户端配置',
'type' => 'array',
'value' => [
// 系统配置
'store_audit' => 'Y', //新店铺是否审核
'comment_switch' => 'Y', // 是否开启评论
// 帮助中心
'tel_phone' => '0775-12345678', //联系电话
'working_hours' => '09:00~22:00', //工作时间
//商家中心
'shop_document' => '', // 官方文档
'shop_qun' => '', // 商家交流群
// 文章ID
'user_agreement' => '153', // 用户协议
'privacy_protection' => '154', // 隐私保护
// 分类ID
'help_category' => '1', // 帮助中心类目ID
'new_category' => '2', // 头条新闻类目ID
'sys_category' => '4', // 系统消息类目ID
// 智能客服
'auth_reply' => '欢迎使用在线客服', //自动回复
'not_online' => '[汗] 非工作时间8:00-22:00 或客服繁忙!请稍后再试~', //未在线
'service_initial' => '您好 [微笑] 请用一句话简短描述问题~', //客服初始回复
// 微信小程序ID
'mp_weixin_id' => 'wx***************4b' //微信小程序ID
],
'rule' => '',
'msg' => '',
'tip' => 'App参数配置',
'ok' => '',
'extend' => ''
],
// 订单配置-------------------------------------------------------------------------------------------
[
'name' => 'order',
'title' => '订单配置',
'type' => 'array',
'value' => [
'cancel' => '3', // 取消未支付时间
'receiving' => '7', // 自动收货时间
'comment' => '7',
'customer' => '7', // 订单售后时间
'autoagree' => '3',
'returntime' => '7',
'receivingtime' => '7',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => ''
],
// 发现页管理
[
'name' => 'find',
'title' => '直播配置',
'type' => 'array',
'value' => [
'app_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'mp_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'h5_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
]
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => ''
],
// 阿里直播配置-------------------------------------------------------------------------------------------
[
'name' => 'live',
'title' => '直播配置',
'type' => 'array',
'value' => [
'liveDomain' => 'live.wanlshop.com', // 播域名
'pushDomain' => 'rtmp.wanlshop.com', // 推域名
'builderTime' => '60', // 有效时间分钟
'pushKey' => '0*****v', // 推秘钥
'liveKey' => 'l*****d', // 播秘钥
'liveCnd' => 'https://play.wanlshop.com', // 直播 OSS储存 CND地址
'appName' => 'wanlshop', // 直播项目
'transTemplate' => 'ld' // 转码模板
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => ''
],
// 提现配置
[
'name' => 'withdraw',
'title' => '提现配置',
'type' => 'array',
'value' => [
'state' => 'Y', // 是否开启提现
'minmoney' => 100, // 最低提现金额
'monthlimit' => 0, // 每月可提现次数
'servicefee' => 6 // 手续费(‰)
],
'rule' => '',
'msg' => '',
'tip' => '商城提现参数配置',
'ok' => '',
'extend' => ''
],
// 温馨提示
[
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'string',
'content' => array(),
'value' => '不需要此处配置任何参数,请在 [多用户商城] - [客户端管理]和[系统管理] 中管理配置',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
]
];
\ No newline at end of file
'name' => 'ini',
'title' => '客户端配置',
'type' => 'array',
'value' => [
'name' => '新零售商城',
'logo' => '/assets/addons/wanlshop/img/common/logo.png',
'copyright' => '2021 深圳前海万联科技有限公司',
'urlschemes' => 'wanlshop',
'package_name' => 'com.wanlian.www',
'cdnurl' => 'https://wanlshop.brofirst.cn/',
'appurl' => 'https://wanlshop.brofirst.cn/api',
'socketurl' => 'wss://chatwanlshop.brofirst.cn',
'debug' => 'N',
],
'rule' => '',
'msg' => '',
'tip' => '客户端参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_amap',
'title' => '高德地图SDK配置',
'type' => 'array',
'value' => [
'amapkey_web' => '0a9f67a6f8f7cc3315d30846a0fde88b',
'amapkey_ios' => 'd8b84cf540bcca9928db69b0119fc152',
'amapkey_android' => '6c3f7522aab215e0704225adaad9f73e',
],
'rule' => '',
'msg' => '',
'tip' => '高德地图SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_qq',
'title' => '腾讯开放SDK配置',
'type' => 'array',
'value' => [
'qq_appid' => '10******36',
'gz_appid' => 'wx******************e9',
'wx_appid' => 'wx******************88',
'wx_appsecret' => '22***************************cc',
'wx_universal_links' => 'https://wanlshop.com/',
'mch_id' => '16******75',
'key' => 'Hr***************************ew',
'notify_url' => '/wanlshop/callback/notify/type/wechat',
'pay_cert' => 0,
],
'rule' => '',
'msg' => '',
'tip' => '腾讯开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_alipay',
'title' => '支付宝SDK配置',
'type' => 'array',
'value' => [
'app_id' => '20************21',
'notify_url' => '/wanlshop/callback/notify/type/alipay',
'return_url' => '/wanlshop/callback/return/type/alipay',
'ali_public_key' => '',
'private_key' => '',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_weibo',
'title' => '微博开放SDK配置',
'type' => 'array',
'value' => [
'appkey' => '35********94',
'appsecret' => '0a********************************7f',
'redirect_uri' => '/wanlshop/callback/weibo',
],
'rule' => '',
'msg' => '',
'tip' => '微博开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'kuaidi',
'title' => '快递100 SDK',
'type' => 'array',
'value' => [
'secretKey' => 'gm********34',
'callbackUrl' => '/wanlshop/callback/kuaidi',
],
'rule' => '',
'msg' => '',
'tip' => '快递100 SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'h5',
'title' => 'H5客户端',
'type' => 'array',
'value' => [
'domain' => 'https://m.wanlshop.com',
'title' => '新零售电商平台',
'router_mode' => 'hash',
'router_base' => './',
'https' => 'N',
'qqmap_key' => 'V3JBZ-C7Z36-BL7S6-M67TX-6WORS-2TBMN',
],
'rule' => '',
'msg' => '',
'tip' => 'H5客户端配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_weixin',
'title' => '微信小程序',
'type' => 'array',
'value' => [
'appid' => 'wx2ba05b0561157f0e',
'appsecret' => 'e59bef6853410d0897ef1e81c5597d68',
'scope_userLocation' => '演示定位能力',
],
'rule' => '',
'msg' => '',
'tip' => '微信小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_alipay',
'title' => '支付宝小程序',
'type' => 'array',
'value' => [
'appid' => '20**********76',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_baidu',
'title' => '百度小程序',
'type' => 'array',
'value' => [
'appid' => '',
'appsecret' => '',
],
'rule' => '',
'msg' => '',
'tip' => '百度小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_toutiao',
'title' => '头条小程序',
'type' => 'array',
'value' => [
'appid' => '',
'appsecret' => '',
],
'rule' => '',
'msg' => '',
'tip' => '头条小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_qq',
'title' => 'QQ小程序',
'type' => 'array',
'value' => [
'appid' => '11*****49',
'appsecret' => 'EV***************HX',
],
'rule' => '',
'msg' => '',
'tip' => 'QQ小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'style',
'title' => '样式配置',
'type' => 'array',
'value' => [
'category_style' => '4',
'find_bg_color' => '#f7f7f7',
'find_bg_image' => '/assets/addons/wanlshop/img/find/top_bg.png',
'find_font_color' => 'light',
'cart_nav_image' => '',
'cart_nav_color' => '',
'cart_font_color' => '',
'user_nav_color' => '#ffeccc',
'user_nav_image' => '/assets/addons/wanlshop/img/user/top_bg.png',
'user_bg_color' => '#ffeccc',
'user_bg_image' => '/assets/addons/wanlshop/img/user/user_bg.png',
'user_font_color' => '',
],
'rule' => '',
'msg' => '',
'tip' => 'App样式配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'config',
'title' => '动态客户端配置',
'type' => 'array',
'value' => [
'store_audit' => 'Y',
'comment_switch' => 'Y',
'tel_phone' => '0775-12345678',
'working_hours' => '09:00~22:00',
'shop_document' => '',
'shop_qun' => '',
'user_agreement' => '153',
'privacy_protection' => '154',
'help_category' => '1',
'new_category' => '2',
'sys_category' => '4',
'auth_reply' => '欢迎使用在线客服',
'not_online' => '[汗] 非工作时间8:00-22:00 或客服繁忙!请稍后再试~',
'service_initial' => '您好 [微笑] 请用一句话简短描述问题~',
'mp_weixin_id' => 'wx***************4b',
],
'rule' => '',
'msg' => '',
'tip' => 'App参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'order',
'title' => '订单配置',
'type' => 'array',
'value' => [
'cancel' => '3',
'receiving' => '7',
'comment' => '7',
'customer' => '7',
'autoagree' => '3',
'returntime' => '7',
'receivingtime' => '7',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'find',
'title' => '直播配置',
'type' => 'array',
'value' => [
'app_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'mp_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
'h5_switch' => [
'all' => 'all',
'new' => 'new',
'live' => 'live',
'want' => 'want',
'show' => 'show',
],
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'live',
'title' => '直播配置',
'type' => 'array',
'value' => [
'liveDomain' => 'live.wanlshop.com',
'pushDomain' => 'rtmp.wanlshop.com',
'builderTime' => '60',
'pushKey' => '0*****v',
'liveKey' => 'l*****d',
'liveCnd' => 'https://play.wanlshop.com',
'appName' => 'wanlshop',
'transTemplate' => 'ld',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'withdraw',
'title' => '提现配置',
'type' => 'array',
'value' => [
'state' => 'Y',
'minmoney' => 100,
'monthlimit' => 0,
'servicefee' => 6,
],
'rule' => '',
'msg' => '',
'tip' => '商城提现参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'string',
'content' => [],
'value' => '不需要此处配置任何参数,请在 [多用户商城] - [客户端管理]和[系统管理] 中管理配置',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
];
... ...
... ... @@ -11,19 +11,14 @@
*
* @ 相关文档 https://doc.fastadmin.net/wanlshop/265.html
*
* @version 1.0.3
* @version 1.0.2
*/
// @ 重要提示:你可以看到此页面!!!
// 则证明操作不正确,请先【客户端配置】完成配置 【点击更新】再【生成源码】
// 请参考文档
export default {
socketurl: 'wss://chat.wanlshop.com', //如果是ws:// 地址为ws://你服务器IP:7272 如 ws://123.4.56.78:7272,使用wss 后面不需要添加 :7272 端口
cdnurl: 'https://stc.wanlshop.com',
appurl: 'https://api.wanlshop.com', //如二级域名:https://api.wanlshop.com 或不使用二级域名 https://www.wanlshop.com/api
socketurl: 'wss://chatwanlshop.brofirst.cn', //如果是ws:// 地址为ws://你服务器IP:7272 如 ws://123.4.56.78:7272,使用wss 后面不需要添加 :7272 端口
cdnurl: 'https://wanlshop.brofirst.cn/',
appurl: 'https://wanlshop.brofirst.cn/api', //如二级域名:https://api.wanlshop.com 或不使用二级域名 https://www.wanlshop.com/api
amapkey: '0a9f67a6f8f7cc3315d30846a0fde88b',
versionName: '1.0.3',
versionCode: '103',
versionName: '1.0.7',
versionCode: '107',
debug: false
}
}
\ No newline at end of file
... ...
{
"name" : "新零售商城",
"appid" : "__UNI__WANLSHOP",
"description" : "© 深圳前海万联科技有限公司",
"versionName" : "1.0.7",
"versionCode" : 107,
"transformPx" : false,
/* 5+App特有相关 */
"app-plus" : {
"usingComponents" : true,
"nvueCompiler" : "uni-app",
"splashscreen" : {
"alwaysShowBeforeRender" : false,
"waiting" : false,
"autoclose" : false,
"delay" : 0
},
"modules" : {
"Payment" : {},
"Push" : {},
"Share" : {},
"Speech" : {},
"VideoPlayer" : {},
"LivePusher" : {},
"OAuth" : {},
"Maps" : {},
"Webview-x5" : {}
},
/* 应用发布信息 */
"distribute" : {
/* android打包配置 1.0.3升级 热更新 添加权限REQUEST_INSTALL_PACKAGES 同时修改了 targetSdkVersion 26 以适配 Android 9.0 */
"android" : {
"packagename": "com.wanlian.www",
"permissions" : [
"<uses-feature android:name=\"android.hardware.camera\"/>",
"<uses-feature android:name=\"android.hardware.camera.autofocus\"/>",
"<uses-permission android:name=\"android.permission.INSTALL_PACKAGES\"/>",
"<uses-permission android:name=\"android.permission.REQUEST_INSTALL_PACKAGES\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_COARSE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_FINE_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_MOCK_LOCATION\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.ACCESS_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.CALL_PHONE\"/>",
"<uses-permission android:name=\"android.permission.CAMERA\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_NETWORK_STATE\"/>",
"<uses-permission android:name=\"android.permission.CHANGE_WIFI_STATE\"/>",
"<uses-permission android:name=\"android.permission.FLASHLIGHT\"/>",
"<uses-permission android:name=\"android.permission.GET_ACCOUNTS\"/>",
"<uses-permission android:name=\"android.permission.GET_TASKS\"/>",
"<uses-permission android:name=\"android.permission.INTERNET\"/>",
"<uses-permission android:name=\"android.permission.MODIFY_AUDIO_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.MOUNT_UNMOUNT_FILESYSTEMS\"/>",
"<uses-permission android:name=\"android.permission.READ_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.READ_LOGS\"/>",
"<uses-permission android:name=\"android.permission.READ_PHONE_STATE\"/>",
"<uses-permission android:name=\"android.permission.RECEIVE_BOOT_COMPLETED\"/>",
"<uses-permission android:name=\"android.permission.RECORD_AUDIO\"/>",
"<uses-permission android:name=\"android.permission.SYSTEM_ALERT_WINDOW\"/>",
"<uses-permission android:name=\"android.permission.VIBRATE\"/>",
"<uses-permission android:name=\"android.permission.WAKE_LOCK\"/>",
"<uses-permission android:name=\"android.permission.WRITE_CONTACTS\"/>",
"<uses-permission android:name=\"android.permission.WRITE_EXTERNAL_STORAGE\"/>",
"<uses-permission android:name=\"android.permission.WRITE_SETTINGS\"/>",
"<uses-permission android:name=\"android.permission.RECEIVE_USER_PRESENT\"/>"
],
"targetSdkVersion" : "26",
"schemes" : "wanlshop",
"abiFilters" : [ "armeabi-v7a", "arm64-v8a" ]
},
/* ios打包配置 */
"ios" : {
"appid": "com.wanlian.www",
"UIBackgroundModes" : [ "audio" ],
"urlschemewhitelist" : [ "baidumap", "iosamap" ],
"idfa" : false,
"urltypes" : "wanlshop"
},
/* SDK配置 */
"sdkConfigs" : {
"speech" : {
"ifly" : {}
},
"ad" : {},
"payment" : {
"weixin" : {
"appid" : "wx******************88",
"UniversalLinks" : "https://wanlshop.com/"
},
"appleiap" : {},
"alipay" : {}
},
"push" : {
"unipush" : {}
},
"oauth" : {
"apple" : {},
"weixin" : {
"appid" : "wx******************88",
"appsecret" : "22***************************cc",
"UniversalLinks" : "https://wanlshop.com/"
},
"qq" : {
"appid" : "10******36"
},
"sina" : {
"appkey" : "35********94",
"appsecret" : "0a********************************7f",
"redirect_uri" : "/wanlshop/callback/weibo"
}
},
"share" : {
"weixin" : {
"appid" : "wx******************88",
"UniversalLinks" : "https://wanlshop.com/"
},
"qq" : {
"appid" : "10******36"
}
},
"maps" : {
"amap" : {
"appkey_ios" : "d8b84cf540bcca9928db69b0119fc152",
"appkey_android" : "6c3f7522aab215e0704225adaad9f73e"
}
}
},
"orientation" : [ "portrait-primary" ],
"splashscreen" : {
"android" : {
"hdpi" : "",
"xxhdpi" : "",
"xhdpi" : ""
},
"ios" : {
"iphone" : {
"portrait-896h@3x" : "",
"landscape-896h@3x" : ""
}
},
"androidStyle" : "common",
"iosStyle" : "common"
},
"icons" : {
"android" : {
"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" : "unpackage/res/icons/1024x1024.png",
"ipad" : {
"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" : "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"
}
}
}
},
/* 不使用原生占位 http://ask.dcloud.net.cn/article/35564 */
"safearea" : {
"bottom" : {
"offset" : "none"
}
},
"compilerVersion" : 3,
"nvueLaunchMode" : "fast",
"uniStatistics" : {
"enable" : false
}
},
/* 快应用特有相关 */
"quickapp" : {},
/* 小程序特有相关 */
"mp-weixin" : {
"appid" : "wx2ba05b0561157f0e",
"setting" : {
"urlCheck" : true,
"es6" : true,
"minified" : true,
"postcss" : true
},
"usingComponents" : true,
"permission" : {
"scope.userLocation" : {
"desc" : "演示定位能力"
}
},
"uniStatistics" : {
"enable" : false
}
},
"mp-qq" : {
"appid" : "11*****49",
"uniStatistics" : {
"enable" : true
},
"setting" : {
"es6" : true,
"postcss" : true,
"minified" : true,
"urlCheck" : true
},
"permission" : {
"scope.userLocation" : {
"desc" : "商城需要获取当前位置,查询附近商品和完善购物地址"
}
}
},
"mp-alipay" : {
"usingComponents" : true,
"appid" : "20**********76",
"uniStatistics" : {
"enable" : true
}
},
"mp-baidu" : {
"usingComponents" : true,
"appid" : "",
"uniStatistics" : {
"enable" : true
}
},
"mp-toutiao" : {
"usingComponents" : true,
"appid" : "",
"uniStatistics" : {
"enable" : true
}
},
"h5" : {
"template" : "template.h5.html",
"router" : {
"mode" : "hash",
"base" : "./"
},
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "V3JBZ-C7Z36-BL7S6-M67TX-6WORS-2TBMN"
}
}
},
"domain" : "https://m.wanlshop.com",
"optimization" : {
"treeShaking" : {
"enable" : true
}
},
"title" : "新零售电商平台",
"uniStatistics" : {
"enable" : false
},
"devServer" : {
"https" : false
}
},
"uniStatistics" : {
"enable" : false
}
}
... ...