@@ -417,7 +417,7 @@ class GoodsService extends BaseService
*/
public function sellCheck($goodsId)
{
- $goods = $this->where(['id'=> $goodsId,'mark'=>1])->first();
+ $goods = $this->model->where(['id'=> $goodsId,'mark'=>1])->first();
if(empty($goods)){
$this->error = 2061;
return false;