修改运单取消接口调用
This commit is contained in:
parent
294462b370
commit
8e5b35e164
@ -138,7 +138,8 @@ public class OrderRequest {
|
||||
public void orderRevoke(int id){
|
||||
Map<String,Object> map=new HashMap<>();
|
||||
map.put("isPlatDispatch",0);
|
||||
map.put("order_id",id);
|
||||
map.put("orderId",id);
|
||||
map.put("remark","货主取消");
|
||||
Request re = OkHttpUtil.posts(new OkDate(UrlManager.getOrderRevoke(), "post", MapUtil.mapJson(map)),getToken(con),con);
|
||||
RequestTest.test(1,ORDER_REVOKE,re,con,hd);
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ import static com.oneclouds.cargo.request.OrderRequest.GOODS_TYPE;
|
||||
public class UrlManager {
|
||||
|
||||
//域名地址
|
||||
public static final String BASE_URL = "http://app.dahehuoyun.com/api";
|
||||
public static final String BASE_URL = "http://app.test.dahehuoyun.com/api";
|
||||
//http://request.one-clouds.com/api
|
||||
/*--货物小类管理--*/
|
||||
|
||||
@ -152,7 +152,8 @@ public class UrlManager {
|
||||
//货源删除
|
||||
private static final String ORDER_DEL = "/app/shipper/order/orderDel";
|
||||
//货源撤销
|
||||
private static final String ORDER_REVOKE = "/app/shipper/order/orderRevoke";
|
||||
private static final String ORDER_REVOKE = "/cost/cancelOrder";
|
||||
// private static final String ORDER_REVOKE = "/app/shipper/order/orderRevoke";
|
||||
//货源查询状态列表
|
||||
private static final String ORDER_STATELIST = "/app/shipper/order/orderStateList";
|
||||
//包装方式
|
||||
|
@ -17,7 +17,7 @@ import retrofit2.http.Query;
|
||||
|
||||
public interface Api {
|
||||
|
||||
String BASE_URL = "http://app.dahehuoyun.com/api/";
|
||||
String BASE_URL = "http://app.test.dahehuoyun.com/api/";
|
||||
|
||||
|
||||
//获取版本
|
||||
|
Loading…
Reference in New Issue
Block a user