vali 6 years ago
parent
commit
fd2e7caad7

+ 1 - 1
application/admin/controller/Sensitivec.php

@@ -69,7 +69,7 @@ class Sensitivec extends Base
             'status' => config('kf_status')
         ]);
 
-        return $this->fetch();
+        return $this->fetch('kfnotice/index');
     }
 
     //敏感词编辑

+ 1 - 1
application/service/controller/Dinterface.php

@@ -12,7 +12,7 @@ class Dinterface extends Common
 
     public function getNotice()
     {
-        $uid = input('param.uid');
+        $uid = input('post.uid');
         $uid = intval(trim($uid, 'KF'));
         $rets = (new ServicenoticeModel())->where(['uid' => $uid, 'readtime' => 0])->order('id asc')->limit(20)->select();
         if ($rets) {

+ 1 - 1
vendor/GatewayWorker_windows/Applications/whisper/Events.php

@@ -406,7 +406,7 @@ class Events
         foreach ($kfs as $gruop => $fs) {
             foreach ($fs as $kfid => $kfdata) {
                 if ($kfdata['status'] == 1) {
-                    $ret[$gruop][] = ['id' => $kfid, 'name' => $kfdata['name'], 'job_member' => $kfdata['job_name']];
+                    $ret[$gruop][] = ['id' => $kfid, 'name' => $kfdata['name'], 'job_member' => $kfdata['job_name'],'avatar'=>$kfdata['avatar']];
                 }
             }
         }