Esempio n. 1
0
 /**
  * 微信小店组件
  * @return object
  */
 public function getMerchant()
 {
     if ($this->_merchant === null) {
         $this->_merchant = Yii::createObject(Merchant::className(), [$this]);
     }
     return $this->_merchant;
 }