Your Name 6 months ago
parent 00c1032162
commit 86e66c11fc
  1. 4
      addons/alioss/config.php
  2. 4
      addons/shopro/controller/Index.php

@ -207,7 +207,7 @@ return [
'title' => 'API接口使用云存储', 'title' => 'API接口使用云存储',
'type' => 'bool', 'type' => 'bool',
'content' => [], 'content' => [],
'value' => '1', 'value' => '0',
'rule' => 'required', 'rule' => 'required',
'msg' => '', 'msg' => '',
'tip' => '', 'tip' => '',
@ -223,7 +223,7 @@ return [
'index' => '前台', 'index' => '前台',
'admin' => '后台', 'admin' => '后台',
], ],
'value' => 'api,index,admin', 'value' => 'admin',
'rule' => '', 'rule' => '',
'msg' => '', 'msg' => '',
'tip' => '', 'tip' => '',

@ -60,7 +60,8 @@ class Index extends Common
'app' => [ 'app' => [
'name' => $shopConfig['name'], 'name' => $shopConfig['name'],
'logo' => $shopConfig['logo'], 'logo' => $shopConfig['logo'],
'cdnurl' => cdnurl('', true), // 'cdnurl' => cdnurl('', true),
'cdnurl' => $this->request->domain(),
'version' => $shopConfig['version'], 'version' => $shopConfig['version'],
'user_protocol' => $shopConfig['user_protocol'], 'user_protocol' => $shopConfig['user_protocol'],
'privacy_protocol' => $shopConfig['privacy_protocol'], 'privacy_protocol' => $shopConfig['privacy_protocol'],
@ -74,6 +75,7 @@ class Index extends Common
'payment' => $platformConfig['payment']['methods'], 'payment' => $platformConfig['payment']['methods'],
'recharge_payment' => sheep_config('shop.recharge_withdraw.recharge.methods'), // 充值支持的支付方式 'recharge_payment' => sheep_config('shop.recharge_withdraw.recharge.methods'), // 充值支持的支付方式
'share' => $platformConfig['share'], 'share' => $platformConfig['share'],
'wechat_auth_login' => false
], ],
'template' => $template, 'template' => $template,
'chat' => $chatConfig 'chat' => $chatConfig

Loading…
Cancel
Save