public class DianWoDaFunctions extends AbstractFunctionRule
LOGGER| 构造器和说明 |
|---|
DianWoDaFunctions() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static com.alibaba.fastjson.JSONObject |
doSend(String url,
Map<String,Object> businessParams)
模拟发送http请求
|
static com.alibaba.fastjson.JSONObject |
order_send(OrderModel ot)
派发订单 /api/v3/order-send.json
|
public static com.alibaba.fastjson.JSONObject order_send(OrderModel ot) throws org.apache.http.client.ClientProtocolException, IOException
IOExceptionorg.apache.http.client.ClientProtocolExceptionExceptionprotected static com.alibaba.fastjson.JSONObject doSend(String url, Map<String,Object> businessParams) throws org.apache.http.client.ClientProtocolException, IOException
api - 业务api接口businessParams - 业务参数IOExceptionorg.apache.http.client.ClientProtocolExceptionCopyright © 2019. All rights reserved.