chengkun
2025-05-22 1a8aea45ebb1582c9f65d9e8dcd520002f83ae12
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
<?php
class GTCondition extends GTApiRequest{
    private $key;
    private $values;
    private $opt_type;
 
    public function getKey()
    {
        return $this->key;
    }
 
    public function setKey($key)
    {
        $this->key = $key;
        $this->apiParam["key"] = $key;
    }
 
    public function getValues()
    {
        return $this->values;
    }
 
    public function setValues($values)
    {
        $this->values = $values;
    }
 
    public function getOptType()
    {
        return $this->opt_type;
    }
 
    public function setOptType($opt_type)
    {
        $this->opt_type = $opt_type;
        $this->apiParam["opt_type"] = $opt_type;
    }
 
    public function getApiParam()
    {
        if ($this->values != null){
            $this->apiParam["values"] = $this->values;
        }
        return $this->apiParam;
    }
}