IndentGoodsModel.php
559 字节
<?php
/**
* Created by PhpStorm.
* User: Administrator
* Date: 2019/6/5
* Time: 20:27
*/
namespace app\portal\model;
use think\Model;
class IndentGoodsModel extends Model
{
/**
* 获取多个订单明细
* @param $where
* @return array
* @throws \think\db\exception\DataNotFoundException
* @throws \think\db\exception\ModelNotFoundException
* @throws \think\exception\DbException
*/
public function selectData($where){
$data = $this->where($where)->select()->toArray();
return $data;
}
}