You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
617 B
32 lines
617 B
3 months ago
|
import request from '@/sheep/request';
|
||
|
|
||
|
const KeFuApi = {
|
||
|
sendKefuMessage: (data) => {
|
||
|
return request({
|
||
|
url: '/promotion/kefu-message/send',
|
||
|
method: 'POST',
|
||
|
data,
|
||
|
custom: {
|
||
|
auth: true,
|
||
|
showLoading: true,
|
||
|
loadingMsg: '发送中',
|
||
|
showSuccess: true,
|
||
|
successMsg: '发送成功',
|
||
|
},
|
||
|
});
|
||
|
},
|
||
|
getKefuMessagePage: (params) => {
|
||
|
return request({
|
||
|
url: '/promotion/kefu-message/page',
|
||
|
method: 'GET',
|
||
|
params,
|
||
|
custom: {
|
||
|
auth: true,
|
||
|
showLoading: false,
|
||
|
},
|
||
|
});
|
||
|
},
|
||
|
};
|
||
|
|
||
|
export default KeFuApi;
|