|
|
@@ -76,7 +76,11 @@ class TestController extends BaseController
|
|
|
|
|
|
public function actionFocus()
|
|
|
{
|
|
|
- $merchant = MerchantService::getByCondition(['merchantName' => '花卉宝']);
|
|
|
+ $name = '花卉宝';
|
|
|
+ if(getenv('YII_ENV') == 'dev'){
|
|
|
+ $name = '花美灵';
|
|
|
+ }
|
|
|
+ $merchant = MerchantService::getByCondition(['merchantName' => $name]);
|
|
|
$list = weixinUtil::getSubscribeUserList($merchant);
|
|
|
dd($list);
|
|
|
}
|