diff --git a/services/Email.php b/services/Email.php index f4c1c9fd4..2f7909fdf 100644 --- a/services/Email.php +++ b/services/Email.php @@ -212,7 +212,7 @@ public function mailer($mailerConfigParam = '') * 'senderName'=> $senderName, * ] * @param $mailerConfigParam | array or String,对于该参数的配置, - * 您可以参看上面的函数 function actionMailer($mailerConfigParam = '') 或者到 @fecshop/config/services/Email.php参看 $mailerConfig的配置 + * 您可以参看上面的函数 function mailer($mailerConfigParam = '') 或者到 @fecshop/config/services/Email.php参看 $mailerConfig的配置 * 该函数用于发送邮件. */ public function send($sendInfo, $mailerConfigParam = '') diff --git a/services/FecshopLang.php b/services/FecshopLang.php index d4ff69679..fd3274029 100644 --- a/services/FecshopLang.php +++ b/services/FecshopLang.php @@ -176,7 +176,7 @@ public function getLangAttrVal($attrVal, $attrName, $langCode) * @return 当前store 语言对应的值。 */ /* - protected function actionGetCurrentStoreAttrVal($attrVal,$attrName){ + public function getCurrentStoreAttrVal($attrVal,$attrName){ $langCode = Yii::$service->store->currentLangCode ; if($langCode){ return $this->getLangAttrVal($attrVal,$attrName,$langCode); diff --git a/services/category/Product.php b/services/category/Product.php index 015f66d86..24ef68097 100644 --- a/services/category/Product.php +++ b/services/category/Product.php @@ -69,7 +69,7 @@ public function coll($filter) } /** - * @param $filter | Array 和上面的函数 actionColl($filter) 类似。 + * @param $filter | Array 和上面的函数 coll($filter) 类似。 */ public function getFrontList($filter) { diff --git a/services/customer/newsletter/NewsletterMysqldb.php b/services/customer/newsletter/NewsletterMysqldb.php index 1d0647df0..d5622f008 100644 --- a/services/customer/newsletter/NewsletterMysqldb.php +++ b/services/customer/newsletter/NewsletterMysqldb.php @@ -97,7 +97,7 @@ protected function emailIsExist($emailAddress) * @return bool * 订阅邮件 */ - protected function actionSubscribe($emailAddress, $isRegister = false) + public function subscribe($emailAddress, $isRegister = false) { if (!$emailAddress) { Yii::$service->helper->errors->add('newsletter email address is empty'); diff --git a/services/product/Review.php b/services/product/Review.php index e90be910a..ddfad09f9 100644 --- a/services/product/Review.php +++ b/services/product/Review.php @@ -159,7 +159,7 @@ public function updateReview($review_data) /** * 查看review 的列表 */ - public function actionList($filter) + public function list($filter) { return $this->_review->list($filter); } diff --git a/services/search/SearchInterface.php b/services/search/SearchInterface.php index bb57fba70..7f8f6d2f9 100644 --- a/services/search/SearchInterface.php +++ b/services/search/SearchInterface.php @@ -17,5 +17,5 @@ */ interface SearchInterface { - //protected function actionInitFullSearchIndex(); + //public function initFullSearchIndex(); }