|
@@ -47,7 +47,6 @@ import org.apache.http.client.methods.HttpPost;
|
|
|
import org.apache.http.client.utils.DateUtils;
|
|
|
import org.apache.http.impl.client.DefaultHttpClient;
|
|
|
import org.apache.http.message.BasicNameValuePair;
|
|
|
-import org.junit.Test;
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
@@ -62,7 +61,7 @@ import com.alibaba.fastjson.JSONObject;
|
|
|
* @Date: 2021/4/22 14:12
|
|
|
* @Description:
|
|
|
*/
|
|
|
-public class ZhongyiyunUtil {
|
|
|
+public class ZhongyiyunUtils {
|
|
|
|
|
|
public static String version = "1";
|
|
|
|
|
@@ -195,7 +194,7 @@ public class ZhongyiyunUtil {
|
|
|
* @Date 14:10 2021/4/25
|
|
|
* @Param
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void sohoSign() throws Exception {
|
|
|
String reqId = DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -241,7 +240,7 @@ public class ZhongyiyunUtil {
|
|
|
* @Date 14:10 2021/4/25
|
|
|
* @Param
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void rescindSoho() throws Exception {
|
|
|
String reqId = DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -341,7 +340,7 @@ public class ZhongyiyunUtil {
|
|
|
* @Date 14:10 2021/4/25
|
|
|
* @Param
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void openMerchantV2() throws Exception {
|
|
|
String reqId = DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -395,7 +394,7 @@ public class ZhongyiyunUtil {
|
|
|
* @Date 14:10 2021/4/25
|
|
|
* @Param
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void supplementInfo() throws Exception {
|
|
|
String reqId = DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -475,7 +474,7 @@ public class ZhongyiyunUtil {
|
|
|
* @Date 14:10 2021/4/25
|
|
|
* @Param
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void openMerchant() throws Exception {
|
|
|
String reqId = DateUtils.formatDate(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -571,7 +570,7 @@ public class ZhongyiyunUtil {
|
|
|
/**
|
|
|
* Soho解约,仅限特定客户业务对接
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void terminateContract() throws Exception {
|
|
|
String reqId = DateUtil.format(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|
|
@@ -1024,7 +1023,7 @@ public class ZhongyiyunUtil {
|
|
|
/**
|
|
|
* 特定客户代付对接
|
|
|
**/
|
|
|
- @Test
|
|
|
+// @Test
|
|
|
public static void customPay() throws Exception {
|
|
|
String reqId = DateUtil.format(new Date(), "yyyyMMddHHmmss");
|
|
|
Map<String, Object> params = new HashMap<>();
|