|
|
|
@ -22,7 +22,7 @@ public class TestJingYueShangMaoChengZhaJi {
|
|
|
|
|
jo.put("couponName", "充电减免");
|
|
|
|
|
jo.put("coupon_value", freeTime);//卷面值 分钟 | 分
|
|
|
|
|
jo.put("appid", appid);//应用编号
|
|
|
|
|
jo.put("ts", System.currentTimeMillis() / 1000);//时间戳
|
|
|
|
|
jo.put("ts", System.currentTimeMillis() / 1000);//时间戳,10位时间戳,与别人不一样噢
|
|
|
|
|
jo.put("sign", SignUtils.paramsAnKuaiSign(jo, appSecret));//签名
|
|
|
|
|
// 发送 POST 请求并获取响应
|
|
|
|
|
String result = HttpUtil.createPost(url)
|
|
|
|
|