<strong>清除服務(wù)器soap緩存</strong>
php artisan tinker
ini_set("soap.wsdl_cache_enabled", 0);
<strong>獲取單一數(shù)據(jù)</strong>
獲取第一行數(shù)據(jù)
DB::table('table_name')->first();
獲取單一字段值
DB::table('table_name')->pluck('column_name');
獲取單一列列表
DB::table('table_name')->lists('column_name');