zxl
4 天以前 93bfb1c5512db9feceb16cd3084a92d4dedf615e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
// 统一请求路径前缀在libs/axios.js中修改
import {
  getRequest,
  postRequest,
  putRequest,
  deleteRequest
} from "@/libs/axios";
 
/**
 * 楼层装修设置
 *
 */
export const setHomeSetup = params => {
 
  return postRequest("/other/pageData/add", params);
};
 
/**
 * 获取页面信息
 *
 */
export const getHomeData = params => {
 
  return getRequest(`/other/pageData/${params}`);
};
 
 
/**
 * 查询楼层装修列表
 *
 */
export const getHomeList = params => {
 
  return getRequest("/other/pageData/pageDataList", params);
};
 
 
/**
 * 修改楼层装修
 *
 */
export const updateHome = (id, params) => {
 
  return putRequest(`/other/pageData/update/${id}`, params);
};
 
/**
 * 删除楼层装修
 *
 */
export const removePageHome = (id) => {
 
  return deleteRequest(`/other/pageData/remove/${id}`);
};
 
 
/**
 * 发布页面
 *
 */
export const releasePageHome = (id) => {
 
  return putRequest(`/other/pageData/release/${id}`);
};
 
//管理员获取发送列表
export const getMessagePage = (params) => {
  return getRequest(`/other/message`, params);
};
//管理员获取发送列表
export const sendMessage = (params) => {
  return postRequest(`/other/message`, params);
};
//管理员获取发送详情列表
export const getShopMessage = (params) => {
  return getRequest(`/other/storeMessage`, params);
};
 
//管理员获取会员意见反馈
export const getMemberFeedback = (params) => {
  return getRequest(`/other/feedback`, params);
};
 
//管理员获取会员意见反馈
export const getMemberFeedbackDetail = (id) => {
  return getRequest(`/other/feedback/${id}`);
};
 
//管理员获取发送详情列表
export const getMemberMessage = (params) => {
  return getRequest(`/other/memberMessage`, params);
};
 
// 弹窗广告
export const getOpenHomeData = params => {
  return getRequest(`/other/pageData/pageType/${params}`);
};
// 保存修改弹窗广告
export const addOpenHomeData = params => {
  return postRequest(`/other/pageData/pageType/${params}`);
};