Authored by 梁志锋

升级到0.0.26版本

@@ -162,7 +162,7 @@ class TemplateLayout implements View_Interface @@ -162,7 +162,7 @@ class TemplateLayout implements View_Interface
162 $template = file_get_contents($viewName, false, null); 162 $template = file_get_contents($viewName, false, null);
163 $phpStr = LightnCandy::compile($template, array( 163 $phpStr = LightnCandy::compile($template, array(
164 // DEBUG: LightnCandy::FLAG_RENDER_DEBUG | LightnCandy::FLAG_ERROR_EXCEPTION 164 // DEBUG: LightnCandy::FLAG_RENDER_DEBUG | LightnCandy::FLAG_ERROR_EXCEPTION
165 - 'flags' => LightnCandy::FLAG_RENDER_DEBUG | LightnCandy::FLAG_ERROR_EXCEPTION | LightnCandy::FLAG_MUSTACHE | LightnCandy::FLAG_HANDLEBARS, // 使用MUSTACHE和HANDLEBARS的模板格式 165 + 'flags' => LightnCandy::FLAG_MUSTACHE | LightnCandy::FLAG_HANDLEBARS, // 使用MUSTACHE和HANDLEBARS的模板格式
166 'basedir' => array($config->template->partials), // 模板里使用 {{> partial_name}} 时查找的目录 166 'basedir' => array($config->template->partials), // 模板里使用 {{> partial_name}} 时查找的目录
167 'fileext' => array($tplExt), // 允许查找文件的后缀 167 'fileext' => array($tplExt), // 允许查找文件的后缀
168 'lcrun' => 'Plugin\LCRun3', // 指定编译模板的runtime 168 'lcrun' => 'Plugin\LCRun3', // 指定编译模板的runtime
1 { 1 {
2 "name": "web-yohobuy", 2 "name": "web-yohobuy",
3 - "version": "0.0.25", 3 + "version": "0.0.26",
4 "description": "web yohobuy static", 4 "description": "web yohobuy static",
5 "keywords": [], 5 "keywords": [],
6 "homepage": "", 6 "homepage": "",
@@ -58,7 +58,7 @@ class SearchModel @@ -58,7 +58,7 @@ class SearchModel
58 } 58 }
59 // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存 59 // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存
60 else { 60 else {
61 - Cache::set($key, $result, 600); // 缓存10分钟 61 + Cache::set($key, $result, 300); // 缓存5分钟
62 } 62 }
63 } 63 }
64 64
@@ -116,7 +116,7 @@ class SearchModel @@ -116,7 +116,7 @@ class SearchModel
116 } 116 }
117 // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存 117 // 接口调用正常,数据封装完成, 则设置一级(master)和二级(slave)数据缓存
118 else { 118 else {
119 - Cache::set($key, $result, 600); // 缓存10分钟 119 + Cache::set($key, $result, 300); // 缓存5分钟
120 } 120 }
121 } 121 }
122 122
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.24" 53 +application.version = "0.0.26"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.25" 53 +application.version = "0.0.26"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.25" 53 +application.version = "0.0.26"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"
@@ -50,7 +50,7 @@ application.template.ext = ".phtml" @@ -50,7 +50,7 @@ application.template.ext = ".phtml"
50 application.assets.path = ROOT_PATH "/assets/web" 50 application.assets.path = ROOT_PATH "/assets/web"
51 51
52 ; 应用的版本号 52 ; 应用的版本号
53 -application.version = "0.0.25" 53 +application.version = "0.0.26"
54 54
55 ; 网站SEO信息 55 ; 网站SEO信息
56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证" 56 application.seo.title = "YOHO!有货 | 年轻人潮流购物中心,中国潮流购物风向标,官方授权正品保证"