shish 6 лет назад
Родитель
Сommit
3f40d6bf0d
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      app/business/controllers/ConsoleController.php

+ 1 - 1
app/business/controllers/ConsoleController.php

@@ -17,7 +17,7 @@ class ConsoleController extends BaseController
 			['title' => '您还没有绑定公众号', 'action' => '立即绑定', 'url' => 'http://www.test.com'],
 		];
 		$todayData = ['visit' => rand(9, 99), 'fans' => rand(9, 99), 'user' => rand(9, 99),'income'=>rand(11,999)];
-		util::success(['asset' => $asset, 'notice' => $notice, 'todayData' => $todayData]);
+		util::success(['asset' => $asset, 'notice' => $notice, 'todayData' => $todayData,'admin'=>['avatar'=>'http://a.huahb.com/images/avatar.jpg']]);
 	}
 
 }