Skip to content

Commit 6849634

Browse files
author
linfeng
committed
优化结构,添加包裹请求客户端
1 parent f32dd70 commit 6849634

2 files changed

Lines changed: 1 addition & 8 deletions

File tree

api-wrap-test/pom.xml

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,6 @@
2323
<artifactId>api-wrap-client</artifactId>
2424
<version>1.0.1</version>
2525
</dependency>
26-
<dependency>
27-
<groupId>commons-beanutils</groupId>
28-
<artifactId>commons-beanutils</artifactId>
29-
<version>1.9.4</version>
30-
</dependency>
3126
<dependency>
3227
<groupId>org.springframework.boot</groupId>
3328
<artifactId>spring-boot-starter-web</artifactId>
Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,13 @@
11
package com.seelyn.apiwrap.utils;
22

33
import com.parsechina.apiwarp.web.DefaultWrapData;
4-
import org.apache.commons.beanutils.BeanUtils;
54

65
public class WrapUtilsTest {
76

87
@org.junit.Test
98
public void beanToMap() {
109
DefaultWrapData wrapData = new DefaultWrapData();
1110
wrapData.setUrl("http://www.baidu.com");
12-
WrapUtils.toMap(wrapData);
13-
11+
WrapUtils.beanToMap(wrapData);
1412
}
1513
}

0 commit comments

Comments
 (0)