diff --git a/common/libraries/Qyrobot.php b/common/libraries/Qyrobot.php index c1a5ffdc..1b8c477a 100644 --- a/common/libraries/Qyrobot.php +++ b/common/libraries/Qyrobot.php @@ -574,10 +574,11 @@ class Qyrobot{ ], ]; $content[] = $header; + $day_title = $type ? $info['day'] : '本日'; $content[] = [ [ 'tag' => 'text', - 'text' => '本日累计成交:', + 'text' => $day_title.'累计成交:', ], [ 'tag' => 'a', @@ -611,10 +612,11 @@ class Qyrobot{ $content[] = $temp_info; } } + $month_title = $type ? $info['month_show'] : '本月'; $content[] = [ [ 'tag' => 'text', - 'text' => '本月累计成交:', + 'text' => $month_title.'累计成交:', ], [ 'tag' => 'a',