Showing
2 changed files
with
10 additions
and
10 deletions
@@ -602,4 +602,14 @@ class AbstractAction extends Controller_Abstract | @@ -602,4 +602,14 @@ class AbstractAction extends Controller_Abstract | ||
602 | } | 602 | } |
603 | } | 603 | } |
604 | 604 | ||
605 | + /** | ||
606 | + * 判断是不是APP | ||
607 | + * | ||
608 | + * @return bool | ||
609 | + */ | ||
610 | + public function isApp(){ | ||
611 | + $appVersion = $this->get('app_version'); | ||
612 | + return !empty($appVersion); | ||
613 | + } | ||
614 | + | ||
605 | } | 615 | } |
@@ -474,16 +474,6 @@ class IndexController extends AbstractAction | @@ -474,16 +474,6 @@ class IndexController extends AbstractAction | ||
474 | } | 474 | } |
475 | 475 | ||
476 | /** | 476 | /** |
477 | - * 判断是不是APP | ||
478 | - * | ||
479 | - * @return bool | ||
480 | - */ | ||
481 | - public function isApp(){ | ||
482 | - $appVersion = $this->get('app_version'); | ||
483 | - return !empty($appVersion); | ||
484 | - } | ||
485 | - | ||
486 | - /** | ||
487 | * 店铺收藏 | 477 | * 店铺收藏 |
488 | * @author sefon 2016-4-28 23:00:11 | 478 | * @author sefon 2016-4-28 23:00:11 |
489 | */ | 479 | */ |
-
Please register or login to post a comment