Browse Source

技术规范

lizhen_gitee 6 months ago
parent
commit
628ec40fff
1 changed files with 4 additions and 0 deletions
  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),