import request from '@/utils/request'

// 提交公开订单
export function submitPublicOrder(data) {
  return request({
    url: '/public/order/submit',
    method: 'post',
    data
  })
}

// 强制提交公开订单（带forceGenerate参数）
export function submitPublicOrderWithForce(data) {
  return request({
    url: '/public/order/submit',
    method: 'post',
    data: {
      ...data,
      forceGenerate: true
    }
  })
}

