Authored by hf

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

Showing 46 changed files with 509 additions and 106 deletions
@@ -38,7 +38,7 @@ @@ -38,7 +38,7 @@
38 { 38 {
39 textCn: '', 39 textCn: '',
40 textEn: '', 40 textEn: '',
41 - styleClass: 'boys', //boys,girls,kids,life,new,guang 41 + icon: '', //boys,girls,kids,life,new,guang 等图标的url地址
42 url: '', 42 url: '',
43 //子菜单 43 //子菜单
44 subNav: { 44 subNav: {
@@ -142,6 +142,44 @@ class AbstractAction extends Controller_Abstract @@ -142,6 +142,44 @@ class AbstractAction extends Controller_Abstract
142 } 142 }
143 143
144 /** 144 /**
  145 + * 设置Cookie
  146 + *
  147 + * @param string $name cookie的名字
  148 + * @param string $value cookie的值
  149 + * @param integer $expire cookie过期时间
  150 + * @param integer $path cookie可用的路径
  151 + * @param string $domain cookie可用域名
  152 + */
  153 + protected function setCookie($name, $value, $expire = 0, $path = '/',$domain = 'yohobuy.com')
  154 + {
  155 + setcookie('alipay_redirect', $value, $expire, $path, $domain);
  156 + }
  157 +
  158 + /**
  159 + * 返回Cookie变量
  160 + *
  161 + * @param string $name cookie名称
  162 + * @param string $default 未获取到返回的默认值
  163 + * @return string 获取到的cookie值
  164 + */
  165 + protected function getCookie($name, $default = '')
  166 + {
  167 + return $this->request->getCookie($name, $default);
  168 + }
  169 +
  170 + /**
  171 + * 返回顶部软件下载有关数据
  172 + * @return array 下载有关数据
  173 + */
  174 + protected function getHeaderDownload()
  175 + {
  176 + return array(
  177 + 'img' => 'http://img11.static.yhbimg.com/adpic/2015/02/28/18/01d83bfad41c8fca8fd1ad334216d7d733.jpg?imageView/2/w/640/h/480',
  178 + 'url' => 'http://www.baidu.com'
  179 + );
  180 + }
  181 +
  182 + /*
145 * 设置网站SEO的标题 183 * 设置网站SEO的标题
146 * 184 *
147 * @param string $title 标题 185 * @param string $title 标题
@@ -3,7 +3,6 @@ namespace LibModels\Wap\Home; @@ -3,7 +3,6 @@ namespace LibModels\Wap\Home;
3 3
4 use Api\Yohobuy; 4 use Api\Yohobuy;
5 use Api\Sign; 5 use Api\Sign;
6 -use Plugin\Helpers;  
7 6
8 /** 7 /**
9 * 首页数据接口操作类 8 * 首页数据接口操作类
@@ -378,3 +378,203 @@ @@ -378,3 +378,203 @@
378 172.16.6.248 - - [13/Oct/2015:16:33:28 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 378 172.16.6.248 - - [13/Oct/2015:16:33:28 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
379 172.16.6.248 - - [13/Oct/2015:16:33:28 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 379 172.16.6.248 - - [13/Oct/2015:16:33:28 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
380 127.0.0.1 - - [13/Oct/2015:16:33:28 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53" 380 127.0.0.1 - - [13/Oct/2015:16:33:28 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  381 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /css/index.css HTTP/1.1" 200 36732 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  382 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /img/passport/yoho.png?1444358578 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  383 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /img/passport/alipay.png?1444358578 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  384 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /img/passport/weibo.png?1444358578 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  385 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /img/passport/qq.png?1444358578 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  386 +172.16.6.158 - - [13/Oct/2015:16:49:02 +0800] "GET /img/passport/info.png?1444358578 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  387 +172.16.6.158 - - [13/Oct/2015:16:49:32 +0800] "-" 400 0 "-" "-"
  388 +172.16.6.158 - - [13/Oct/2015:16:49:32 +0800] "-" 400 0 "-" "-"
  389 +172.16.6.158 - - [13/Oct/2015:16:49:32 +0800] "-" 400 0 "-" "-"
  390 +172.16.6.158 - - [13/Oct/2015:17:10:36 +0800] "-" 400 0 "-" "-"
  391 +172.16.6.158 - - [13/Oct/2015:17:10:36 +0800] "-" 400 0 "-" "-"
  392 +172.16.6.158 - - [13/Oct/2015:17:10:51 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/interational" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  393 +172.16.6.158 - - [13/Oct/2015:17:11:11 +0800] "-" 400 0 "-" "-"
  394 +172.16.6.158 - - [13/Oct/2015:17:12:11 +0800] "-" 400 0 "-" "-"
  395 +172.16.6.158 - - [13/Oct/2015:17:12:11 +0800] "-" 400 0 "-" "-"
  396 +127.0.0.1 - - [13/Oct/2015:17:16:47 +0800] "GET /girls HTTP/1.1" 200 8465 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  397 +172.16.6.248 - - [13/Oct/2015:17:16:47 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  398 +127.0.0.1 - - [13/Oct/2015:17:16:47 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  399 +127.0.0.1 - - [13/Oct/2015:17:17:01 +0800] "GET /passport/login/index HTTP/1.1" 200 3217 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  400 +127.0.0.1 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/go-back.png HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  401 +127.0.0.1 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/yoho-family.png HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/index" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  402 +172.16.6.248 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/yoho.png?1444358578 HTTP/1.1" 304 0 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  403 +172.16.6.248 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/alipay.png?1444358578 HTTP/1.1" 304 0 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  404 +172.16.6.248 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/weibo.png?1444358578 HTTP/1.1" 304 0 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  405 +172.16.6.248 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/qq.png?1444358578 HTTP/1.1" 304 0 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  406 +172.16.6.248 - - [13/Oct/2015:17:17:01 +0800] "GET /img/passport/info.png?1444358578 HTTP/1.1" 304 0 "http://172.16.6.248:8088/css/index.css" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  407 +127.0.0.1 - - [13/Oct/2015:17:17:11 +0800] "-" 400 0 "-" "-"
  408 +127.0.0.1 - - [13/Oct/2015:17:17:58 +0800] "GET /girls HTTP/1.1" 200 8465 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  409 +172.16.6.248 - - [13/Oct/2015:17:18:11 +0800] "-" 400 0 "-" "-"
  410 +172.16.6.248 - - [13/Oct/2015:17:18:11 +0800] "-" 400 0 "-" "-"
  411 +127.0.0.1 - - [13/Oct/2015:17:18:11 +0800] "-" 400 0 "-" "-"
  412 +127.0.0.1 - - [13/Oct/2015:17:18:11 +0800] "-" 400 0 "-" "-"
  413 +127.0.0.1 - - [13/Oct/2015:17:18:11 +0800] "-" 400 0 "-" "-"
  414 +172.16.6.158 - - [13/Oct/2015:17:22:55 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/passport/login/interational" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  415 +127.0.0.1 - - [13/Oct/2015:17:24:58 +0800] "GET /girls HTTP/1.1" 200 8465 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  416 +127.0.0.1 - - [13/Oct/2015:17:28:15 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  417 +172.16.6.248 - - [13/Oct/2015:17:28:15 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  418 +127.0.0.1 - - [13/Oct/2015:17:28:15 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  419 +127.0.0.1 - - [13/Oct/2015:17:28:17 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  420 +172.16.6.248 - - [13/Oct/2015:17:28:17 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  421 +127.0.0.1 - - [13/Oct/2015:17:28:17 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  422 +127.0.0.1 - - [13/Oct/2015:17:28:35 +0800] "-" 400 0 "-" "-"
  423 +127.0.0.1 - - [13/Oct/2015:17:28:35 +0800] "-" 400 0 "-" "-"
  424 +127.0.0.1 - - [13/Oct/2015:17:29:57 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  425 +172.16.6.248 - - [13/Oct/2015:17:29:57 +0800] "GET /css/index.css HTTP/1.1" 200 38422 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  426 +172.16.6.248 - - [13/Oct/2015:17:29:57 +0800] "GET /img/app-logo.png?1441873709 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  427 +172.16.6.248 - - [13/Oct/2015:17:29:57 +0800] "GET /img/close-icon.png?1441873709 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  428 +127.0.0.1 - - [13/Oct/2015:17:29:57 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  429 +127.0.0.1 - - [13/Oct/2015:17:29:58 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  430 +172.16.6.248 - - [13/Oct/2015:17:29:58 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  431 +127.0.0.1 - - [13/Oct/2015:17:29:58 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  432 +127.0.0.1 - - [13/Oct/2015:17:29:58 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  433 +172.16.6.248 - - [13/Oct/2015:17:29:58 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  434 +127.0.0.1 - - [13/Oct/2015:17:29:58 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  435 +172.16.6.248 - - [13/Oct/2015:17:29:58 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  436 +127.0.0.1 - - [13/Oct/2015:17:29:58 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  437 +172.16.6.158 - - [13/Oct/2015:17:39:14 +0800] "GET /css/index.css HTTP/1.1" 200 38422 "http://m.dev.yohobuy.com/reg.html" "Mozilla/5.0 (iPhone; CPU iPhone OS 8_0 like Mac OS X) AppleWebKit/600.1.3 (KHTML, like Gecko) Version/8.0 Mobile/12A4345d Safari/600.1.4"
  438 +127.0.0.1 - - [13/Oct/2015:17:39:41 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  439 +172.16.6.248 - - [13/Oct/2015:17:39:41 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  440 +127.0.0.1 - - [13/Oct/2015:17:39:41 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  441 +127.0.0.1 - - [13/Oct/2015:17:39:42 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  442 +172.16.6.248 - - [13/Oct/2015:17:39:42 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  443 +127.0.0.1 - - [13/Oct/2015:17:39:42 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  444 +127.0.0.1 - - [13/Oct/2015:17:39:42 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  445 +172.16.6.248 - - [13/Oct/2015:17:39:42 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  446 +127.0.0.1 - - [13/Oct/2015:17:39:42 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  447 +127.0.0.1 - - [13/Oct/2015:17:39:42 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  448 +172.16.6.248 - - [13/Oct/2015:17:39:42 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  449 +127.0.0.1 - - [13/Oct/2015:17:40:12 +0800] "GET /girls HTTP/1.1" 200 8467 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  450 +172.16.6.248 - - [13/Oct/2015:17:40:12 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  451 +172.16.6.248 - - [13/Oct/2015:17:40:12 +0800] "GET /font/iconfont.woff?1444716801 HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  452 +127.0.0.1 - - [13/Oct/2015:17:40:12 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  453 +127.0.0.1 - - [13/Oct/2015:17:40:39 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  454 +172.16.6.248 - - [13/Oct/2015:17:40:39 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  455 +127.0.0.1 - - [13/Oct/2015:17:40:39 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  456 +127.0.0.1 - - [13/Oct/2015:17:43:12 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  457 +172.16.6.248 - - [13/Oct/2015:17:43:12 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  458 +127.0.0.1 - - [13/Oct/2015:17:43:12 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  459 +127.0.0.1 - - [13/Oct/2015:17:43:13 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  460 +172.16.6.248 - - [13/Oct/2015:17:43:13 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  461 +127.0.0.1 - - [13/Oct/2015:17:43:13 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  462 +127.0.0.1 - - [13/Oct/2015:17:44:29 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  463 +172.16.6.248 - - [13/Oct/2015:17:44:29 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  464 +127.0.0.1 - - [13/Oct/2015:17:44:29 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  465 +127.0.0.1 - - [13/Oct/2015:17:44:30 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  466 +172.16.6.248 - - [13/Oct/2015:17:44:30 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  467 +127.0.0.1 - - [13/Oct/2015:17:44:31 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  468 +127.0.0.1 - - [13/Oct/2015:17:44:31 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  469 +172.16.6.248 - - [13/Oct/2015:17:44:31 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  470 +127.0.0.1 - - [13/Oct/2015:17:44:31 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  471 +127.0.0.1 - - [13/Oct/2015:17:44:33 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  472 +172.16.6.248 - - [13/Oct/2015:17:44:33 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  473 +127.0.0.1 - - [13/Oct/2015:17:44:33 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  474 +127.0.0.1 - - [13/Oct/2015:17:45:40 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  475 +172.16.6.248 - - [13/Oct/2015:17:45:40 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  476 +127.0.0.1 - - [13/Oct/2015:17:45:40 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  477 +127.0.0.1 - - [13/Oct/2015:17:45:44 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  478 +172.16.6.248 - - [13/Oct/2015:17:45:44 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  479 +127.0.0.1 - - [13/Oct/2015:17:45:44 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  480 +127.0.0.1 - - [13/Oct/2015:17:45:46 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  481 +172.16.6.248 - - [13/Oct/2015:17:45:46 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  482 +127.0.0.1 - - [13/Oct/2015:17:45:46 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  483 +127.0.0.1 - - [13/Oct/2015:17:46:00 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  484 +172.16.6.248 - - [13/Oct/2015:17:46:00 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  485 +127.0.0.1 - - [13/Oct/2015:17:46:00 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  486 +127.0.0.1 - - [13/Oct/2015:17:46:02 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  487 +172.16.6.248 - - [13/Oct/2015:17:46:02 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  488 +127.0.0.1 - - [13/Oct/2015:17:46:02 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  489 +127.0.0.1 - - [13/Oct/2015:17:48:33 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  490 +172.16.6.248 - - [13/Oct/2015:17:48:34 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  491 +127.0.0.1 - - [13/Oct/2015:17:48:34 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  492 +127.0.0.1 - - [13/Oct/2015:17:48:35 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  493 +172.16.6.248 - - [13/Oct/2015:17:48:35 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  494 +127.0.0.1 - - [13/Oct/2015:17:48:35 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  495 +127.0.0.1 - - [13/Oct/2015:17:48:35 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  496 +172.16.6.248 - - [13/Oct/2015:17:48:35 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  497 +127.0.0.1 - - [13/Oct/2015:17:48:35 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  498 +172.16.6.248 - - [13/Oct/2015:17:48:36 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  499 +127.0.0.1 - - [13/Oct/2015:17:48:36 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  500 +127.0.0.1 - - [13/Oct/2015:17:48:36 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  501 +172.16.6.248 - - [13/Oct/2015:17:48:36 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  502 +127.0.0.1 - - [13/Oct/2015:17:49:06 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  503 +172.16.6.248 - - [13/Oct/2015:17:49:06 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  504 +127.0.0.1 - - [13/Oct/2015:17:49:06 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  505 +127.0.0.1 - - [13/Oct/2015:17:49:17 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  506 +172.16.6.248 - - [13/Oct/2015:17:49:17 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  507 +127.0.0.1 - - [13/Oct/2015:17:49:17 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  508 +127.0.0.1 - - [13/Oct/2015:17:52:33 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  509 +172.16.6.248 - - [13/Oct/2015:17:52:33 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  510 +127.0.0.1 - - [13/Oct/2015:17:52:33 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  511 +127.0.0.1 - - [13/Oct/2015:17:52:35 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  512 +172.16.6.248 - - [13/Oct/2015:17:52:35 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  513 +127.0.0.1 - - [13/Oct/2015:17:52:35 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  514 +127.0.0.1 - - [13/Oct/2015:17:52:36 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  515 +172.16.6.248 - - [13/Oct/2015:17:52:36 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  516 +127.0.0.1 - - [13/Oct/2015:17:52:36 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  517 +127.0.0.1 - - [13/Oct/2015:17:52:37 +0800] "GET /girls HTTP/1.1" 200 8228 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  518 +172.16.6.248 - - [13/Oct/2015:17:52:37 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  519 +127.0.0.1 - - [13/Oct/2015:17:52:37 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  520 +127.0.0.1 - - [13/Oct/2015:17:53:03 +0800] "GET /girls HTTP/1.1" 200 8266 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  521 +172.16.6.248 - - [13/Oct/2015:17:53:03 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  522 +127.0.0.1 - - [13/Oct/2015:17:53:03 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  523 +127.0.0.1 - - [13/Oct/2015:17:54:31 +0800] "GET /girls HTTP/1.1" 200 8259 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  524 +172.16.6.248 - - [13/Oct/2015:17:54:31 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  525 +127.0.0.1 - - [13/Oct/2015:17:54:31 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  526 +127.0.0.1 - - [13/Oct/2015:17:55:30 +0800] "GET /girls HTTP/1.1" 200 8241 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  527 +172.16.6.248 - - [13/Oct/2015:17:55:30 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  528 +127.0.0.1 - - [13/Oct/2015:17:55:30 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  529 +127.0.0.1 - - [13/Oct/2015:17:55:36 +0800] "GET /girls HTTP/1.1" 200 8259 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  530 +172.16.6.248 - - [13/Oct/2015:17:55:36 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  531 +127.0.0.1 - - [13/Oct/2015:17:55:37 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  532 +127.0.0.1 - - [13/Oct/2015:17:55:57 +0800] "GET /girls HTTP/1.1" 200 8259 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  533 +172.16.6.248 - - [13/Oct/2015:17:55:57 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  534 +127.0.0.1 - - [13/Oct/2015:17:55:57 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  535 +127.0.0.1 - - [13/Oct/2015:17:55:58 +0800] "GET /girls HTTP/1.1" 200 8259 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  536 +172.16.6.248 - - [13/Oct/2015:17:55:58 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  537 +127.0.0.1 - - [13/Oct/2015:17:55:58 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  538 +127.0.0.1 - - [13/Oct/2015:17:58:49 +0800] "GET /girls HTTP/1.1" 200 8261 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  539 +172.16.6.248 - - [13/Oct/2015:17:58:49 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  540 +127.0.0.1 - - [13/Oct/2015:17:58:49 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  541 +127.0.0.1 - - [13/Oct/2015:17:58:50 +0800] "GET /girls HTTP/1.1" 200 8261 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  542 +172.16.6.248 - - [13/Oct/2015:17:58:50 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  543 +127.0.0.1 - - [13/Oct/2015:17:58:50 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  544 +127.0.0.1 - - [13/Oct/2015:17:59:41 +0800] "GET /girls HTTP/1.1" 200 8261 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  545 +172.16.6.248 - - [13/Oct/2015:17:59:41 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  546 +127.0.0.1 - - [13/Oct/2015:17:59:41 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  547 +127.0.0.1 - - [13/Oct/2015:18:06:19 +0800] "GET /girls HTTP/1.1" 200 13020 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  548 +172.16.6.248 - - [13/Oct/2015:18:06:19 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  549 +127.0.0.1 - - [13/Oct/2015:18:06:19 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  550 +127.0.0.1 - - [13/Oct/2015:18:06:27 +0800] "GET /girls HTTP/1.1" 200 13020 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  551 +127.0.0.1 - - [13/Oct/2015:18:07:09 +0800] "GET /girls HTTP/1.1" 200 10598 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  552 +172.16.6.248 - - [13/Oct/2015:18:07:09 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  553 +127.0.0.1 - - [13/Oct/2015:18:07:09 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  554 +127.0.0.1 - - [13/Oct/2015:18:09:30 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  555 +172.16.6.248 - - [13/Oct/2015:18:09:30 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  556 +127.0.0.1 - - [13/Oct/2015:18:09:30 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  557 +127.0.0.1 - - [13/Oct/2015:18:09:33 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  558 +172.16.6.248 - - [13/Oct/2015:18:09:33 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  559 +127.0.0.1 - - [13/Oct/2015:18:09:33 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  560 +127.0.0.1 - - [13/Oct/2015:18:09:33 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  561 +172.16.6.248 - - [13/Oct/2015:18:09:33 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  562 +127.0.0.1 - - [13/Oct/2015:18:09:34 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  563 +127.0.0.1 - - [13/Oct/2015:18:09:34 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  564 +172.16.6.248 - - [13/Oct/2015:18:09:34 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  565 +127.0.0.1 - - [13/Oct/2015:18:09:34 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  566 +172.16.6.248 - - [13/Oct/2015:18:09:34 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  567 +127.0.0.1 - - [13/Oct/2015:18:09:34 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  568 +127.0.0.1 - - [13/Oct/2015:18:09:38 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  569 +172.16.6.248 - - [13/Oct/2015:18:09:38 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  570 +127.0.0.1 - - [13/Oct/2015:18:09:38 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  571 +127.0.0.1 - - [13/Oct/2015:18:09:38 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  572 +172.16.6.248 - - [13/Oct/2015:18:09:38 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  573 +127.0.0.1 - - [13/Oct/2015:18:09:38 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  574 +127.0.0.1 - - [13/Oct/2015:18:09:38 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  575 +172.16.6.248 - - [13/Oct/2015:18:09:38 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  576 +127.0.0.1 - - [13/Oct/2015:18:09:43 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  577 +172.16.6.248 - - [13/Oct/2015:18:09:43 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  578 +127.0.0.1 - - [13/Oct/2015:18:09:43 +0800] "GET /favicon.ico HTTP/1.1" 200 1150 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  579 +127.0.0.1 - - [13/Oct/2015:18:09:43 +0800] "GET /girls HTTP/1.1" 200 10538 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  580 +172.16.6.248 - - [13/Oct/2015:18:09:43 +0800] "GET /css/index.css HTTP/1.1" 304 0 "http://m.dev.yohobuy.com/girls" "Mozilla/5.0 (iPhone; CPU iPhone OS 7_0 like Mac OS X; en-us) AppleWebKit/537.51.1 (KHTML, like Gecko) Version/7.0 Mobile/11A465 Safari/9537.53"
  1 +/**
  2 + * 男首
  3 + * @author: liangzhifeng<zhifeng.liang@yoho.cn>
  4 + * @date: 2015/10/12
  5 + */
  6 + var $ = require('yoho.zepto'),
  7 + lazyLoad = require('yoho.lazyload');
  8 +
  9 +//Init LazyLoad
  10 +lazyLoad($('img.lazy'));
  1 +/**
  2 + * 女首
  3 + * @author: liangzhifeng<zhifeng.liang@yoho.cn>
  4 + * @date: 2015/10/12
  5 + */
  6 + var $ = require('yoho.zepto'),
  7 + lazyLoad = require('yoho.lazyload');
  8 +
  9 +//Init LazyLoad
  10 +lazyLoad($('img.lazy'));
@@ -6,7 +6,7 @@ @@ -6,7 +6,7 @@
6 var $ = require('yoho.zepto'); 6 var $ = require('yoho.zepto');
7 7
8 var $phoneNum = $('#phone-num'), 8 var $phoneNum = $('#phone-num'),
9 - $countrySelector = $('#country-selector'), 9 + $countrySelect = $('#country-select'),
10 $countryCode = $('#country-code'), 10 $countryCode = $('#country-code'),
11 $btnNext = $('#btn-next'); 11 $btnNext = $('#btn-next');
12 12
@@ -16,6 +16,8 @@ var tip = require('../../plugin/tip'); @@ -16,6 +16,8 @@ var tip = require('../../plugin/tip');
16 var trim = $.trim; 16 var trim = $.trim;
17 var showErrTip = tip.show; 17 var showErrTip = tip.show;
18 18
  19 +api.selectCssHack($('#country-select'));
  20 +
19 api.bindClearEvt(); 21 api.bindClearEvt();
20 22
21 $phoneNum.bind('input', function() { 23 $phoneNum.bind('input', function() {
@@ -26,25 +28,25 @@ $phoneNum.bind('input', function() { @@ -26,25 +28,25 @@ $phoneNum.bind('input', function() {
26 } 28 }
27 }); 29 });
28 30
29 -$countrySelector.change(function() {  
30 - $countryCode.text($countrySelector.val()); 31 +$countrySelect.change(function() {
  32 + $countryCode.text($countrySelect.val());
31 }); 33 });
32 34
33 $btnNext.on('touchstart', function() { 35 $btnNext.on('touchstart', function() {
34 var pn = trim($phoneNum.val()), 36 var pn = trim($phoneNum.val()),
35 - country = $countrySelector.val(); 37 + country = $countrySelect.val();
36 38
37 if ($btnNext.hasClass('disable')) { 39 if ($btnNext.hasClass('disable')) {
38 return; 40 return;
39 } 41 }
40 42
41 - if (api.phoneRegx.test(pn)) { 43 + if (api.phoneRegx[country].test(pn)) {
42 $.ajax({ 44 $.ajax({
43 url: '/passport/back/sendcode', 45 url: '/passport/back/sendcode',
44 type: 'POST', 46 type: 'POST',
45 data: { 47 data: {
46 - area: country.split('+')[1],  
47 - mobile: pn 48 + areaCode: country.split('+')[1],
  49 + phoneNum: pn
48 }, 50 },
49 success: function(data) { 51 success: function(data) {
50 if (data.code === 200) { 52 if (data.code === 200) {
@@ -14,6 +14,8 @@ var tip = require('../../plugin/tip'); @@ -14,6 +14,8 @@ var tip = require('../../plugin/tip');
14 var trim = $.trim; 14 var trim = $.trim;
15 var showErrTip = tip.show; 15 var showErrTip = tip.show;
16 16
  17 +var $phoneNum = $('#phone-num');
  18 +
17 api.bindEyesEvt(); 19 api.bindEyesEvt();
18 20
19 $pwd.bind('input', function() { 21 $pwd.bind('input', function() {
@@ -25,26 +27,52 @@ $pwd.bind('input', function() { @@ -25,26 +27,52 @@ $pwd.bind('input', function() {
25 }); 27 });
26 28
27 $btnOk.on('touchstart', function() { 29 $btnOk.on('touchstart', function() {
28 - var pwd = trim($pwd.val()); 30 + var pwd = trim($pwd.val()),
  31 + mobileBack = true,
  32 + setting,
  33 + url;
29 34
30 if ($btnOk.hasClass('disable')) { 35 if ($btnOk.hasClass('disable')) {
31 return; 36 return;
32 } 37 }
33 38
  39 + setting = {
  40 + password: pwd
  41 + };
  42 +
  43 + if ($phoneNum.length === 0) {
  44 + mobileBack = false;
  45 + }
  46 +
  47 + if (mobileBack) {
  48 + $.extend(setting, {
  49 + phoneNum: $phoneNum.val(),
  50 + areaCode: $('#areaCode').val(),
  51 + token: $('#token').val()
  52 + });
  53 +
  54 + url = '/passport/back/passwordByMobile';
  55 + } else {
  56 + $.extend(setting, {
  57 + code: $('#email-code').val()
  58 + });
  59 +
  60 + url = '/passport/back/passwordByEmail';
  61 + }
  62 +
  63 +
34 if (api.pwdValidate(pwd)) { 64 if (api.pwdValidate(pwd)) {
35 $.ajax({ 65 $.ajax({
36 type: 'POST', 66 type: 'POST',
37 - url: '/passport/back/update',  
38 - data: {  
39 - password: pwd  
40 - }, 67 + url: url,
  68 + data: setting,
41 success: function(data) { 69 success: function(data) {
42 if (data.code === 200) { 70 if (data.code === 200) {
43 showErrTip('密码修改成功'); 71 showErrTip('密码修改成功');
44 72
45 //1000ms后跳转页面 73 //1000ms后跳转页面
46 setTimeout(function() { 74 setTimeout(function() {
47 - location.href = '/'; 75 + location.href = data.data;
48 }, 1000); 76 }, 1000);
49 } else { 77 } else {
50 showErrTip(data.message); 78 showErrTip(data.message);
@@ -8,7 +8,9 @@ var $ = require('yoho.zepto'); @@ -8,7 +8,9 @@ var $ = require('yoho.zepto');
8 module.exports = function(useInRegister) { 8 module.exports = function(useInRegister) {
9 var $captcha = $('#captcha'), 9 var $captcha = $('#captcha'),
10 $btnNext = $('#btn-next'), 10 $btnNext = $('#btn-next'),
11 - $captchaTip = $('#captcha-tip'); 11 + $captchaTip = $('#captcha-tip'),
  12 + phoneNum = $('#phone-num').val(),
  13 + areaCode = $('#area-code').val().split('+')[1];
12 14
13 var api = require('./api'); 15 var api = require('./api');
14 var tip = require('../plugin/tip'); 16 var tip = require('../plugin/tip');
@@ -16,7 +18,7 @@ module.exports = function(useInRegister) { @@ -16,7 +18,7 @@ module.exports = function(useInRegister) {
16 var trim = $.trim; 18 var trim = $.trim;
17 var showErrTip = tip.show; 19 var showErrTip = tip.show;
18 20
19 - var urlMid = useInRegister ? 'register' : 'back'; 21 + var urlMid = useInRegister ? 'reg' : 'back';
20 22
21 function countDown() { 23 function countDown() {
22 var count = 59, 24 var count = 59,
@@ -50,7 +52,11 @@ module.exports = function(useInRegister) { @@ -50,7 +52,11 @@ module.exports = function(useInRegister) {
50 52
51 $.ajax({ 53 $.ajax({
52 type: 'POST', 54 type: 'POST',
53 - url: '/passport/' + urlMid + '/sendPhone', 55 + url: '/passport/' + urlMid + '/sendcode',
  56 + data: {
  57 + phoneNum: phoneNum,
  58 + areaCode: areaCode
  59 + },
54 success: function(data) { 60 success: function(data) {
55 if (data.code === 200) { 61 if (data.code === 200) {
56 $captchaTip.text('重发验证码 (60秒)').addClass('disable'); 62 $captchaTip.text('重发验证码 (60秒)').addClass('disable');
@@ -73,7 +79,10 @@ module.exports = function(useInRegister) { @@ -73,7 +79,10 @@ module.exports = function(useInRegister) {
73 type: 'POST', 79 type: 'POST',
74 url: '/passport/' + urlMid + '/verifycode', 80 url: '/passport/' + urlMid + '/verifycode',
75 data: { 81 data: {
76 - verifyCode: trim($captcha.val()) 82 + phoneNum: phoneNum,
  83 + areaCode: areaCode,
  84 + code: trim($captcha.val()),
  85 + token: $('#token').val()
77 }, 86 },
78 success: function(data) { 87 success: function(data) {
79 if (data.code === 200) { 88 if (data.code === 200) {
@@ -78,9 +78,9 @@ $loginBtn.on('touchstart', function() { @@ -78,9 +78,9 @@ $loginBtn.on('touchstart', function() {
78 type: 'POST', 78 type: 'POST',
79 url: '/passport/signin/auth', 79 url: '/passport/signin/auth',
80 data: { 80 data: {
81 - area: country.split('+')[1],  
82 - account: pn,  
83 - pwd: pwd 81 + areaCode: country.split('+')[1],
  82 + phoneNum: pn,
  83 + password: pwd
84 }, 84 },
85 success: function(data) { 85 success: function(data) {
86 if (data.code === 200) { 86 if (data.code === 200) {
@@ -83,7 +83,7 @@ $loginBtn.on('touchstart', function() { @@ -83,7 +83,7 @@ $loginBtn.on('touchstart', function() {
83 url: '/passport/signin/auth', 83 url: '/passport/signin/auth',
84 data: { 84 data: {
85 account: acc, 85 account: acc,
86 - pwd: pwd 86 + password: pwd
87 }, 87 },
88 success: function(data) { 88 success: function(data) {
89 if (data.code === 200) { 89 if (data.code === 200) {
@@ -36,9 +36,12 @@ $btnSure.on('touchstart', function() { @@ -36,9 +36,12 @@ $btnSure.on('touchstart', function() {
36 } else { 36 } else {
37 $.ajax({ 37 $.ajax({
38 type: 'POST', 38 type: 'POST',
39 - url: '/passport/register/regmobile', 39 + url: '/passport/reg/setpassword',
40 data: { 40 data: {
41 - password: pwd 41 + password: pwd,
  42 + phoneNum: $('#phone-num').val(),
  43 + areaCode: $('#area-code').val(),
  44 + token: $('#token').val()
42 }, 45 },
43 success: function(data) { 46 success: function(data) {
44 if (data.code === 200) { 47 if (data.code === 200) {
@@ -16,6 +16,8 @@ var tip = require('../../plugin/tip'); @@ -16,6 +16,8 @@ var tip = require('../../plugin/tip');
16 var trim = $.trim; 16 var trim = $.trim;
17 var showErrTip = tip.show; 17 var showErrTip = tip.show;
18 18
  19 +api.selectCssHack($('#country-select'));
  20 +
19 api.bindClearEvt(); 21 api.bindClearEvt();
20 22
21 $phoneNum.bind('input', function() { 23 $phoneNum.bind('input', function() {
@@ -40,15 +42,15 @@ $btnNext.on('touchstart', function() { @@ -40,15 +42,15 @@ $btnNext.on('touchstart', function() {
40 42
41 if (api.phoneRegx[country].test(pn)) { 43 if (api.phoneRegx[country].test(pn)) {
42 $.ajax({ 44 $.ajax({
43 - url: '/passport/register/sendphone', 45 + url: '/passport/reg/verifymobile',
44 type: 'POST', 46 type: 'POST',
45 data: { 47 data: {
46 - area: country.split('+')[1],  
47 - profile: pn 48 + areaCode: country.split('+')[1],
  49 + phoneNum: pn
48 }, 50 },
49 success: function(data) { 51 success: function(data) {
50 if (data.code === 200) { 52 if (data.code === 200) {
51 - location.href = '/passport/register/code'; 53 + location.href = data.data;
52 } else { 54 } else {
53 showErrTip(data.message); 55 showErrTip(data.message);
54 } 56 }
1 -@import "header-download","header", "banner-top","banner-center", "side-nav", "floor-header", "banner-top", "banner-bottom", "hot-brands", "fine-brands", "creative-life", "plus-star", "footer", "maybe-like", 1 +@import "header-download", "banner-top","banner-center", "side-nav", "floor-header", "banner-top", "banner-bottom", "hot-brands", "fine-brands", "creative-life", "plus-star", "footer", "maybe-like",
2 "icons-enter","trendsetter-collocation", 2 "icons-enter","trendsetter-collocation",
3 -"trend-topics","goods-category","hot-brands", "hot-category";  
  3 +"trend-topics","goods-category","hot-brands", "hot-category", "home-header";
@@ -5,11 +5,23 @@ @@ -5,11 +5,23 @@
5 {{> common/header_download}} 5 {{> common/header_download}}
6 {{/ headerDownload}} 6 {{/ headerDownload}}
7 7
8 - {{> common/header}} 8 + {{! 首页header}}
  9 + {{# homeHeader}}
  10 + {{> common/home_header}}
  11 + {{/ homeHeader}}
9 12
10 {{> common/content}} 13 {{> common/content}}
11 14
  15 + {{! 可能喜欢}}
  16 + {{# maybeLike}}
  17 + {{> common/maybe_like}}
  18 + {{/ maybeLike}}
  19 +
  20 + {{! 底部banner}}
  21 + {{# bannerBottom}}
  22 + {{> common/banner_bottom}}
  23 + {{/ bannerBottom}}
12 <div class="overlay"></div> 24 <div class="overlay"></div>
13 </div> 25 </div>
14 - {{> common/side_nav}} 26 +
15 {{> layout/footer}} 27 {{> layout/footer}}
@@ -7,5 +7,14 @@ @@ -7,5 +7,14 @@
7 </div> 7 </div>
8 <span id="btn-ok" class="btn btn-ok disable">完成</span> 8 <span id="btn-ok" class="btn btn-ok disable">完成</span>
9 </div> 9 </div>
  10 + {{#if phoneNum}}
  11 + <input id="phone-num" type="hidden" value={{phoneNum}}>
  12 + <input id="area-code" type="hidden" value={{areaCode}}>
  13 + <input id="token" type="hidden" value={{token}}>
  14 + {{/if}}
  15 +
  16 + {{# code}}
  17 + <input id="email-code" type="hidden" value={{.}}>
  18 + {{/ code}}
10 </div> 19 </div>
11 {{> layout/footer}} 20 {{> layout/footer}}
@@ -7,5 +7,8 @@ @@ -7,5 +7,8 @@
7 </div> 7 </div>
8 <span id="btn-sure" class="btn btn-sure disable row">确定</span> 8 <span id="btn-sure" class="btn btn-sure disable row">确定</span>
9 </div> 9 </div>
  10 + <input id="phone-num" type="hidden" value={{phoneNum}}>
  11 + <input id="area-code" type="hidden" value={{areaCode}}>
  12 + <input id="token" type="hidden" value={{token}}>
10 </div> 13 </div>
11 {{> layout/footer}} 14 {{> layout/footer}}
1 -<div class="home-header clearfix" {{# bgColor}}style="background-color:{{.}};background-image:none"{{/ bgColor}}>  
2 - <span class="nav-btn iconfont">&#xe60b;</span>  
3 - <span class="logo"></span>  
4 - <span class="search-btn iconfont"><a href="{{searchUrl}}">&#xe60f;</a></span>  
5 -</div>  
@@ -66,3 +66,25 @@ @@ -66,3 +66,25 @@
66 seajs.use('js/passport/back/new-password'); 66 seajs.use('js/passport/back/new-password');
67 </script> 67 </script>
68 {{/if}} 68 {{/if}}
  69 +
  70 +{{!-- 首页 --}}
  71 +{{#if grilsHomePage}}
  72 + <script>
  73 + seajs.use('js/homePage/girls');
  74 + </script>
  75 +{{/if}}
  76 +{{#if boysHomePage}}
  77 + <script>
  78 + seajs.use('js/homePage/boys');
  79 + </script>
  80 +{{/if}}
  81 +{{#if kidsHomePage}}
  82 + <script>
  83 + seajs.use('js/homePage/kids');
  84 + </script>
  85 +{{/if}}
  86 +{{#if lifestyleHomePage}}
  87 + <script>
  88 + seajs.use('js/homePage/lifestyle');
  89 + </script>
  90 +{{/if}}
@@ -11,4 +11,7 @@ @@ -11,4 +11,7 @@
11 <div id="captcha-tip" class="captcha-tip disable">重发验证码 (60秒)</div> 11 <div id="captcha-tip" class="captcha-tip disable">重发验证码 (60秒)</div>
12 </div> 12 </div>
13 <span id="btn-next" class="btn btn-next disable row">下一步</span> 13 <span id="btn-next" class="btn btn-next disable row">下一步</span>
  14 + <input id="phone-num" type="hidden" value={{phoneNum}}>
  15 + <input id="area-code" type="hidden" value={{areaCode}}>
  16 + <input id="token" type="hidden" value={{token}}>
14 </div> 17 </div>
@@ -24,31 +24,31 @@ class GirlsController extends AbstractAction @@ -24,31 +24,31 @@ class GirlsController extends AbstractAction
24 array( 24 array(
25 'textCn' => '男生', 25 'textCn' => '男生',
26 'textEn' => 'Boys', 26 'textEn' => 'Boys',
27 - 'styleClass' => 'boys', 27 + 'icon' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
28 'url' => '' 28 'url' => ''
29 ), 29 ),
30 array( 30 array(
31 'textCn' => '女生', 31 'textCn' => '女生',
32 'textEn' => 'GIRLS', 32 'textEn' => 'GIRLS',
33 - 'styleClass' => 'girls', 33 + 'icon' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
34 'url' => '' 34 'url' => ''
35 ), 35 ),
36 array( 36 array(
37 'textCn' => '潮童', 37 'textCn' => '潮童',
38 'textEn' => 'KIDS', 38 'textEn' => 'KIDS',
39 - 'styleClass' => 'kids', 39 + 'icon' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
40 'url' => '' 40 'url' => ''
41 ), 41 ),
42 array( 42 array(
43 'textCn' => '创意生活', 43 'textCn' => '创意生活',
44 'textEn' => 'LIFE STYLE', 44 'textEn' => 'LIFE STYLE',
45 - 'styleClass' => 'life', 45 + 'icon' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
46 'url' => '' 46 'url' => ''
47 ), 47 ),
48 array( 48 array(
49 'textCn' => '逛', 49 'textCn' => '逛',
50 'textEn' => 'TRENDFINDER', 50 'textEn' => 'TRENDFINDER',
51 - 'styleClass' => 'guang', 51 + 'icon' => 'http://img02.yohoboys.com/staticimg/2015/06/30/21/02912cd7f0b2c67939404c71ef00e3f513.jpg',
52 'subNav' => array( 52 'subNav' => array(
53 'list' => array( 53 'list' => array(
54 array( 54 array(
@@ -380,12 +380,13 @@ class GirlsController extends AbstractAction @@ -380,12 +380,13 @@ class GirlsController extends AbstractAction
380 380
381 ), 381 ),
382 382
  383 + // 频道数据
  384 + $channelData = Index::getUserChannelData(0, '2,3', '201504091403002');
383 385
  386 + echo '<pre>';
  387 + print_r($channelData);
384 388
385 -  
386 - );  
387 -  
388 - $this->_view->assign('title', '首页'); 389 + $this->_view->assign('title', 'YOHO!有货');
389 $this->_view->display('index', $data); 390 $this->_view->display('index', $data);
390 391
391 // // 频道数据 392 // // 频道数据
@@ -8,18 +8,14 @@ use Hood\Core\Security\AuthCode; @@ -8,18 +8,14 @@ use Hood\Core\Security\AuthCode;
8 */ 8 */
9 class BackController extends AbstractAction 9 class BackController extends AbstractAction
10 { 10 {
11 - public function indexAction()  
12 - {  
13 - echo '密码找回';  
14 - }  
15 11
16 public function emailAction() 12 public function emailAction()
17 { 13 {
18 $data = array( 14 $data = array(
19 - 'backUrl' => 'm.yohobuy.com', 15 + 'backUrl' => '/passport/login/index',
20 'headerText' => '找回密码', 16 'headerText' => '找回密码',
21 'isPassportPage' => true, 17 'isPassportPage' => true,
22 - 'modulePath' => 'passport/back/email' 18 + 'backEmail' => true
23 ); 19 );
24 20
25 $this->_view->assign('title', 'YOHO!有货'); 21 $this->_view->assign('title', 'YOHO!有货');
@@ -33,11 +29,30 @@ class BackController extends AbstractAction @@ -33,11 +29,30 @@ class BackController extends AbstractAction
33 { 29 {
34 if($this->isAjax()) 30 if($this->isAjax())
35 { 31 {
  32 + $email = $this->post('email', '');
  33 +
  34 + // 发送邮箱验证码
  35 + $result = BackData::sendCodeToEmail($email);
  36 + if($result['code'] === 200)
  37 + {
  38 + $result['data'] = '/passport/back/success?email='.$email;
  39 + }
  40 +
  41 + $this->echoJson($result);
  42 + }
  43 + }
  44 +
  45 + /**
  46 + * 重新发送邮箱验证码
  47 + */
  48 + public function resendemailAction()
  49 + {
  50 + if($this->isAjax())
  51 + {
36 $email = $this->get('email', ''); 52 $email = $this->get('email', '');
37 53
38 // 发送邮箱验证码 54 // 发送邮箱验证码
39 $result = BackData::sendCodeToEmail($email); 55 $result = BackData::sendCodeToEmail($email);
40 - $result['data'] = '/passport/back/success';  
41 56
42 $this->echoJson($result); 57 $this->echoJson($result);
43 } 58 }
@@ -45,13 +60,18 @@ class BackController extends AbstractAction @@ -45,13 +60,18 @@ class BackController extends AbstractAction
45 60
46 public function successAction() 61 public function successAction()
47 { 62 {
  63 + $email = $this->get('email', '');
  64 + // 获取到邮箱域名
  65 + $pattern = "/^([0-9A-Za-z\\-_\\.]+)@([0-9a-z]+\\.[a-z]{2,3}(\\.[a-z]{2})?)$/i";
  66 + $domain_name = 'http://mail.'.preg_replace( $pattern ,"$2", $email );
  67 +
48 $data = array( 68 $data = array(
49 - 'backUrl' => 'm.yohobuy.com', 69 + 'backUrl' => '/passport/back/email',
50 'headerText' => '找回密码', 70 'headerText' => '找回密码',
51 'isPassportPage' => true, 71 'isPassportPage' => true,
52 - 'modulePath' => 'passport/back/email-success',  
53 - 'goEmail' => '',  
54 - 'resendUrl' => '' 72 + 'backEmailSuccess' => true,
  73 + 'goEmail' => $domain_name,
  74 + 'resendUrl' => '/passport/back/resendemail?email='.$email
55 ); 75 );
56 76
57 $this->_view->assign('title', 'YOHO!有货'); 77 $this->_view->assign('title', 'YOHO!有货');
@@ -67,12 +87,12 @@ class BackController extends AbstractAction @@ -67,12 +87,12 @@ class BackController extends AbstractAction
67 { 87 {
68 if($this->isAjax()) 88 if($this->isAjax())
69 { 89 {
70 - $pwd = $this->get('pwd', '');  
71 - $code = $this->get('code', ''); 90 + $pwd = $this->post('password', '');
  91 + $code = $this->post('code', '');
72 92
73 $data = BackData::modifyPasswordByEmail($pwd, $code); 93 $data = BackData::modifyPasswordByEmail($pwd, $code);
74 94
75 - $this->returnJson(200, '成功', '');// 前端不需要判断结果 95 + $this->echoJson($data);// 前端不需要判断结果
76 } 96 }
77 } 97 }
78 98
@@ -88,8 +108,8 @@ class BackController extends AbstractAction @@ -88,8 +108,8 @@ class BackController extends AbstractAction
88 } 108 }
89 // 处理地区信息 109 // 处理地区信息
90 foreach ($areas as &$val) { 110 foreach ($areas as &$val) {
91 - $val['areaCode'] = $val['area'];  
92 - if($val['area'] == 86) 111 + $val['areaCode'] = '+'.$val['area'];
  112 + if($val['area'] === '86')
93 { 113 {
94 $val['selected'] = true; 114 $val['selected'] = true;
95 } 115 }
@@ -106,10 +126,10 @@ class BackController extends AbstractAction @@ -106,10 +126,10 @@ class BackController extends AbstractAction
106 });*/ 126 });*/
107 127
108 $data = array( 128 $data = array(
109 - 'backUrl' => 'm.yohobuy.com', 129 + 'backUrl' => '/passport/login/index',
110 'headerText' => '找回密码', 130 'headerText' => '找回密码',
111 'isPassportPage' => true, 131 'isPassportPage' => true,
112 - 'modulePath' => 'passport/back/mobile', 132 + 'backMobile' => true,
113 'countrys' => $areas, 133 'countrys' => $areas,
114 'countryCode' => '+86' 134 'countryCode' => '+86'
115 ); 135 );
@@ -121,32 +141,40 @@ class BackController extends AbstractAction @@ -121,32 +141,40 @@ class BackController extends AbstractAction
121 /** 141 /**
122 * 发送手机验证码 142 * 发送手机验证码
123 */ 143 */
124 - public function mobilecodeSendAction() 144 + public function sendcodeAction()
125 { 145 {
126 if($this->isAjax()) 146 if($this->isAjax())
127 { 147 {
128 - $mobile = $this->get('mobile', '');  
129 - $area = $this->get('area', 86); 148 + $phoneNum = $this->post('phoneNum', '');
  149 + $areaCode = $this->post('areaCode', 86);
130 150
131 // 发送手机验证码 151 // 发送手机验证码
132 - $result = BackData::sendCodeToMobile($mobile, $area); 152 + $result = BackData::sendCodeToMobile($phoneNum, $areaCode);
  153 + if($result['code'] === 200)
  154 + {
  155 + $result['data'] = '/passport/back/mobilecode?phoneNum='.$phoneNum.'&areaCode='.$areaCode;
  156 + }
133 157
134 - $this->returnJson($result['code'], $result['message'], $result['data']); 158 + $this->echoJson($result);
135 } 159 }
136 } 160 }
137 161
  162 + /**
  163 + * 校验验证码页面
  164 + */
138 public function mobilecodeAction() 165 public function mobilecodeAction()
139 { 166 {
140 - $mobile = $this->get('mobile', '');  
141 - $area = $this->get('area', 86); 167 + $phoneNum = $this->get('phoneNum', '');
  168 + $areaCode = $this->get('areaCode', 86);
  169 + $areaCode = '+'.$areaCode;
142 170
143 $data = array( 171 $data = array(
144 - 'backUrl' => 'm.yohobuy.com', 172 + 'backUrl' => '/passport/back/mobile',
145 'headerText' => '找回密码', 173 'headerText' => '找回密码',
146 'isPassportPage' => true, 174 'isPassportPage' => true,
147 - 'modulePath' => 'passport/back/code',  
148 - 'areaCode' => '+86',  
149 - 'phoneNum' => $mobile 175 + 'backCode' => true,
  176 + 'areaCode' => $areaCode,
  177 + 'phoneNum' => $phoneNum
150 ); 178 );
151 179
152 $this->_view->assign('title', 'YOHO!有货'); 180 $this->_view->assign('title', 'YOHO!有货');
@@ -158,41 +186,44 @@ class BackController extends AbstractAction @@ -158,41 +186,44 @@ class BackController extends AbstractAction
158 * 186 *
159 * @return array 校验手机验证码的结果(token) 187 * @return array 校验手机验证码的结果(token)
160 */ 188 */
161 - public function mobilecodeValidateAction() 189 + public function verifycodeAction()
162 { 190 {
163 if($this->isAjax()) 191 if($this->isAjax())
164 { 192 {
165 - $mobile = $this->get('mobile', '');  
166 - $code = $this->get('code', '');  
167 - $area = $this->get('area', 86); 193 + $phoneNum = $this->post('phoneNum', '');
  194 + $code = $this->post('code', '');
  195 + $areaCode = $this->post('areaCode', 86);
168 196
169 // 校验手机验证码 197 // 校验手机验证码
170 - $result = BackData::validateMobileCode($mobile, $code, $area); 198 + $result = BackData::validateMobileCode($phoneNum, $code, $areaCode);
  199 + if($result['code'] === 200)
  200 + {
  201 + $result['data'] = '/passport/back/password?phoneNum='.$phoneNum.'&token='.$result['token'].'&areaCode='.$areaCode;
  202 + }
171 203
172 - $this->returnJson($result['code'], $result['message'], $result['data']); 204 + $this->echoJson($result);
173 } 205 }
174 } 206 }
175 207
176 public function passwordAction() 208 public function passwordAction()
177 { 209 {
178 - $mobile = $this->get('mobile', ''); 210 + $phoneNum = $this->get('phoneNum', '');
  211 + // 手机验证令牌
179 $token = $this->get('token', ''); 212 $token = $this->get('token', '');
180 - $area = $this->get('area', 86); 213 + $areaCode = $this->get('areaCode', 86);
  214 +
  215 + // 邮箱验证码
  216 + $code = $this->get('code', '');
181 217
182 $data = array( 218 $data = array(
183 - 'backUrl' => 'm.yohobuy.com', 219 + 'backUrl' => '/passport/login/index',
184 'headerText' => '找回密码', 220 'headerText' => '找回密码',
185 'isPassportPage' => true, 221 'isPassportPage' => true,
186 - 'modulePath' => 'passport/back/new-password',  
187 - 'pageHeader' => array(  
188 - 'navBack' => 'm.yohobuy.com',  
189 - 'navHome' => 'm.yohobuy.com',  
190 - 'navTitle' => '上衣'  
191 - ),  
192 - 'pageFooter' => array(  
193 - 'loginUrl' => 'm.yohobuy.com/login.html',  
194 - 'signupUrl' => 'm.yohobuy.com/signup.html'  
195 - ) 222 + 'backNewPwd' => true,
  223 + 'phoneNum' => $phoneNum,
  224 + 'token' => $token,
  225 + 'areaCode' => $areaCode,
  226 + 'code' => $code
196 ); 227 );
197 228
198 $this->_view->assign('title', 'YOHO!有货'); 229 $this->_view->assign('title', 'YOHO!有货');
@@ -208,15 +239,19 @@ class BackController extends AbstractAction @@ -208,15 +239,19 @@ class BackController extends AbstractAction
208 { 239 {
209 if($this->isAjax()) 240 if($this->isAjax())
210 { 241 {
211 - $mobile = $this->get('mobile', '');  
212 - $token = $this->get('token', '');  
213 - $newpwd = $this->get('newpwd', 86);  
214 - $area = $this->get('area', 86); 242 + $phoneNum = $this->post('phoneNum', '');
  243 + $token = $this->post('token', '');
  244 + $newpwd = $this->post('password', '');
  245 + $areaCode = $this->post('areaCode', 86);
215 246
216 // 根据手机验证码修改密码 247 // 根据手机验证码修改密码
217 - $result = BackData::modifyPasswordByMobile($mobile, $token, $newpwd, $area); 248 + $result = BackData::modifyPasswordByMobile($phoneNum, $token, $newpwd, $areaCode);
  249 + if($result['code'] === 200)
  250 + {
  251 + $result['data'] = '/';
  252 + }
218 253
219 - $this->returnJson($result['code'], $result['message'], $result['data']); 254 + $this->echoJson($result);
220 } 255 }
221 } 256 }
222 } 257 }
@@ -120,6 +120,11 @@ class LoginController extends AbstractAction @@ -120,6 +120,11 @@ class LoginController extends AbstractAction
120 */ 120 */
121 public function alipayAction() 121 public function alipayAction()
122 { 122 {
  123 + $redirect = $this->_request->getServer('HTTP_REFERER', '');
  124 + if($redirect != '')
  125 + {
  126 + $this->setCookie('alipay_redirect', $redirect);
  127 + }
123 Factory::create('alipay')->getAuthorizeUrl(); 128 Factory::create('alipay')->getAuthorizeUrl();
124 129
125 exit(); 130 exit();
@@ -131,6 +136,11 @@ class LoginController extends AbstractAction @@ -131,6 +136,11 @@ class LoginController extends AbstractAction
131 */ 136 */
132 public function qqAction() 137 public function qqAction()
133 { 138 {
  139 + $redirect = $this->_request->getServer('HTTP_REFERER', '');
  140 + if($redirect != '')
  141 + {
  142 + $this->setCookie('qq_redirect', $redirect);
  143 + }
134 Factory::create('qqconnect')->getAuthorizeUrl(); 144 Factory::create('qqconnect')->getAuthorizeUrl();
135 145
136 exit(); 146 exit();
@@ -142,6 +152,11 @@ class LoginController extends AbstractAction @@ -142,6 +152,11 @@ class LoginController extends AbstractAction
142 */ 152 */
143 public function sinaAction() 153 public function sinaAction()
144 { 154 {
  155 + $redirect = $this->_request->getServer('HTTP_REFERER', '');
  156 + if($redirect != '')
  157 + {
  158 + $this->setCookie('sina_redirect', $redirect);
  159 + }
145 header('Location:' . Factory::create('sinaweibo')->getAuthorizeUrl()); 160 header('Location:' . Factory::create('sinaweibo')->getAuthorizeUrl());
146 161
147 exit(); 162 exit();
@@ -178,8 +193,11 @@ class LoginController extends AbstractAction @@ -178,8 +193,11 @@ class LoginController extends AbstractAction
178 193
179 if($result['code'] == 200) 194 if($result['code'] == 200)
180 { 195 {
181 - echo '登陆成功'; 196 + $redirect = $this->_request->getCookie('alipay_redirect');
  197 + $redirect && $this->redirect($redirect);
182 } 198 }
  199 +
  200 + $this->redirect('/');
183 } 201 }
184 202
185 /** 203 /**
@@ -191,7 +209,6 @@ class LoginController extends AbstractAction @@ -191,7 +209,6 @@ class LoginController extends AbstractAction
191 $access = $qqconnect->getAccessToken(); 209 $access = $qqconnect->getAccessToken();
192 /* 获取QQ腾讯用户的详细信息 */ 210 /* 获取QQ腾讯用户的详细信息 */
193 $partnerInfo = $qqconnect->getUserInfo($access); 211 $partnerInfo = $qqconnect->getUserInfo($access);
194 - var_dump($access, $partnerInfo);  
195 212
196 if ($partnerInfo && is_array($partnerInfo)) 213 if ($partnerInfo && is_array($partnerInfo))
197 { 214 {
@@ -199,9 +216,12 @@ class LoginController extends AbstractAction @@ -199,9 +216,12 @@ class LoginController extends AbstractAction
199 216
200 if($result['code'] == 200) 217 if($result['code'] == 200)
201 { 218 {
202 - echo '登陆成功'; 219 + $redirect = $this->_request->getCookie('qq_redirect');
  220 + $redirect && $this->redirect($redirect);
203 } 221 }
204 } 222 }
  223 +
  224 + $this->redirect('/');
205 } 225 }
206 226
207 /** 227 /**
@@ -213,7 +233,6 @@ class LoginController extends AbstractAction @@ -213,7 +233,6 @@ class LoginController extends AbstractAction
213 $access = $sina->getAccessToken(); 233 $access = $sina->getAccessToken();
214 /* 获取QQ腾讯用户的详细信息 */ 234 /* 获取QQ腾讯用户的详细信息 */
215 $partnerInfo = $sina->getUserInfo($access); 235 $partnerInfo = $sina->getUserInfo($access);
216 - var_dump($access, $partnerInfo);  
217 236
218 if ($partnerInfo && is_array($partnerInfo)) 237 if ($partnerInfo && is_array($partnerInfo))
219 { 238 {
@@ -221,8 +240,11 @@ class LoginController extends AbstractAction @@ -221,8 +240,11 @@ class LoginController extends AbstractAction
221 240
222 if($result['code'] == 200) 241 if($result['code'] == 200)
223 { 242 {
224 - echo '登陆成功'; 243 + $redirect = $this->_request->getCookie('sina_redirect');
  244 + $redirect && $this->redirect($redirect);
225 } 245 }
226 } 246 }
  247 +
  248 + $this->redirect('/');
227 } 249 }
228 } 250 }