home.js 714 Bytes
import api from "../request/http";
module.exports = {
  /**获取发拍单列表 */
  getAuctionList(data) {
    return api.post({
      method: "/rest/audit/page",
      ...data,
    });
  },
  /**保存-编辑发拍单 */
  saveAuction(data) {
    return api.fetch("/rest/audit/save", data);
  },
  /**保存-重新发拍 */
  rePublishAuction(data) {
    return api.fetch("/rest/audit/rePublish", data);
  },
  /**下架发拍单 */
  offShelfAuction(data) {
    return api.get({
      method: "/rest/audit/offShelf/" + data.id,
      ...data,
    });
  },
	/**查询发拍单详情 */
	getAuctionDetail(data) {
    return api.get({
      method: "/rest/audit/detail/" + data.id,
      ...data,
    });
  },
};