Commit cbf3a02f authored by Quxl's avatar Quxl

d

parent c381b1d7
package com.egolm.shop.util;
import java.util.SortedMap;
import java.util.TreeMap;
import com.egolm.common.HttpUtil;
import com.egolm.common.MD5Util;
public class SolrUtil {
public static void main(String[] args) {
SortedMap<Object,Object> parameters = new TreeMap<Object,Object>();
parameters.put("timestamp", System.currentTimeMillis());
parameters.put("langID", "zh_CN");
parameters.put("terminal", "wechat");
parameters.put("md5Key", "E67720C4E7B84615D7EAF106EBC8E677");
String createSign = MD5Util.createSign("UTF-8", parameters);
parameters.put("sign", createSign);
HttpUtil.post("")
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment