public function approvalRecords(int $startTime, int $endTime, int $nextNumber = null)
    {
        $params = [
            'starttime' => $startTime,
            'endtime' => $endTime,
            'next_spnum' => $nextNumber,
        ];

        return $this->httpPostJson('cgi-bin/corp/getapprovaldata', $params);
    }
public function approvalRecords(int $startTime, int $endTime, int $nextNumber = null)
    {
        $params = [
            'starttime' => $startTime,
            'endtime' => $endTime,
            'next_spnum' => $nextNumber,
        ];

        return $this->httpPostJson('cgi-bin/corp/getapprovaldata', $params);
    }
public function approvalRecords ( int $ startTime , int $ endTime , int $ nextNumber = null ) { $ params = [ 'starttime' => $ startTime , 'endtime' => $ endTime , 'next_spnum' => $ nextNumber , ] ; return $ this -> httpPostJson ( 'cgi-bin/corp/getapprovaldata' , $ params ) ; }
Get Approval Data.

@param int $startTime
@param int $endTime
@param int $nextNumber

@return mixed
Get Approval Data .