Completed
Push — main ( ee4246...c70c05 )
by Abbotton
01:52
created

Alliance::getOrderList()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace Abbotton\DouDian\Api;
4
5
use Illuminate\Http\Client\RequestException;
6
use Psr\SimpleCache\InvalidArgumentException;
7
8
class Alliance extends BaseRequest
9
{
10
    /**
11
     * 查询联盟订单明细.
12
     *
13
     * @param  array  $params
14
     * @return array
15
     * @throws RequestException
16
     * @throws InvalidArgumentException
17
     */
18
    public function getOrderList(array $params): array
19
    {
20
        return $this->httpPost('alliance/getOrderList', $params);
21
    }
22
}
23