You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
14
hyhproject/common/conf/mobile/config.php
Executable file
14
hyhproject/common/conf/mobile/config.php
Executable file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
'exception_handle' => '\\wstmart\\common\\exception\\WstMoblieHttpException',
|
||||
];
|
25
hyhproject/common/conf/mobile/route.php
Executable file
25
hyhproject/common/conf/mobile/route.php
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
\think\Route::rule([
|
||||
'mselfshop'=>'mobile/shops/selfshop', //自营店铺
|
||||
'mbrands'=>'mobile/brands/index', //自营店铺
|
||||
'mstreet'=>'mobile/shops/shopstreet', //自营店铺
|
||||
'mlogin'=>'mobile/users/login', //用户登录
|
||||
'mregister'=>'mobile/users/toregister', //用户注册
|
||||
'mforget'=>'mobile/users/forgetpass', //找回密码
|
||||
'mgoods-<goodsId>'=>'mobile/goods/detail',
|
||||
'mshops-<shopId>'=>'mobile/shops/index',
|
||||
'mhshops-<shopId>'=>'mobile/shops/home',
|
||||
'mlist'=>'mobile/goods/lists',
|
||||
'mnews'=>'mobile/news/view',
|
||||
'mcategoty'=>'mobile/goodscats/index',
|
||||
'mshopgoods'=>'mobile/shops/shopgoodslist',
|
||||
]);
|
Reference in New Issue
Block a user