dever 7 年之前
父节点
当前提交
809b2f308c
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      task/src/Report.php

+ 1 - 1
task/src/Report.php

@@ -176,7 +176,7 @@ class Report extends Base
             }
         }
 
-        if ($data['username']) {
+        if (strstr(Dever::load("task/info.one#report_demand"), "username")) {
             $data['name'] = '账号:' . $data['username'] . $data['audit'];
         } else {
             $data['name'] = ' ' . $data['audit'];