Files
ruoyi-java/ruoyi-system/src/main/java/com/ruoyi/erp/request/OrderModifyPriceRequest.java
2026-04-09 00:09:09 +08:00

23 lines
792 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package com.ruoyi.erp.request;
import com.alibaba.fastjson2.JSONObject;
/**
* 订单修改价格请求
*
* 对应接口POST /api/open/order/modify/price
*/
public class OrderModifyPriceRequest extends ERPRequestBase {
public OrderModifyPriceRequest(IERPAccount 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(); }
}