Conditions | 1 |
Paths | 1 |
Total Lines | 14 |
Code Lines | 11 |
Lines | 0 |
Ratio | 0 % |
Tests | 0 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
25 | public function list($offset = 0, $limit = 10) |
||
26 | { |
||
27 | $query = [ |
||
28 | 'query' => [ |
||
29 | 'action' => 'get_user_list', |
||
30 | 'limit' => $limit, |
||
31 | 'offset' => $offset, |
||
32 | 'f' => 'json', |
||
33 | 'lang' => 'zh_CN', |
||
34 | 'ajax' => '1', |
||
35 | 'random' => $this->getMillisecond(), |
||
36 | ] |
||
37 | ]; |
||
38 | return $this->httpGet('cgi-bin/user_tag', $query); |
||
39 | } |
||
41 |