This commit is contained in:
2025-08-18 01:58:23 +08:00
parent 33567109ed
commit 5e8c9614ef
71 changed files with 6864 additions and 6 deletions

View File

@@ -0,0 +1,22 @@
package com.ruoyi.erp.request;
import com.alibaba.fastjson2.JSONObject;
/**
* 订单修改价格请求
*
* 对应接口POST /api/open/order/modify/price
*/
public class OrderModifyPriceRequest extends ERPRequestBase {
public OrderModifyPriceRequest(ERPAccount erpAccount) {
super("https://open.goofish.pro/api/open/order/modify/price", erpAccount);
}
public void setOrderNo(String orderNo) { ensureBody(); this.requestBody.put("order_no", orderNo); }
public void setExpressFee(long expressFee) { ensureBody(); this.requestBody.put("express_fee", expressFee); }
public void setOrderPrice(long orderPrice) { ensureBody(); this.requestBody.put("order_price", orderPrice); }
private void ensureBody() { if (this.requestBody == null) this.requestBody = new JSONObject(); }
}