lizhen_gitee 6 månader sedan
förälder
incheckning
628ec40fff
1 ändrade filer med 4 tillägg och 0 borttagningar
  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),