|
@@ -2,6 +2,7 @@
|
|
|
|
|
|
|
|
namespace business\controllers;
|
|
namespace business\controllers;
|
|
|
|
|
|
|
|
|
|
+use biz\merchant\services\MerchantAssetService;
|
|
|
use Yii;
|
|
use Yii;
|
|
|
use common\components\util;
|
|
use common\components\util;
|
|
|
|
|
|
|
@@ -11,10 +12,12 @@ class ConsoleController extends BaseController
|
|
|
//概况 shish 2019.12.19
|
|
//概况 shish 2019.12.19
|
|
|
public function actionProfile()
|
|
public function actionProfile()
|
|
|
{
|
|
{
|
|
|
- $data = [
|
|
|
|
|
-
|
|
|
|
|
|
|
+ $asset = $this->merchantAsset;
|
|
|
|
|
+ $notice = [
|
|
|
|
|
+ ['title' => '您还没有绑定公众号', 'action' => '立即绑定', 'url' => 'http://www.test.com'],
|
|
|
];
|
|
];
|
|
|
- util::success($data);
|
|
|
|
|
|
|
+ $todayData = ['visit' => rand(9, 99), 'fans' => rand(9, 99), 'user' => rand(9, 99)];
|
|
|
|
|
+ util::success(['asset' => $asset, 'notice' => $notice, 'todayData' => $todayData]);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
}
|
|
}
|