QueryGroups::getRequestPath()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 1
c 1
b 0
f 0
dl 0
loc 3
rs 10
cc 1
nc 1
nop 0
1
<?php
2
/**
3
 * This file is part of the mucts.com.
4
 *
5
 * This source file is subject to the MIT license that is bundled
6
 * with this source code in the file LICENSE.
7
 *
8
 * @version 1.0
9
 * @author herry<[email protected]>
10
 * @copyright © 2020  MuCTS.com All Rights Reserved.
11
 */
12
13
namespace MuCTS\Sobot\Agents;
14
15
16
use MuCTS\Sobot\Contracts\Sobot;
17
18
/**
19
 * Class QueryGroups
20
 * 查询技能组
21
 *
22
 * 接口说明:
23
 * 获取所属公司技能组信息
24
 *
25
 * @method QueryGroups pageNo(int $value) 起始页码, 不传或参数为错误值, 默认1
26
 * @method QueryGroups pageSize(int $value) 每页条数, 不传或参数为错误值, 默认每页15条
27
 *
28
 * @package MuCTS\Sobot\Agents
29
 */
30
class QueryGroups extends Sobot
31
{
32
33
    public function getRequestMethod(): string
34
    {
35
        return self::METHOD_GET;
36
    }
37
38
    public function getRequestPath(): string
39
    {
40
        return '/api/basic/5/agent/query_groups';
41
    }
42
}