// @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/ThirdAuthorize/Page`, {
      method: 'Post',
      data: data,
    });
  },
  GetAllStore() {
		return request(getStoremanagement()+'/api/shop/alllist', {
			method: 'GET'
		});
	},
  Create(data) {
		return request(getStoremanagementorder()+'/api/ThirdAuthorize/Create', {
			method: 'Post',
      data: data,
		});
	},
  Update(data) {
		return request(getStoremanagementorder()+'/api/ThirdAuthorize/Update', {
			method: 'Post',
      data: data,
		});
	},
  Del(data) {
		return request(getStoremanagementorder()+'/api/ThirdAuthorize/Del?id='+data, {
			method: 'Post',
		});
	},

  

};


