chengkun
2025-05-26 8f3df543230cd4403368b39b9bbe5726d11a0284
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
 
require_once(dirname(__FILE__) . '/' . '../GTApiRequest.php');
 
class GTAuthRequest extends GTApiRequest
{
    //鉴权秘钥
    private $sign;
    //时间戳
    private $timestamp;
    //第三方标识
    private $appkey;
 
    public function getSign()
    {
        return $this->sign;
    }
 
    public function setSign($sign)
    {
        $this->sign = $sign;
        $this->apiParam["sign"] = $sign;
    }
 
    public function getTimestamp()
    {
        return $this->timestamp;
    }
 
    public function setTimestamp($timestamp)
    {
        $this->timestamp = $timestamp;
        $this->apiParam["timestamp"] = $timestamp;
    }
 
    public function getAppkey()
    {
        return $this->appkey;
    }
 
    public function setAppkey($appkey)
    {
        $this->appkey = $appkey;
        $this->apiParam["appkey"] = $appkey;
    }
}