mirror of
https://gitee.com/durcframework/SOP.git
synced 2025-08-11 12:56:28 +08:00
5.0
This commit is contained in:
@@ -19,7 +19,7 @@ import java.util.Map;
|
||||
/**
|
||||
* 简易客户端
|
||||
*
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
@Data
|
||||
public class Client {
|
||||
|
@@ -33,7 +33,7 @@ import java.util.concurrent.TimeUnit;
|
||||
|
||||
/**
|
||||
* http请求工具,基于OKHTTP3
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class HttpTool {
|
||||
private static final MediaType MEDIA_TYPE_JSON = MediaType.parse("application/json; charset=utf-8");
|
||||
@@ -419,7 +419,7 @@ public class HttpTool {
|
||||
|
||||
/**
|
||||
* 文件上传类
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
@Getter
|
||||
@Setter
|
||||
|
@@ -1,7 +1,7 @@
|
||||
package com.gitee.sop.test.taobao;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class Constants {
|
||||
public static final String SIGN_METHOD_HMAC = "hmac";
|
||||
|
@@ -13,7 +13,7 @@ import java.util.Arrays;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class TaobaoSignature {
|
||||
|
||||
|
@@ -19,7 +19,7 @@ import java.util.Optional;
|
||||
/**
|
||||
* 涵盖所有测试情况,发版前运行这个类,确保功能没有问题。
|
||||
*
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class AllInOneTest extends TestBase {
|
||||
|
||||
|
@@ -15,7 +15,7 @@ import java.util.Map;
|
||||
|
||||
/**
|
||||
* 文件下载
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class DownloadTest extends TestBase {
|
||||
|
||||
|
@@ -11,7 +11,7 @@ import java.util.Collections;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class TestBase extends TestCase {
|
||||
|
||||
|
@@ -10,7 +10,7 @@ import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
/**
|
||||
* @author tanghc
|
||||
* @author 六如
|
||||
*/
|
||||
public class ThrowExceptionDemoTest extends TestBase {
|
||||
|
||||
|
Reference in New Issue
Block a user