汪总电商平台
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
wangzong/addons/wanlshop/config.php

555 lines
16 KiB

<?php
return [
[
'name' => 'ini',
'title' => '客户端配置',
'type' => 'array',
'value' => [
'name' => '汪总小程序',
'logo' => '/uploads/20241111/f50cf0a2311a389c6caa0360cfe5d109.png',
'guide_logo' => '/uploads/20241111/830b0339bbc25d4f4e85802fcab6e4c1.png',
'copyright' => '南京仁舟网络科技有限公司',
'appid' => '__UNI__APPID',
'urlschemes' => '',
'package_name' => 'cn.njrenzhou.stationery',
'cdnurl' => 'https://stationery.njrenzhou.cn',
'appurl' => 'https://stationery.njrenzhou.cn/api',
'socketurl' => 'wss://stationery.njrenzhou.cn',
'debug' => 'N',
],
'rule' => '',
'msg' => '',
'tip' => '客户端参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_amap',
'title' => '高德地图SDK配置',
'type' => 'array',
'value' => [
'amapkey_web' => '',
'amapkey_ios' => '',
'amapkey_android' => '',
],
'rule' => '',
'msg' => '',
'tip' => '高德地图SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_qq',
'title' => '腾讯开放SDK配置',
'type' => 'array',
'value' => [
'qq_appid' => '',
'gz_appid' => '',
'gz_secret' => '',
'gz_token' => '',
'gz_aeskey' => '',
'gz_debug' => '0',
'gz_loglevel' => 'debug',
'gz_callback' => '/wanlshop/user/third',
'gz_notify_url' => '/wanlshop/callback/notify/type/jssdk',
'wx_appid' => '',
'wx_appsecret' => '',
'wx_universal_links' => 'https://example.com/',
'mch_id' => '',
'key' => '',
'notify_url' => '/wanlshop/callback/notify/type/wechat',
'cert_client' => '/addons/wanlshop/certs/apiclient_cert.pem',
'cert_key' => '/addons/wanlshop/certs/apiclient_key.pem',
],
'rule' => '',
'msg' => '',
'tip' => '腾讯开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_alipay',
'title' => '支付宝SDK配置',
'type' => 'array',
'value' => [
'app_id' => '',
'notify_url' => '/wanlshop/callback/notify/type/alipay',
'return_url' => '/wanlshop/callback/return/type/alipay',
'private_key' => '',
'ali_public_key' => '/addons/wanlshop/certs/alipayCertPublicKey.crt',
'app_cert_public_key' => '/addons/wanlshop/certs/appCertPublicKey.crt',
'alipay_root_cert' => '/addons/wanlshop/certs/alipayRootCert.crt',
],
'rule' => '',
'msg' => '',
'tip' => '支付宝SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'sdk_weibo',
'title' => '微博开放SDK配置',
'type' => 'array',
'value' => [
'appkey' => '',
'appsecret' => '',
'redirect_uri' => '/wanlshop/callback/weibo',
],
'rule' => '',
'msg' => '',
'tip' => '微博开放SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'kuaidi',
'title' => '快递100 SDK',
'type' => 'array',
'value' => [
'secretKey' => '',
'callbackUrl' => '/wanlshop/callback/kuaidi',
],
'rule' => '',
'msg' => '',
'tip' => '快递100 SDK参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'h5',
'title' => 'H5客户端',
'type' => 'array',
'value' => [
'domain' => 'https://m.example.com',
'title' => '',
'router_mode' => 'hash',
'router_base' => './',
'https' => 'N',
'qqmap_key' => '',
],
'rule' => '',
'msg' => '',
'tip' => 'H5客户端配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_weixin',
'title' => '微信小程序',
'type' => 'array',
'value' => [
'appid' => 'wxaf307a1646477313',
'appsecret' => 'a8cc1d46fddc1162d788fc089ec56034',
'scope_userLocation' => '演示定位能力',
],
'rule' => '',
'msg' => '',
'tip' => '微信小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'mp_alipay',
'title' => '支付宝小程序',
'type' => 'array',
'value' => [
'appid' => '',
],
'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' => '',
'appsecret' => '',
],
'rule' => '',
'msg' => '',
'tip' => 'QQ小程序配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'style',
'title' => '样式配置',
'type' => 'array',
'value' => [
'category_style' => '4',
'find_nav_color' => '#ff4632',
'find_font_color' => 'light',
'cart_nav_image' => '',
'cart_nav_color' => '',
'cart_font_color' => '',
'groups_nav_image' => '/assets/addons/wanlshop/img/show/grueps-top-bg3x.png',
'groups_nav_color' => '#fed295',
'groups_font_color' => 'dark',
'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' => 'dark',
],
'rule' => '',
'msg' => '',
'tip' => 'App样式配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'config',
'title' => '动态客户端配置',
'type' => 'array',
'value' => [
'store_audit' => 'Y',
'refund_switch' => 'N',
'comment_switch' => 'Y',
'service_logo' => '/assets/addons/wanlshop/img/common/mine_def_touxiang_3x.png',
'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',
'poster_width' => '680',
'poster_background' => '#ffffff',
'poster_image' => '/assets/addons/wanlshop/img/page/article-default.png',
'poster_qrcode' => '2',
'poster_env' => 'release',
'poster_title' => '我发现了一个很好的商城',
'poster_title_color' => '#000000',
'poster_details' => '默认分享描述详情',
'poster_price_color' => '#fe6600',
'poster_user' => '新零售商城',
'poster_viewDetails' => '长按或扫描识别二维码',
'poster_original_color' => '#828282',
'auth_reply' => '欢迎使用在线客服',
'not_online' => '[汗] 非工作时间8:00-22:00 或客服繁忙!请稍后再试~',
'service_initial' => '您好 [微笑] 请用一句话简短描述问题~',
'mp_weixin_id' => '',
'versionCode' => '119',
],
'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' => [
'new' => 'new',
'live' => 'live',
'video' => 'video',
'want' => 'want',
'show' => 'show',
],
'mp_switch' => [
'new' => 'new',
'live' => 'live',
'video' => 'video',
'want' => 'want',
'show' => 'show',
],
'h5_switch' => [
'new' => 'new',
'live' => 'live',
'video' => 'video',
'want' => 'want',
'show' => 'show',
],
'wechat_switch' => [
'new' => 'new',
'live' => 'live',
'video' => 'video',
'want' => 'want',
'show' => 'show',
],
'personalExamine_switch' => 'Y',
'allExamine_switch' => 'Y',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'live',
'title' => '直播配置',
'type' => 'array',
'value' => [
'sslSwitch' => 'Y',
'transTemplateSwitch' => 'Y',
'authSwitch' => 'Y',
'liveDomain' => 'live.example.com',
'liveKey' => '',
'liveCnd' => 'play.example.com',
'pushDomain' => 'rtmp.example.com',
'pushKey' => '',
'builderTime' => '60',
'appName' => 'appname',
'transTemplate' => 'ld',
],
'rule' => '',
'msg' => '',
'tip' => '订单参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'video',
'title' => '视频配置',
'type' => 'array',
'value' => [
'accessKeyId' => '',
'accessKeySecret' => '',
'workflowId' => '',
'privateKey' => '',
'regionId' => 'cn-shanghai',
],
'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' => 'redis',
'title' => 'Redis配置',
'type' => 'array',
'value' => [
'host' => '127.0.0.1',
'port' => '6379',
'password' => '',
'select' => '0',
'timeout' => '0',
'persistent' => 'Y',
],
'rule' => '',
'msg' => '',
'tip' => 'Redis参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'captcha',
'title' => '人机验证配置',
'type' => 'array',
'value' => [
'captcha_switch' => 'N',
'captchaService' => 'php',
'nodePath' => 'node',
'canvasSize' => '480',
'seKey' => 'WSnDlShWoFp',
'errorAccuracy' => '10',
'captchaUseMaxNum' => '3',
'randomPoint' => '200',
'randomLine' => '50',
'randomBlock' => '3',
'captchaUseMaxTime' => '3600',
'checkTimeOut' => '600',
'dragInterval' => '200',
'dragTimeMin' => '500',
'dragTimeMax' => '10000',
'oneCapErrNum' => '3',
'ipDayAll' => '300',
'ipDayError' => '100',
'ipHourAll' => '100',
'ipHourError' => '30',
],
'rule' => '',
'msg' => '',
'tip' => '人机验证参数配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'moneyRedpocket',
'title' => '红包与人民币兑换比例配置',
'type' => 'array',
'value' => [
'money' => 1,
'redpocket' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '人机验证参数配置红包与人民币兑换比例配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'vipbili',
'title' => '会员比例配置',
'type' => 'array',
'value' => [
'freeuser' => 1,
'vipuser' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '会员比例配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'zhuli',
'title' => '助理订单配置',
'type' => 'array',
'value' => [
'hours' => 1,
'givered' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '助理订单配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'tuiguang',
'title' => '推广活动配置',
'type' => 'array',
'value' => [
'freegivered' => 1,
'vipgivered' => 1,
'vipgivemoney' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '推广活动配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'fapiao',
'title' => '发票兑换比例',
'type' => 'array',
'value' => [
'givered' => '2',
'studentBXred' => '2',
'studentBXmoney' => '2',
],
'rule' => '',
'msg' => '',
'tip' => '发票兑换比例',
'ok' => '',
'extend' => '',
],
[
'name' => 'watchvideo',
'title' => '观看公益课堂比例配置',
'type' => 'array',
'value' => [
'givered' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '观看公益课堂比例配置',
'ok' => '',
'extend' => '',
],
[
'name' => 'vippayconfig',
'title' => '观看公益课堂比例配置',
'type' => 'array',
'value' => [
'money' => 0.01,
'givered' => 1,
],
'rule' => '',
'msg' => '',
'tip' => '观看公益课堂比例配置',
'ok' => '',
'extend' => '',
],
[
'name' => '__tips__',
'title' => '温馨提示',
'type' => 'string',
'content' => [],
'value' => '不需要此处配置任何参数,请在 [多用户商城] - [客户端管理]和[系统管理] 中管理配置',
'rule' => '',
'msg' => '',
'tip' => '',
'ok' => '',
'extend' => '',
],
];