import com.ump.api.paygate.Mer2Ump;
import java.text.SimpleDateFormat;
import java.util.*;
public class TestMer2Ump {
//准备一些测试必需的参数值
private static Date date = new Date();
private static SimpleDateFormat sdf = new SimpleDateFormat("yyyyMMddhhmm");
private static String orderid = sdf.format(date);
private static SimpleDateFormat sdf1 = new SimpleDateFormat("yyyyMMdd");
private static String merdate = sdf1.format(date);
private static String mer_id = "60000100";
private static String charset = "UTF-8";
private static String sign_type="RSA";
private static String res_format = "HTML";
相关分类