import {http} from '@/utils/http'


// 获取州列表
export const getStateListApi = () => http.post<Record<string, any>>('/app/continent/list')

// 拒绝用户订单
export const rejectUserOrderApi = (data: {
    orderId: string
}) => http.post<Record<string, any>>('/app/merchantOrder/rejectOrder', data)

// 获取字典列表信息
export const getDictFineList = (data: Record<string, any>) =>
    http.post<Dict[]>('/app/dict/findList', data);

// 删除优惠券
export const deleteCouponApi = (id: string) => http.delete<Record<string, any>>(`/app/coupon/deleteCoupon/${id}`)
