123456789101112131415161718192021222324252627 |
- <?php
- /**
- * Created by 上海互教教育科技有限公司.
- * User: 刘红伟
- * Date: 2016/7/19
- * Email: 454303753@qq.com
- * File:CMSGoods.php
- */
- class CMSGoods extends CActiveRecord
- {
- public function getDbConnection() {
- return Yii::app()->db251;
- }
- public static function model($className = __CLASS__){
- return parent::model($className);
- }
- public function tableName(){
- return "goods";
- }
- }
|