import request from "@/utils/request";
import { Order_BaseUrl } from "@/api/config";
const baseURL = Order_BaseUrl + "/admin";
const FinanceApi = {
  financeBase(params: Request) {
    return request<any, any>({
      url: `${baseURL}/finance/base`,
      method: "get",
      params
    });
  },

};

export interface Request {
  /**
   * 日期yyyy-MM-dd
   */
  date: string;
  shopId: number;
  type: string;
  [property: string]: any;
}


export default FinanceApi;
