-
Notifications
You must be signed in to change notification settings - Fork 3
/
pdd.ddk.oauth.go
94 lines (76 loc) · 1.56 KB
/
pdd.ddk.oauth.go
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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
package pinduoduo
type PddDdkOauthClient struct {
client *Client
}
// PddDdkOauth 工具商接口
func (c *Client) PddDdkOauth() *PddDdkOauthClient {
return &PddDdkOauthClient{
client: c,
}
}
type PddDdkOauthCashGiftApi struct {
client *Client
}
// CashGift 多多礼金接口
func (c *PddDdkOauthClient) CashGift() *PddDdkOauthCashGiftApi {
return &PddDdkOauthCashGiftApi{
client: c.client,
}
}
type PddDdkOauthCmsApi struct {
client *Client
}
func (c *PddDdkOauthClient) Cms() *PddDdkOauthCmsApi {
return &PddDdkOauthCmsApi{
client: c.client,
}
}
type PddDdkOauthGoodsApi struct {
client *Client
}
// Goods 商品接口
func (c *PddDdkOauthClient) Goods() *PddDdkOauthGoodsApi {
return &PddDdkOauthGoodsApi{
client: c.client,
}
}
type PddDdkOauthMemberApi struct {
client *Client
}
func (c *PddDdkOauthClient) Member() *PddDdkOauthMemberApi {
return &PddDdkOauthMemberApi{
client: c.client,
}
}
type PddDdkOauthOrderApi struct {
client *Client
}
func (c *PddDdkOauthClient) Order() *PddDdkOauthOrderApi {
return &PddDdkOauthOrderApi{
client: c.client,
}
}
type PddDdkOauthPidApi struct {
client *Client
}
func (c *PddDdkOauthClient) Pid() *PddDdkOauthPidApi {
return &PddDdkOauthPidApi{
client: c.client,
}
}
type PddDdkOauthResourceApi struct {
client *Client
}
func (c *PddDdkOauthClient) Resource() *PddDdkOauthResourceApi {
return &PddDdkOauthResourceApi{
client: c.client,
}
}
type PddDdkOauthRpApi struct {
client *Client
}
func (c *PddDdkOauthClient) Rp() *PddDdkOauthRpApi {
return &PddDdkOauthRpApi{
client: c.client,
}
}