// @ts-ignore

/* eslint-disable */
import { request } from 'umi';
import { getStoremanagementorder,getStoremanagement } from '@/global_data';

export default {

  page(data) {
    data.isreport = true;
    return request(getStoremanagementorder()+`/api/Order/ThirdOrderPage`, {
      method: 'Post',
      data: data,
    });
  },

  getThirdOrderInfo(data) {
    return request(getStoremanagementorder()+`/api/Order/GetThirdOrderInfo?thirdOrderId=`+data, {
      method: 'get',
    });
  },





  /** 获取订单流水信息*/
  orderList(data) {
    data.isreport = true;
    return request(getStoremanagementorder()+`/api/Order/PostDetail`, {
      method: 'Post',
      data: data,
      // params: { ...params },
      // ...(options || {}),
    });
  },

 /**
   * 查询店铺信息(设备信息)
   */
 srdList(data) {
  return request(getStoremanagementorder()+'/api/shop/alllist', {
    method: 'GET'
  });
},

GetFlowExport(data) {
  return request(getStoremanagementorder()+`/api/Order/GetFlowExport`, {
    method: 'Post',
    data: data
    
    // params: { ...params },
    // ...(options || {}),
  });
},

};


