提交 | 用户 | age
|
a6a76f
|
1 |
package com.yc.utils; |
F |
2 |
|
|
3 |
/** |
|
4 |
* 淘宝接口参数接口调用bean |
|
5 |
* @author 辛煜波 |
|
6 |
* |
|
7 |
*/ |
|
8 |
public class AppkeyBean { |
|
9 |
|
|
10 |
/** |
|
11 |
* 淘宝接口调用参数字段 |
|
12 |
*/ |
|
13 |
|
|
14 |
private String appName=""; |
|
15 |
private String appKey=""; //key |
|
16 |
private String appsecret=""; //密钥 |
|
17 |
private String url="http://gw.api.taobao.com/router/rest"; //调用地址(沙箱测试http://gw.api.tbsandbox.com/router/rest) //正式环境需要设置为:http://gw.api.taobao.com/router/rest |
|
18 |
|
|
19 |
private String topsession=""; //授权码 |
|
20 |
private String topsign=""; //回调签名 |
|
21 |
private String topparmets=""; //参数集 |
|
22 |
|
|
23 |
|
|
24 |
public String getUrl() { |
|
25 |
return url; |
|
26 |
} |
|
27 |
public void setUrl(String url) { |
|
28 |
this.url = url; |
|
29 |
} |
|
30 |
public String getAppName() { |
|
31 |
return appName; |
|
32 |
} |
|
33 |
public void setAppName(String appName) { |
|
34 |
this.appName = appName; |
|
35 |
} |
|
36 |
public String getAppKey() { |
|
37 |
return appKey; |
|
38 |
} |
|
39 |
public void setAppKey(String appKey) { |
|
40 |
this.appKey = appKey; |
|
41 |
} |
|
42 |
public String getAppsecret() { |
|
43 |
return appsecret; |
|
44 |
} |
|
45 |
public void setAppsecret(String appsecret) { |
|
46 |
this.appsecret = appsecret; |
|
47 |
} |
|
48 |
public String getTopsession() { |
|
49 |
return topsession; |
|
50 |
} |
|
51 |
public void setTopsession(String topsession) { |
|
52 |
this.topsession = topsession; |
|
53 |
} |
|
54 |
|
|
55 |
public String getTopsign() { |
|
56 |
return topsign; |
|
57 |
} |
|
58 |
public void setTopsign(String topsign) { |
|
59 |
this.topsign = topsign; |
|
60 |
} |
|
61 |
public String getTopparmets() { |
|
62 |
return topparmets; |
|
63 |
} |
|
64 |
public void setTopparmets(String topparmets) { |
|
65 |
this.topparmets = topparmets; |
|
66 |
} |
|
67 |
|
|
68 |
} |