GetTicketData::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
4
namespace MuCTS\Sobot\Tickets;
5
6
7
use MuCTS\Sobot\Contracts\Sobot;
8
9
/**
10
 * Class GetTicketData
11
 * 查询工单统计概览
12
 *
13
 * 接口说明:
14
 * 获取某个时间段工单对应的数量。
15
 * @method GetTicketData whereStartDatetime(string $startDatetime) 开始时间,2019-09-18 00:00:00
16
 * @method GetTicketData whereEndDatetime(string $endDatetime) 结束时间,2019-09-18 23:59:59
17
 * @package MuCTS\Sobot\Tickets
18
 */
19
class GetTicketData extends Sobot
20
{
21
22
    public function getRequestMethod(): string
23
    {
24
        return self::METHOD_GET;
25
    }
26
27
    public function getRequestPath(): string
28
    {
29
        return '/api/ws/5/ticket/get_ticket_data';
30
    }
31
}