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

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

Loading…
Cancel
Save