Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into feature/web-list
Showing
10 changed files
with
14 additions
and
15 deletions
1 | <?php | 1 | <?php |
2 | -namespace WebPlugin\DataProcess\WebChannel; | 2 | +namespace WebPlugin\DataProcess; |
3 | 3 | ||
4 | class Channel | 4 | class Channel |
5 | { | 5 | { |
6 | 6 | ||
7 | public static $formatChannel = array( | 7 | public static $formatChannel = array( |
8 | - 'boys' => '\WebPlugin\DataProcess\WebChannel\Channel\Boys', | ||
9 | - 'girls' => '\WebPlugin\DataProcess\WebChannel\Channel\Girls', | ||
10 | - 'kids' => '\WebPlugin\DataProcess\WebChannel\Channel\Kids', | ||
11 | - 'lifestyle' => '\WebPlugin\DataProcess\WebChannel\Channel\Lifestyle' | 8 | + 'boys' => '\WebPlugin\DataProcess\Channel\Boys', |
9 | + 'girls' => '\WebPlugin\DataProcess\Channel\Girls', | ||
10 | + 'kids' => '\WebPlugin\DataProcess\Channel\Kids', | ||
11 | + 'lifestyle' => '\WebPlugin\DataProcess\Channel\Lifestyle' | ||
12 | ); | 12 | ); |
13 | 13 | ||
14 | public static function getFormat($channel, $data) | 14 | public static function getFormat($channel, $data) |
@@ -7,7 +7,7 @@ use WebPlugin\Helpers; | @@ -7,7 +7,7 @@ use WebPlugin\Helpers; | ||
7 | use WebPlugin\Cache; | 7 | use WebPlugin\Cache; |
8 | use LibModels\Web\Home\IndexData; | 8 | use LibModels\Web\Home\IndexData; |
9 | use LibModels\Web\Product\SearchData; | 9 | use LibModels\Web\Product\SearchData; |
10 | -use WebPlugin\DataProcess\WebChannel\Channel as ChannelProcess; | 10 | +use WebPlugin\DataProcess\Channel as ChannelProcess; |
11 | 11 | ||
12 | /** | 12 | /** |
13 | * web首页模板数据模型 | 13 | * web首页模板数据模型 |
@@ -5,7 +5,7 @@ define('SITE_MAIN', 'http://web.dev.yohobuy.com'); // 网站主域名 | @@ -5,7 +5,7 @@ define('SITE_MAIN', 'http://web.dev.yohobuy.com'); // 网站主域名 | ||
5 | define('OLD_MAIN', 'http://www.yohobuy.com'); // 网站旧域名 | 5 | define('OLD_MAIN', 'http://www.yohobuy.com'); // 网站旧域名 |
6 | define('COOKIE_DOMAIN', '.yohobuy.com'); // COOKIE作用域 | 6 | define('COOKIE_DOMAIN', '.yohobuy.com'); // COOKIE作用域 |
7 | define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀 | 7 | define('SUB_DOMAIN', '.yohobuy.com'); // 子域名后缀 |
8 | -define('USE_CACHE', true); // 缓存的开关 | 8 | +define('USE_CACHE', false); // 缓存的开关 |
9 | define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 | 9 | define('APPLICATION_PATH', dirname(__DIR__)); // 应用目录 |
10 | define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录 | 10 | define('ROOT_PATH', dirname(dirname(APPLICATION_PATH))); // 根目录 |
11 | defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); | 11 | defined('APPLICATION_ENV') || define('APPLICATION_ENV', 'developer'); |
-
Please register or login to post a comment