|
@@ -73,18 +73,19 @@ class Index extends Controller
|
|
|
$nan_count = Db::name('store_member')->where('sex',1)->where('vip_level',0)->count('id');
|
|
|
$nv_count = Db::name('store_member')->where('sex',2)->where('vip_level',0)->count('id');
|
|
|
|
|
|
- $lanshan_count = Db::name('store_member')->where('area_id',1480)->count('id');
|
|
|
- $luozhuang_count = Db::name('store_member')->where('area_id',1481)->count('id');
|
|
|
- $hedong_count = Db::name('store_member')->where('area_id',1482)->count('id');
|
|
|
- $yinan_count = Db::name('store_member')->where('area_id',1483)->count('id');
|
|
|
- $tancheng_count = Db::name('store_member')->where('area_id',1484)->count('id');
|
|
|
- $yishui_count = Db::name('store_member')->where('area_id',1485)->count('id');
|
|
|
- $lanling_count = Db::name('store_member')->where('area_id',1486)->count('id');
|
|
|
- $fei_count = Db::name('store_member')->where('area_id',1487)->count('id');
|
|
|
- $pingyi_count = Db::name('store_member')->where('area_id',1488)->count('id');
|
|
|
- $junan_count = Db::name('store_member')->where('area_id',1489)->count('id');
|
|
|
- $mengyin_count = Db::name('store_member')->where('area_id',1490)->count('id');
|
|
|
- $linshu_count = Db::name('store_member')->where('area_id',1491)->count('id');
|
|
|
+ $lanshan_count = Db::name('store_member')->where('area_id',1480)->where('vip_level',0)->count('id');
|
|
|
+ $luozhuang_count = Db::name('store_member')->where('area_id',1481)->where('vip_level',0)->count('id');
|
|
|
+ $hedonggaoxin_count = Db::name('store_member')->where('area_id',1482)->where('vip_level',0)->count('id');
|
|
|
+ $yihexinqu_count = Db::name('store_member')->where('area_id',3749)->where('vip_level',0)->count('id');
|
|
|
+ $yinan_count = Db::name('store_member')->where('area_id',1483)->where('vip_level',0)->count('id');
|
|
|
+ $tancheng_count = Db::name('store_member')->where('area_id',1484)->where('vip_level',0)->count('id');
|
|
|
+ $yishui_count = Db::name('store_member')->where('area_id',1485)->where('vip_level',0)->count('id');
|
|
|
+ $lanling_count = Db::name('store_member')->where('area_id',1486)->where('vip_level',0)->count('id');
|
|
|
+ $fei_count = Db::name('store_member')->where('area_id',1487)->where('vip_level',0)->count('id');
|
|
|
+ $pingyi_count = Db::name('store_member')->where('area_id',1488)->where('vip_level',0)->count('id');
|
|
|
+ $junan_count = Db::name('store_member')->where('area_id',1489)->where('vip_level',0)->count('id');
|
|
|
+ $mengyin_count = Db::name('store_member')->where('area_id',1490)->where('vip_level',0)->count('id');
|
|
|
+ $linshu_count = Db::name('store_member')->where('area_id',1491)->where('vip_level',0)->count('id');
|
|
|
|
|
|
|
|
|
//男女学历统计
|
|
@@ -137,8 +138,7 @@ class Index extends Controller
|
|
|
// print_r($age_count_nv);print_r($age_count_nan);
|
|
|
$age_count_nan = implode(',',$age_count_nan);
|
|
|
$age_count_nv = implode(',',$age_count_nv);
|
|
|
-// print_r($nan_count);
|
|
|
-// exit;
|
|
|
+
|
|
|
$this->fetch('main',
|
|
|
[
|
|
|
'member_count'=>$member_count,
|
|
@@ -166,7 +166,8 @@ class Index extends Controller
|
|
|
'count'=>$weeek_regiz,
|
|
|
'lanshan_count'=>$lanshan_count,
|
|
|
'luozhuang_count'=>$luozhuang_count,
|
|
|
- 'hedong_count'=>$hedong_count,
|
|
|
+ 'hedong_count'=>$hedonggaoxin_count,
|
|
|
+ 'yihexinqu_count'=>$yihexinqu_count,
|
|
|
'yinan_count'=>$yinan_count,
|
|
|
'tancheng_count'=>$tancheng_count,
|
|
|
'yishui_count'=>$yishui_count,
|