|
|
@@ -2,6 +2,8 @@
|
|
|
|
|
|
namespace console\controllers;
|
|
|
|
|
|
+use biz\goods\services\GoodsService;
|
|
|
+use biz\goods\services\GoodsStyleService;
|
|
|
use biz\merchant\services\MerchantService;
|
|
|
use biz\user\services\UserService;
|
|
|
use biz\wx\services\WxOpenService;
|
|
|
@@ -86,13 +88,13 @@ class InitController extends Controller
|
|
|
$redisPubSub = \Yii::$app->redisPubSub;
|
|
|
$redisPubSub->publish($name, $time);
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
public function actionPullUser()
|
|
|
{
|
|
|
//拉取用户
|
|
|
$this->actionPullUser();
|
|
|
}
|
|
|
-
|
|
|
+
|
|
|
// 拉取微信用户 shish 2019.9.9
|
|
|
public function actionPullUser2()
|
|
|
{
|
|
|
@@ -101,5 +103,11 @@ class InitController extends Controller
|
|
|
$total = isset($return['data']['total']) ? $return['data']['total'] : 0;
|
|
|
xhMerchantAssetService::updateByMerchantId($merchantId, ['totalFans' => $total]);
|
|
|
}
|
|
|
+
|
|
|
+ //商品多款式 shish 2020.6.4
|
|
|
+ public function actionUpdateGoods()
|
|
|
+ {
|
|
|
+ GoodsStyleService::updateGlhsGoods();
|
|
|
+ }
|
|
|
|
|
|
}
|