|
|
@@ -0,0 +1,36 @@
|
|
|
+/*
|
|
|
+ * @Description:
|
|
|
+ * @Author: admin
|
|
|
+ * @Date: 2021-11-05
|
|
|
+ * @LastEditTime: 2022-06-23
|
|
|
+ * @LastEditors: admin
|
|
|
+ */
|
|
|
+import { postRequest, getRequest, getDownload } from '/@/lib/axios';
|
|
|
+
|
|
|
+export const giftApi = {
|
|
|
+ // 分页查询 @author zhuoda
|
|
|
+ queryCostList: (param) => {
|
|
|
+ return getRequest(`/supports/delivery/day/cost/structure?date=${param}`);
|
|
|
+ },
|
|
|
+ querySummaryInfo: (param) => {
|
|
|
+ return getRequest(`/supports/delivery/month/cost/structure?month=${param}`);
|
|
|
+ },
|
|
|
+ querySummaryInfo: (param) => {
|
|
|
+ return getRequest(`/supports/delivery/month/cost/structure?month=${param}`);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 礼品信息新增
|
|
|
+ addGiftInfo: (params) => {
|
|
|
+ return postRequest('/supports/present/add', params);
|
|
|
+ },
|
|
|
+
|
|
|
+ // 礼品信息修改
|
|
|
+ editGiftInfo: (params) => {
|
|
|
+ return postRequest('/supports/present/edit', params);
|
|
|
+ },
|
|
|
+
|
|
|
+ //礼品删除
|
|
|
+ delGiftInfo: (id) => {
|
|
|
+ return getRequest(`/supports/present/delete/${id}`);
|
|
|
+ },
|
|
|
+};
|