|
|
|
@@ -5,6 +5,7 @@ import com.alibaba.fastjson.JSONArray; |
|
|
|
import com.alibaba.fastjson.JSONObject; |
|
|
|
import com.iformall.enums.EnumCouponUnit; |
|
|
|
import com.iformall.utils.MapUtil; |
|
|
|
import org.apache.commons.lang3.StringUtils; |
|
|
|
import org.apache.http.Consts; |
|
|
|
import org.apache.http.HttpEntity; |
|
|
|
import org.apache.http.HttpResponse; |
|
|
|
@@ -156,7 +157,9 @@ public class TJDUtil { |
|
|
|
sb.append(entry.getKey()).append("=").append(entry.getValue()).append("&"); |
|
|
|
} |
|
|
|
} |
|
|
|
sb.deleteCharAt(sb.length()-1);// ? |
|
|
|
if(StringUtils.isNotBlank(sb)){ |
|
|
|
sb.deleteCharAt(sb.length()-1);// ? |
|
|
|
} |
|
|
|
sb.append(keysign); |
|
|
|
logger.debug("签名前的字符串输出:"+sb.toString()); |
|
|
|
String signValue = md5(sb.toString()).toUpperCase(); |
|
|
|
|