Merge branch 'develop' of http://git.dev.yoho.cn/web/yohobuy.git into develop
Showing
6 changed files
with
316 additions
and
161 deletions
docs/WEB组一号文件.md
0 → 100644
1 | +# WEB组一号文件 | ||
2 | + | ||
3 | +## 亲们,请统一编程风格! (PHP) | ||
4 | +======================= | ||
5 | +> <?php | ||
6 | + | ||
7 | +> class Yoho | ||
8 | + | ||
9 | +> { | ||
10 | + | ||
11 | +> public static function callApi($param) | ||
12 | + | ||
13 | +> { | ||
14 | + | ||
15 | +> if (true) { | ||
16 | + | ||
17 | +> // comment | ||
18 | + | ||
19 | +> echo 'Tab is space 4'; | ||
20 | + | ||
21 | +> } | ||
22 | + | ||
23 | +> } | ||
24 | + | ||
25 | +> } | ||
26 | + | ||
27 | + | ||
28 | +* 推荐在编辑器中针对项目设置好 | ||
29 | +* 注意花括号的位置 | ||
30 | +* 注意TAB键缩进设置为4个空格 | ||
31 | +* 注意类、方法、变量的命名,请使用驼峰式 如“YohoBuy” | ||
32 | +* 请仔细阅读<http://git.dev.yoho.cn/web/yohobuy/blob/develop/docs/PHP%E9%AB%98%E6%95%88%E7%BC%96%E7%A0%81%E6%8A%80%E5%B7%A7.doc> | ||
33 | + | ||
34 | +## 亲们,请写代码注释! | ||
35 | +========================= | ||
36 | + | ||
37 | +* 重要或复杂的业务逻辑代码中必须附有注释描述说明 | ||
38 | + | ||
39 | +## 亲们,请做代码评审! | ||
40 | +========================= | ||
41 | + | ||
42 | +* 代码推送到远程主干之前,必须经过其他同事帮你审查! 只有审查通过后才允许推送到远程. | ||
43 | + | ||
44 | +场景1: 小A 完成一个功能, 需要合并到远程主干,找小B 帮他审查代码,小B发现 小A 代码里有好多缺陷, | ||
45 | +需要提出来,让小A修改. (小A不修改,不允许帮他合并到主干) | ||
46 | + | ||
47 | +场景2: 小C 完成一个功能, 需要合并到远程主干,找小D 帮他审查代码,小D 发现 小C 代码写得很不错,都懂了, | ||
48 | +这时小D 可以把代码合并到主干,小D 需要 写上code review by 小D: 代码相关的描述内容 (合并到远程之后,小C 和 小D 需要对这个功能负责! ) | ||
49 | + | ||
50 | +场景3: 小C 代码已合并到主干,突然间发现还有一个需要改进的地方需要调整,则检出主干代码, 再修改, | ||
51 | +修改好之后请找同事帮助审查! 不要直接推远程,只有审查通过才可以推送到主干! | ||
52 | + | ||
53 | +## 重要特点 | ||
54 | +* 该文件 自 2016年1月1日起,WEB组 开始实施! | ||
55 | + | ||
56 | +1. PHP代码不按 统一的编程风格 编写的,发现后 请主动向组长 王欢宝 塞 5个1元硬币, 作为 WEB组 日常经费 | ||
57 | + | ||
58 | +2. JS代码有验证不通过代码推到远程主干的,发现后 请主动向组长 徐祁 塞 5个1元硬币, 作为 WEB组 日常经费 | ||
59 | + | ||
60 | +3. 王欢宝 和 徐祁 代码有不符合规范的,请主动向架构师 梁志锋 塞 10个1元硬币, 作为 WEB组 日常经费 | ||
61 | + | ||
62 | +4. 架构师 梁志锋 不定期对大家代码审查,发现没有注明审查者的,推送在远程的代码作者,需要向 梁志锋 塞 10个1元硬币, 作为 WEB组 日常经费 | ||
63 | + | ||
64 | +5. 主干分支上 一个功能中出现3个及以上严重致命问题的,一经发现,代码作者及审查者 请主动向 梁志锋、王欢宝、徐祁 各塞 10个1元硬币, 作为 WEB组 日常经费 |
1 | -<?php | ||
2 | - | ||
3 | -namespace LibModels\Web\Product; | ||
4 | - | ||
5 | -use Api\Yohobuy; | ||
6 | -use Api\Sign; | ||
7 | - | ||
8 | -/** | ||
9 | - * 品牌数据接口操作类 | ||
10 | - * | ||
11 | - * @name BrandData | ||
12 | - * @package Library/LibModels/wap/Category | ||
13 | - * @copyright yoho.inc | ||
14 | - * @version 1.0 (2015-10-10) | ||
15 | - * @author gtskk <rocky.zhang@yoho.cn> | ||
16 | - */ | ||
17 | -class BrandData | ||
18 | -{ | ||
19 | - | ||
20 | - const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get'; | ||
21 | - const URL_BRAND_LOGO = '/shops/service/v1/brand'; | ||
22 | - | ||
23 | - /** | ||
24 | - * 获取品牌介绍 | ||
25 | - * | ||
26 | - * @param integer $brandId 品牌ID | ||
27 | - * @param int 用户ID | ||
28 | - * @return array 品牌介绍信息 | ||
29 | - */ | ||
30 | - public static function getBrandIntro($brandId, $uid) | ||
31 | - { | ||
32 | - // 构建必传参数 | ||
33 | - $param = Yohobuy::param(); | ||
34 | - $param['brand_id'] = $brandId; | ||
35 | - $param['uid'] = '10267443'; | ||
36 | - $param['method'] = 'app.brand.getBrandIntro'; | ||
37 | - $param['client_secret'] = Sign::getSign($param); | ||
38 | - | ||
39 | - $cache = empty($uid) ? 3600 : false; | ||
40 | - | ||
41 | - return Yohobuy::get(Yohobuy::API_URL, $param, $cache); // 有缓存1小时 | ||
42 | - } | ||
43 | - | ||
44 | - /** | ||
45 | - * 获取品牌banner数据 | ||
46 | - * @param integer $brandId 品牌ID | ||
47 | - * @return array banner数据 | ||
48 | - */ | ||
49 | - public static function getBrandBanner($brandId) | ||
50 | - { | ||
51 | - // 构建必传参数 | ||
52 | - $param = Yohobuy::param(); | ||
53 | - $param['brand_id'] = $brandId; | ||
54 | - $param['method'] = 'app.brand.banner'; | ||
55 | - $param['client_secret'] = Sign::getSign($param); | ||
56 | - | ||
57 | - return Yohobuy::get(Yohobuy::API_URL, $param, 3600); // 有缓存1小时 | ||
58 | - } | ||
59 | - | ||
60 | - /** | ||
61 | - * 获取品牌介绍信息 | ||
62 | - * | ||
63 | - * @param int $id 品牌id | ||
64 | - * @return array | ||
65 | - */ | ||
66 | - public static function getBrandLogo($id) | ||
67 | - { | ||
68 | - return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByids', array($id )); | ||
69 | - } | ||
70 | - | ||
71 | - /** | ||
72 | - * 通过域名获取品牌LOGO信息 | ||
73 | - * | ||
74 | - * @param int $domain 品牌domain | ||
75 | - * @return array | ||
76 | - */ | ||
77 | - public static function getBrandLogoByDomain($domain) | ||
78 | - { | ||
79 | - return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByDomain', array($domain )); | ||
80 | - } | ||
81 | - | ||
82 | -} | 1 | +<?php |
2 | + | ||
3 | +namespace LibModels\Web\Product; | ||
4 | + | ||
5 | +use Api\Yohobuy; | ||
6 | +use Api\Sign; | ||
7 | + | ||
8 | +/** | ||
9 | + * 品牌数据接口操作类 | ||
10 | + * | ||
11 | + * @name BrandData | ||
12 | + * @package Library/LibModels/wap/Category | ||
13 | + * @copyright yoho.inc | ||
14 | + * @version 1.0 (2015-10-10) | ||
15 | + * @author gtskk <rocky.zhang@yoho.cn> | ||
16 | + */ | ||
17 | +class BrandData | ||
18 | +{ | ||
19 | + | ||
20 | + const URI_BRAND_TOPPOS = 'operations/api/v5/resource/get'; | ||
21 | + const URL_BRAND_LOGO = '/shops/service/v1/brand'; | ||
22 | + | ||
23 | + /** | ||
24 | + * 获取品牌介绍 | ||
25 | + * | ||
26 | + * @param integer $brandId 品牌ID | ||
27 | + * @param int 用户ID | ||
28 | + * @return array 品牌介绍信息 | ||
29 | + */ | ||
30 | + public static function getBrandIntro($brandId, $uid) | ||
31 | + { | ||
32 | + // 构建必传参数 | ||
33 | + $param = Yohobuy::param(); | ||
34 | + $param['brand_id'] = $brandId; | ||
35 | + $param['uid'] = '10267443'; | ||
36 | + $param['method'] = 'app.brand.getBrandIntro'; | ||
37 | + $param['client_secret'] = Sign::getSign($param); | ||
38 | + | ||
39 | + $cache = empty($uid) ? 3600 : false; | ||
40 | + | ||
41 | + return Yohobuy::get(Yohobuy::API_URL, $param, $cache); // 有缓存1小时 | ||
42 | + } | ||
43 | + | ||
44 | + /** | ||
45 | + * 获取品牌banner数据 | ||
46 | + * @param integer $brandId 品牌ID | ||
47 | + * @return array banner数据 | ||
48 | + */ | ||
49 | + public static function getBrandBanner($brandId) | ||
50 | + { | ||
51 | + // 构建必传参数 | ||
52 | + $param = Yohobuy::param(); | ||
53 | + $param['brand_id'] = $brandId; | ||
54 | + $param['method'] = 'app.brand.banner'; | ||
55 | + $param['client_secret'] = Sign::getSign($param); | ||
56 | + | ||
57 | + return Yohobuy::get(Yohobuy::API_URL, $param, 3600); // 有缓存1小时 | ||
58 | + } | ||
59 | + | ||
60 | + /** | ||
61 | + * 获取品牌介绍信息 | ||
62 | + * | ||
63 | + * @param int $id 品牌id | ||
64 | + * @return array | ||
65 | + */ | ||
66 | + public static function getBrandLogo($id) | ||
67 | + { | ||
68 | + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByids', array($id )); | ||
69 | + } | ||
70 | + | ||
71 | + /** | ||
72 | + * 通过域名获取品牌LOGO信息 | ||
73 | + * | ||
74 | + * @param int $domain 品牌domain | ||
75 | + * @return array | ||
76 | + */ | ||
77 | + public static function getBrandLogoByDomain($domain) | ||
78 | + { | ||
79 | + return Yohobuy::yarClient(Yohobuy::SERVICE_URL . self::URL_BRAND_LOGO, 'getBrandByDomain', array($domain )); | ||
80 | + } | ||
81 | + | ||
82 | +} |
1 | -<?php | ||
2 | -use Action\WebAction; | ||
3 | -class IndexController extends WebAction | ||
4 | -{ | ||
5 | - public function indexAction() | ||
6 | - { | ||
7 | - echo 'hello'; | ||
8 | - exit(); | ||
9 | - } | 1 | +<<<<<<< HEAD |
2 | +<?php | ||
3 | +use Action\WebAction; | ||
4 | +class IndexController extends WebAction | ||
5 | +{ | ||
6 | + public function indexAction() | ||
7 | + { | ||
8 | + echo 'hello'; | ||
9 | + exit(); | ||
10 | + } | ||
11 | +======= | ||
12 | +<?php | ||
13 | +use Action\WebAction; | ||
14 | +class IndexController extends WebAction | ||
15 | +{ | ||
16 | + public function indexAction() | ||
17 | + { | ||
18 | + echo 'hello'; | ||
19 | + exit(); | ||
20 | + } | ||
21 | +>>>>>>> 687eb8491b398c6ab714411b3c1bc0cf3c4ccbe8 | ||
10 | } | 22 | } |
1 | -[common] | ||
2 | -;;默认项目 | ||
3 | -application.directory = APPLICATION_PATH "/application" | ||
4 | -;;website library | ||
5 | -application.library = ROOT_PATH "/library" | ||
6 | -;;模块配置 | ||
7 | -application.modules = "Index,Product,Passport,Order" | ||
8 | -;;加载 | ||
9 | -application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" | ||
10 | -;;view文件的扩展名 | ||
11 | -application.view.ext = "phtml" | ||
12 | -;;默认layouts | ||
13 | -application.layout.path = APPLICATION_PATH "/application/layouts" | ||
14 | -;;layouts 默认文件 | ||
15 | -application.layout.default = "default" | ||
16 | -;;默认Controller | ||
17 | -application.dispatcher.defaultController = "index" | ||
18 | -;;默认Action | ||
19 | -application.dispatcher.defaultAction = "index" | ||
20 | - | ||
21 | -;;初始化命名空间 | ||
22 | -application.namespaces = "Action,Api,Configs,LibModels,Plugin" | ||
23 | - | ||
24 | -;;使用composer | ||
25 | -composer.autoload = 0 | ||
26 | -composer.path = APPLICATION_PATH "/library/Package" | ||
27 | - | ||
28 | -yaf.use_namespace = 1 | ||
29 | - | ||
30 | -;;调试模式 | ||
31 | -[developer : common] | ||
32 | -application.debug = True | ||
33 | -application.servers.config = APPLICATION_PATH "/configs/core" | ||
34 | - | ||
35 | -;出错的时候是否抛出异常 | ||
36 | -application.dispatcher.throwException = True | ||
37 | - | ||
38 | -;是否使用默认的异常 捕获Controller, 如果开启, 在有未捕获的异常的时候, | ||
39 | -;控制权会交给ErrorController的errorAction 方法, | ||
40 | -;可以通过$request->getException()获得此异常对象 False | ||
41 | -application.dispatcher.catchException = True | ||
42 | - | ||
43 | -;模板预编译目录,该目录需要有读写权限 | ||
44 | -application.template.compile = ROOT_PATH "/compile/www.yohobuy.com" | ||
45 | -application.template.path = ROOT_PATH "/template/www.yohobuy.com/actions" | ||
46 | -application.template.partials = ROOT_PATH "/template/www.yohobuy.com/partials" | ||
47 | -application.template.ext = ".phtml" | ||
48 | - | ||
49 | -;静态HTML页面的存放目录, 该目录需要有读写权限 | ||
50 | -application.assets.path = ROOT_PATH "/assets" | ||
51 | - | ||
52 | -; 应用的版本号 | ||
53 | -application.version = "0.0.1" | ||
54 | - | ||
55 | -; 网站SEO信息 | ||
56 | -application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | ||
57 | -application.seo.keywords = "Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款" | ||
58 | -application.seo.description = "YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。" | 1 | +<<<<<<< HEAD |
2 | +[common] | ||
3 | +;;默认项目 | ||
4 | +application.directory = APPLICATION_PATH "/application" | ||
5 | +;;website library | ||
6 | +application.library = ROOT_PATH "/library" | ||
7 | +;;模块配置 | ||
8 | +application.modules = "Index,Product,Passport,Order" | ||
9 | +;;加载 | ||
10 | +application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" | ||
11 | +;;view文件的扩展名 | ||
12 | +application.view.ext = "phtml" | ||
13 | +;;默认layouts | ||
14 | +application.layout.path = APPLICATION_PATH "/application/layouts" | ||
15 | +;;layouts 默认文件 | ||
16 | +application.layout.default = "default" | ||
17 | +;;默认Controller | ||
18 | +application.dispatcher.defaultController = "index" | ||
19 | +;;默认Action | ||
20 | +application.dispatcher.defaultAction = "index" | ||
21 | + | ||
22 | +;;初始化命名空间 | ||
23 | +application.namespaces = "Action,Api,Configs,LibModels,Plugin" | ||
24 | + | ||
25 | +;;使用composer | ||
26 | +composer.autoload = 0 | ||
27 | +composer.path = APPLICATION_PATH "/library/Package" | ||
28 | + | ||
29 | +yaf.use_namespace = 1 | ||
30 | + | ||
31 | +;;调试模式 | ||
32 | +[developer : common] | ||
33 | +application.debug = True | ||
34 | +application.servers.config = APPLICATION_PATH "/configs/core" | ||
35 | + | ||
36 | +;出错的时候是否抛出异常 | ||
37 | +application.dispatcher.throwException = True | ||
38 | + | ||
39 | +;是否使用默认的异常 捕获Controller, 如果开启, 在有未捕获的异常的时候, | ||
40 | +;控制权会交给ErrorController的errorAction 方法, | ||
41 | +;可以通过$request->getException()获得此异常对象 False | ||
42 | +application.dispatcher.catchException = True | ||
43 | + | ||
44 | +;模板预编译目录,该目录需要有读写权限 | ||
45 | +application.template.compile = ROOT_PATH "/compile/www.yohobuy.com" | ||
46 | +application.template.path = ROOT_PATH "/template/www.yohobuy.com/actions" | ||
47 | +application.template.partials = ROOT_PATH "/template/www.yohobuy.com/partials" | ||
48 | +application.template.ext = ".phtml" | ||
49 | + | ||
50 | +;静态HTML页面的存放目录, 该目录需要有读写权限 | ||
51 | +application.assets.path = ROOT_PATH "/assets" | ||
52 | + | ||
53 | +; 应用的版本号 | ||
54 | +application.version = "0.0.1" | ||
55 | + | ||
56 | +; 网站SEO信息 | ||
57 | +application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | ||
58 | +application.seo.keywords = "Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款" | ||
59 | +application.seo.description = "YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。" | ||
60 | +======= | ||
61 | +[common] | ||
62 | +;;默认项目 | ||
63 | +application.directory = APPLICATION_PATH "/application" | ||
64 | +;;website library | ||
65 | +application.library = ROOT_PATH "/library" | ||
66 | +;;模块配置 | ||
67 | +application.modules = "Index,Product,Passport,Order" | ||
68 | +;;加载 | ||
69 | +application.bootstrap = APPLICATION_PATH "/application/Bootstrap.php" | ||
70 | +;;view文件的扩展名 | ||
71 | +application.view.ext = "phtml" | ||
72 | +;;默认layouts | ||
73 | +application.layout.path = APPLICATION_PATH "/application/layouts" | ||
74 | +;;layouts 默认文件 | ||
75 | +application.layout.default = "default" | ||
76 | +;;默认Controller | ||
77 | +application.dispatcher.defaultController = "index" | ||
78 | +;;默认Action | ||
79 | +application.dispatcher.defaultAction = "index" | ||
80 | + | ||
81 | +;;初始化命名空间 | ||
82 | +application.namespaces = "Action,Api,Configs,LibModels,Plugin" | ||
83 | + | ||
84 | +;;使用composer | ||
85 | +composer.autoload = 0 | ||
86 | +composer.path = APPLICATION_PATH "/library/Package" | ||
87 | + | ||
88 | +yaf.use_namespace = 1 | ||
89 | + | ||
90 | +;;调试模式 | ||
91 | +[developer : common] | ||
92 | +application.debug = True | ||
93 | +application.servers.config = APPLICATION_PATH "/configs/core" | ||
94 | + | ||
95 | +;出错的时候是否抛出异常 | ||
96 | +application.dispatcher.throwException = True | ||
97 | + | ||
98 | +;是否使用默认的异常 捕获Controller, 如果开启, 在有未捕获的异常的时候, | ||
99 | +;控制权会交给ErrorController的errorAction 方法, | ||
100 | +;可以通过$request->getException()获得此异常对象 False | ||
101 | +application.dispatcher.catchException = True | ||
102 | + | ||
103 | +;模板预编译目录,该目录需要有读写权限 | ||
104 | +application.template.compile = ROOT_PATH "/compile/www.yohobuy.com" | ||
105 | +application.template.path = ROOT_PATH "/template/www.yohobuy.com/actions" | ||
106 | +application.template.partials = ROOT_PATH "/template/www.yohobuy.com/partials" | ||
107 | +application.template.ext = ".phtml" | ||
108 | + | ||
109 | +;静态HTML页面的存放目录, 该目录需要有读写权限 | ||
110 | +application.assets.path = ROOT_PATH "/assets" | ||
111 | + | ||
112 | +; 应用的版本号 | ||
113 | +application.version = "0.0.1" | ||
114 | + | ||
115 | +; 网站SEO信息 | ||
116 | +application.seo.title = "Yoho!Buy有货 | 潮流购物逛不停" | ||
117 | +application.seo.keywords = "Yoho! 有货官网,潮流志,潮流男装,潮牌,美国潮牌,日本潮牌,香港潮牌,潮牌店,新品首发,欧美潮流,全球购,代购,时尚,流行,特卖,B2C,正品,购物网站,网上购物,货到付款" | ||
118 | +application.seo.description = "YOHO! 有货,年轻人潮流购物中心,中国最大的潮流商品购物网站。100%品牌正品保证,支持货到付款。作为YOHO!旗下的购物平台,汇集了全球潮流时尚商品和中国最流行的商品,也是国内最大的原创文化商品平台,也是香港,台湾地区流行商品的集中地。同时包含日本、韩国等众多国外潮流品牌,带给您全新潮流购物体验。" | ||
119 | +>>>>>>> 687eb8491b398c6ab714411b3c1bc0cf3c4ccbe8 |
1 | -[memcached] | ||
2 | -master.hosts = 192.168.102.161:11213 | ||
3 | -slave.hosts = 192.168.102.161:11213 | ||
4 | -session.hosts = 192.168.102.161:11213 | ||
5 | - | ||
6 | -[redis] | 1 | +<<<<<<< HEAD |
2 | +[memcached] | ||
3 | +master.hosts = 192.168.102.161:11213 | ||
4 | +slave.hosts = 192.168.102.161:11213 | ||
5 | +session.hosts = 192.168.102.161:11213 | ||
6 | + | ||
7 | +[redis] | ||
8 | +======= | ||
9 | +[memcached] | ||
10 | +master.hosts = 192.168.102.161:11213 | ||
11 | +slave.hosts = 192.168.102.161:11213 | ||
12 | +session.hosts = 192.168.102.161:11213 | ||
13 | + | ||
14 | +[redis] | ||
15 | +>>>>>>> 687eb8491b398c6ab714411b3c1bc0cf3c4ccbe8 | ||
7 | servers.hosts = 192.168.1.168:6379 | 16 | servers.hosts = 192.168.1.168:6379 |
1 | -;woman首页 | ||
2 | -routes.productsale.type = "rewrite" | ||
3 | -routes.productsale.match = "/woman" | ||
4 | -routes.productsale.route.module = Index | ||
5 | -routes.productsale.route.controller = Girls | ||
6 | -routes.productsale.route.action = index | 1 | +<<<<<<< HEAD |
2 | +;woman首页 | ||
3 | +routes.productsale.type = "rewrite" | ||
4 | +routes.productsale.match = "/woman" | ||
5 | +routes.productsale.route.module = Index | ||
6 | +routes.productsale.route.controller = Girls | ||
7 | +routes.productsale.route.action = index | ||
8 | +======= | ||
9 | +;woman首页 | ||
10 | +routes.productsale.type = "rewrite" | ||
11 | +routes.productsale.match = "/woman" | ||
12 | +routes.productsale.route.module = Index | ||
13 | +routes.productsale.route.controller = Girls | ||
14 | +routes.productsale.route.action = index | ||
15 | +>>>>>>> 687eb8491b398c6ab714411b3c1bc0cf3c4ccbe8 |
-
Please register or login to post a comment