소스 검색

青爻公众号

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

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

@@ -43,7 +43,7 @@ class WeixinService extends Service
         $url = sprintf($config['get_article'], $msg);
 
         $offset = empty($data['page_index']) ? 1 : $data['page_index'] - 1;
-        $count = empty($data['count']) || $data['count'] > 10 ? 10 : $data['count'];
+        $count = empty($data['page_size']) || $data['page_size'] > 10 ? 10 : $data['page_size'];
         $post = [
             'offset' => $offset,
             'count' => $count,