Authored by Rock Zhang

Merge branch 'develop' of git.dev.yoho.cn:web/yohobuy into develop

@@ -39,12 +39,12 @@ class Cache @@ -39,12 +39,12 @@ class Cache
39 // WINDOWS 39 // WINDOWS
40 if (DIRECTORY_SEPARATOR === '\\') { 40 if (DIRECTORY_SEPARATOR === '\\') {
41 HoodCache::Memcache('master')->set(self::makeKey($key, 'master'), $value, $expire); 41 HoodCache::Memcache('master')->set(self::makeKey($key, 'master'), $value, $expire);
42 - HoodCache::Memcache('slave')->set(self::makeKey($key, 'slave'), $value, 0); 42 + HoodCache::Memcache('slave')->set(self::makeKey($key, 'slave'), $value, 86400); // 二级缓存1天
43 } 43 }
44 // LINUX 44 // LINUX
45 else { 45 else {
46 HoodCache::Memcached('master')->set(self::makeKey($key, 'master'), $value, $expire); 46 HoodCache::Memcached('master')->set(self::makeKey($key, 'master'), $value, $expire);
47 - HoodCache::Memcached('slave')->set(self::makeKey($key, 'slave'), $value, 0); 47 + HoodCache::Memcached('slave')->set(self::makeKey($key, 'slave'), $value, 86400); // 二级缓存1天
48 } 48 }
49 } catch (Exception $e) { 49 } catch (Exception $e) {
50 // do nothing 50 // do nothing
1 { 1 {
2 "name": "yohobuy", 2 "name": "yohobuy",
3 - "version": "0.0.9", 3 + "version": "1.0.5",
4 "description": "yohobuy statics", 4 "description": "yohobuy statics",
5 "keywords": [], 5 "keywords": [],
6 "homepage": "", 6 "homepage": "",
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets" 50 application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.9" 53 +application.version = "1.0.5"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货" 56 application.seo.title = "Yoho!Buy有货"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets" 50 application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.9" 53 +application.version = "1.0.5"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货" 56 application.seo.title = "Yoho!Buy有货"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets" 50 application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.9" 53 +application.version = "1.0.5"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货" 56 application.seo.title = "Yoho!Buy有货"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets" 50 application.assets.path = ROOT_PATH "/assets"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.9" 53 +application.version = "1.0.5"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "Yoho!Buy有货" 56 application.seo.title = "Yoho!Buy有货"