// @ts-ignore

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

export default {

  page(data) {
    data.isreport = true;
    return request(getgroupmealorderUrl()+`/api/ThirdAuthorize/Page`, {
      method: 'Post',
      data: data,
    });
  },
  GetAllStore() {
		return request(getgroupmealUrl()+'/api/shop/alllist', {
			method: 'GET'
		});
	},
  Create(data) {
		return request(getgroupmealorderUrl()+'/api/ThirdAuthorize/Create', {
			method: 'Post',
      data: data,
		});
	},
  Update(data) {
		return request(getgroupmealorderUrl()+'/api/ThirdAuthorize/Update', {
			method: 'Post',
      data: data,
		});
	},
  Del(data) {
		return request(getgroupmealorderUrl()+'/api/ThirdAuthorize/Del?id='+data, {
			method: 'Post',
		});
	},

  

};


