lizhen_gitee hai 6 meses
pai
achega
628ec40fff
Modificáronse 1 ficheiros con 4 adicións e 0 borrados
  1. 4 0
      application/api/controller/worker/Jishuguifan.php

+ 4 - 0
application/api/controller/worker/Jishuguifan.php

@@ -78,6 +78,10 @@ class Jishuguifan extends Apiw
             $down_id = $down;
         }
 
+        if($info['tid'] == 0){
+            $info['tid'] = $info['id'];
+        }
+
         $rs = [
             'info' => $info,
             'is_collect' => $this->is_collect($info['tid'],$this->auth->id),