Commit 66193ece 66193ece505aad91d77403b02f56f465820fd5a1 by zhanghao

commit

1 parent aa5a6ed8
1 #
2 .idea/*
3 logs/*
4 lib/*
5 target/*
6 jmeterTool.iml
7 src/test/*
8 *.png
9 ~*.xlsm
10 dependency-reduced-pom.xml
11 README.md
...\ No newline at end of file ...\ No newline at end of file
1 <?xml version="1.0" encoding="UTF-8"?>
2 <project xmlns="http://maven.apache.org/POM/4.0.0"
3 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
5 <modelVersion>4.0.0</modelVersion>
6
7 <groupId>com.chinabr.jmetertool</groupId>
8 <artifactId>jmeterTool</artifactId>
9 <version>1.0.0</version>
10 <packaging>jar</packaging>
11 <name>BrApiTest</name>
12 <url>http://maven.apache.org</url>
13
14 <properties>
15 <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
16 <aspectj.version>1.8.10</aspectj.version>
17 </properties>
18
19 <build>
20 <plugins>
21 <plugin>
22 <!--定义编译版本 -->
23 <groupId>org.apache.maven.plugins</groupId>
24 <artifactId>maven-compiler-plugin</artifactId>
25 <version>3.0</version>
26 <configuration>
27 <source>1.8</source>
28 <target>1.8</target>
29 <encoding>UTF-8</encoding>
30 </configuration>
31 </plugin>
32 </plugins>
33 </build>
34 </project>
...\ No newline at end of file ...\ No newline at end of file
1 package com.chinabr.jmetertool;
2
3 public class Constants {
4 /**
5 * 新版本key
6 */
7 public static String AES_KEY="mJmzkWttn2eEhJI4";
8 public static String SIGN_KEY="as1UoGe3zIdgpDu3";
9 }
1 package com.chinabr.jmetertool;
2
3 import java.util.Date;
4
5 public class RequestParamsBean {
6 private String app_id = "";
7 private String auth_data = "";
8 private String biz_data = "";
9 private String imei = "";
10 private String method = "";
11 private String otaKey = "";
12 private String platform = "";
13 private String version = "";
14 private String timestamp = String.valueOf(new Date().getTime());
15 private String token = "";
16 private String uid = "";
17 private String sign = "";
18
19 public String getApp_id() {
20 return app_id;
21 }
22
23 public void setApp_id(String app_id) {
24 this.app_id = app_id;
25 }
26
27 public String getAuth_data() {
28 return auth_data;
29 }
30
31 public void setAuth_data(String auth_data) {
32 this.auth_data = auth_data;
33 }
34
35 public String getBiz_data() {
36 return biz_data;
37 }
38
39 public void setBiz_data(String biz_data) {
40 this.biz_data = biz_data;
41 }
42
43 public String getImei() {
44 return imei;
45 }
46
47 public void setImei(String imei) {
48 this.imei = imei;
49 }
50
51 public String getMethod() {
52 return method;
53 }
54
55 public void setMethod(String method) {
56 this.method = method;
57 }
58
59 public String getOtaKey() {
60 return otaKey;
61 }
62
63 public void setOtaKey(String otaKey) {
64 this.otaKey = otaKey;
65 }
66
67 public String getPlatform() {
68 return platform;
69 }
70
71 public void setPlatform(String platform) {
72 this.platform = platform;
73 }
74
75 public String getVersion() {
76 return version;
77 }
78
79 public void setVersion(String version) {
80 this.version = version;
81 }
82
83 public String getTimestamp() {
84 return timestamp;
85 }
86
87 public void setTimestamp(String timestamp) {
88 this.timestamp = timestamp;
89 }
90
91 public String getToken() {
92 if(token == null) {
93 token = "";
94 }
95 return token;
96 }
97
98 public void setToken(String token) {
99 this.token = token;
100 }
101
102 public String getUid() {
103 if(uid == null) {
104 uid = "";
105 }
106 return uid;
107 }
108
109 public void setUid(String uid) {
110 this.uid = uid;
111 }
112
113 public String getSign() {
114 return sign;
115 }
116
117 public void setSign(String sign) {
118 this.sign = sign;
119 }
120 }
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.