Commit 07030a8b authored by yinxiaoling's avatar yinxiaoling

处理下发数据

parent 1a7c0e1f
......@@ -41,7 +41,7 @@ class CreatedTaskDataCommand extends Command
*/
public function handle()
{
$setInfo = StrategySet::where([['disabled',0]])->get('strategy_sn')->toArray();
$setInfo = StrategySet::where([['disabled',0]])->get()->toArray();
if (!empty($setInfo)){
//$StrategyService = new StrategyService();
foreach ($setInfo as $k=>$v){
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment