感谢鱼皮。
一、新建SpringBoot项目
二、引入基础依赖
引入lombok(提供get、set方法)、configration-procssor(第三方引入包后,可以自动补全配置)
三、删除 pom 文件中不需要的依赖与插件,并删除 test 文件夹
在pom.xml文件中删除以下配置
<dependency><groupId>org.springframework.boot</groupId><artifactId>spring-boot-starter-test</artifactId><scope>test</scope>
</dependency><build><plugins><plugin><groupId>org.springframework.boot</groupId><artifactId>spring-boot-maven-plugin</artifactId><configuration><excludes><exclude><groupId>org.projectlombok</groupId><artifactId>lombok</artifactId></exclude></excludes></configuration></plugin></plugins>

四、创建测试请求类
package com.niuniu.demo;
import lombok.Data;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
/*** 实体类*/
@Data
public class User {private String sdkUserName;
}

五、直接打包


六、模拟第三方进行引用
a. 创建新测试项目,并引入自己打包到本地的sdk

b. 入口类进行内部调用测试
















