|
@@ -12,6 +12,7 @@ import java.util.concurrent.locks.ReentrantLock;
|
|
|
import com.iamberry.wechat.core.entity.admin.ShopSystemRule;
|
|
|
import com.iamberry.wechat.face.admin.SystemService;
|
|
|
import com.iamberry.wechat.tools.HttpClient431Util;
|
|
|
+import com.iamberry.wechat.tools.NameUtils;
|
|
|
import org.apache.commons.lang.StringUtils;
|
|
|
import org.springframework.beans.factory.InitializingBean;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
@@ -363,18 +364,9 @@ public class MQTask implements InitializingBean {
|
|
|
try{
|
|
|
//获取cookie值
|
|
|
ShopSystemRule rule = systemService.selectOneShopRuleById(244);
|
|
|
-
|
|
|
String phone = "13590159563";
|
|
|
- String url = "http://121.199.165.244/efast_test/order_export.php";
|
|
|
+ String url = NameUtils.getConfig("efast_order_url") + phone;
|
|
|
Map<String,String> params = new HashMap<String,String>();
|
|
|
- params.put("mobile",phone); //手机号码
|
|
|
- params.put("is_ajax","1");
|
|
|
- params.put("act","query_order_export");
|
|
|
- params.put("no_confirm","1"); //未确认
|
|
|
- params.put("is_confirm","1"); //已确认
|
|
|
- params.put("is_shipping","1"); //已发货
|
|
|
- params.put("no_shipping","1"); //未发货
|
|
|
- params.put("wait_shipping","1");//待发货
|
|
|
String cookie = rule.getRuleDesc();
|
|
|
//查询百胜订单信息
|
|
|
String str = HttpClient431Util.doGet(params,url,null,null,cookie);
|