likang преди 2 години
родител
ревизия
ef0e46e398
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      catch/tag_history/controller/TagHistory.php

+ 1 - 1
catch/tag_history/controller/TagHistory.php

@@ -119,10 +119,10 @@ class TagHistory extends CatchController
                     $list[$key]['step'] = $das['value'];
                     Db::name('config')->where('key', 'upload')->update(['value' => $das['value'] + 1]);
                 }
+                $list[$key]['lable'] = str_replace('30b5', '0000', $value['lable']);
             }
 
             $list[$key]['addTime'] = date('Y-m-d H:i:s', $value['addTime']);
-            $list[$key]['lable'] = str_replace('30b5', '0000', $value['lable']);
             $list[$key]['time'] = date('Y-m-d H:i:s', $da['time']);
         }
         return CatchResponse::success($list);