소스 검색

青爻公众号

cqp 10 달 전
부모
커밋
d5dcbb35a5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Service/Weixin/WeixinService.php

+ 1 - 1
app/Service/Weixin/WeixinService.php

@@ -54,7 +54,7 @@ class WeixinService extends Service
 
         if(isset($result['errmsg'])) return [false, $result['errmsg']];
 
-        return [true, ['data' => $result['item'] ?? [], 'total' => $result['total_count']]];
+        return [true, ['data' => $result['item'] ?? [], 'total' => $result['total_count'], 'data_count' => $result['item_count']]];
     }
 
     public function rule($data){