Commit 691ec355 by wutong

POST调用冗余计算任务.

parent 7345390f
...@@ -16,7 +16,7 @@ public class SkuWarehouseRedundancyJob implements SimpleJob { ...@@ -16,7 +16,7 @@ public class SkuWarehouseRedundancyJob implements SimpleJob {
@Override @Override
public void execute(ShardingContext shardingContext) { public void execute(ShardingContext shardingContext) {
Request request = new Request.Builder().url(propertiesUtil.getPropertyAsString("SKUWAREHOUSEREDUNDANCY_URL")) Request request = new Request.Builder().url(propertiesUtil.getPropertyAsString("SKUWAREHOUSEREDUNDANCY_URL"))
.get() .post(null)
.addHeader("Content-Type", "application/json") .addHeader("Content-Type", "application/json")
.build(); .build();
Response response = null; Response response = null;
......
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