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

Alliance   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 15
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 15
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A getOrderList() 0 4 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