1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace app\common\model;
- use think\facade\Db;
- class Goodsattrindex extends BaseModel
- {
-
- public function getGoodsAttrIndexList($condition, $field = '*')
- {
- return Db::name('goodsattrindex')->where($condition)->field($field)->select()->toArray();
- }
- }
|