$profit=Db::view('profit','settlement_time,money,balance_account,balance_account1,did,user') ->view('dealer','company_name','dealer.id=profit.did') ->where($d) ->order('settlement_time','desc') ->paginate(10,false,['query'=>request()->param()]);