為啥getmycards這個(gè)方法這樣寫(xiě)會(huì)報(bào)錯(cuò),請(qǐng)求解答,我看其他dao里面都是這么寫(xiě)的,為啥我這樣寫(xiě)就報(bào)錯(cuò)!實(shí)在搞不明白!
文件位置:文件位置:/www/wwwroot/shop/crmeb/app/dao/product/sku/StoreProductVirtualDao.php
public function getmycards(array $where = [])
{
return $this->search($where)->order('id desc')->select()->toArray();
}
另外我調(diào)試模式都打開(kāi)了,為啥沒(méi)有任何報(bào)錯(cuò),