Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
YOHOBUYPC
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
2
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hf
9 years ago
Commit
33cf5056c82666c3da596ab435d06d983b26a299
1 parent
e252a68f
do merge develop code to fixes bugs and add home test multi uid
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
9 deletions
yohobuy/m.yohobuy.com/application/controllers/Home.php
yohobuy/m.yohobuy.com/configs/application.preview.ini
yohobuy/m.yohobuy.com/configs/routes.index.ini
yohobuy/m.yohobuy.com/application/controllers/Home.php
View file @
33cf505
...
...
@@ -14,7 +14,6 @@ use Index\UserModel as UserModel;
* @package
* @copyright yoho.inc
* @version 1.0 (2015-10-28 16:28:32)
* @author fei.hong <fei.hong@yoho.cn>
*/
class
HomeController
extends
AbstractAction
{
...
...
yohobuy/m.yohobuy.com/configs/application.preview.ini
View file @
33cf505
...
...
@@ -33,12 +33,12 @@ application.debug = False
application.servers.config
=
APPLICATION_PATH "/configs/core"
;出错的时候是否抛出异常
application.dispatcher.throwException
=
Fals
e
application.dispatcher.throwException
=
Tru
e
;是否使用默认的异常 捕获Controller, 如果开启, 在有未捕获的异常的时候,
;控制权会交给ErrorController的errorAction 方法,
;可以通过$request->getException()获得此异常对象
application.dispatcher.catchException
=
Fals
e
application.dispatcher.catchException
=
Tru
e
;模板预编译目录,该目录需要有读写权限
application.template.compile
=
ROOT_PATH "/compile/m.yohobuy.com"
...
...
yohobuy/m.yohobuy.com/configs/routes.index.ini
View file @
33cf505
...
...
@@ -126,10 +126,10 @@ routes.product.route.action = Index
routes.product.map.1
=
productId
routes.product.map.2
=
goodsId
routes.buy.type
=
"regex"
routes.buy.match
=
"#/product/intro_([0-9]+)/(.*).html#"
routes.buy.route.module
=
Product
routes.buy.route.controller
=
Detail
routes.buy.route.action
=
Intro
routes.buy.map.1
=
productSkn
routes.productintro.type
=
"regex"
routes.productintro.match
=
"#/product/intro_([0-9]+)/(.*).html#"
routes.productintro.route.module
=
Product
routes.productintro.route.controller
=
Detail
routes.productintro.route.action
=
Intro
routes.productintro.map.1
=
productSkn
...
...
Please
register
or
login
to post a comment