package com.ruoyi.erp.request;

import com.alibaba.fastjson2.JSONObject;

/**
 * 下架商品请求
 *
 * 对应接口：POST /api/open/product/downShelf
 */
public class ProductDownShelfRequest extends ERPRequestBase {
	public ProductDownShelfRequest(IERPAccount erpAccount) {
		super("https://open.goofish.pro/api/open/product/downShelf", erpAccount);
	}

	public void setProductId(long productId) {
		ensureBody();
		this.requestBody.put("product_id", productId);
	}

	private void ensureBody() {
		if (this.requestBody == null) this.requestBody = new JSONObject();
	}
}


