zz 6 năm trước cách đây
mục cha
commit
1c0a4fb208

+ 1 - 1
app/Console/Commands/channelCpcCode.php

@@ -48,7 +48,7 @@ class channelCpcCode extends Command
         $result = CompanyService::getAllCompanyCpcCode();
         $result = CompanyService::getAllCompanyCpcCode();
         foreach ($result as $item){
         foreach ($result as $item){
            $channels = ChannelService::getByChannelUserId($item->id);
            $channels = ChannelService::getByChannelUserId($item->id);
-            $code = empty($item->channel)?'zw015':$item->channel;
+            $code = empty($item->channel)?'zw001':$item->channel;
            if($channels->isNotEmpty()){
            if($channels->isNotEmpty()){
                foreach ($channels as $channel) {
                foreach ($channels as $channel) {
                    Redis::hset('channel:setting:'.$channel->id,'cpc_channel',$code);
                    Redis::hset('channel:setting:'.$channel->id,'cpc_channel',$code);