<?php

namespace app\common\model;

use think\facade\Db;


/**
 
 * 
 
 * 
 * ----------------------------------------------------------------------------
 * 
 
 * 数据层模型
 */
class Goodsattrindex extends BaseModel
{
    /**
     * 对应列表
     * @access public
     * @author csdeshang
     * @param array $condition 条件
     * @param string $field 字段
     * @return array
     */
    public function getGoodsAttrIndexList($condition, $field = '*')
    {
        return Db::name('goodsattrindex')->where($condition)->field($field)->select()->toArray();
    }
}
