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.
37 lines
989 B
37 lines
989 B
/*
|
|
* @Descripttion:
|
|
* @version:
|
|
* @Author: Lone
|
|
* @Date: 2021-10-28 22:48:56
|
|
* @LastEditors: Lone
|
|
* @LastEditTime: 2021-12-19 22:56:13
|
|
*/
|
|
import Axios from '../utils/axios-util'
|
|
|
|
let lineBase = 'api/line/';
|
|
export default {
|
|
/* 頻道相關 */
|
|
getAllLineChannel: params => {
|
|
return Axios.POST(lineBase + 'linechannel/getAllLineChannel', params, true);
|
|
},
|
|
bindLineChannel: params => {
|
|
return Axios.POST(lineBase + 'linechannel/bindLineChannel', params, true);
|
|
},
|
|
disconnectLineChannel: params => {
|
|
return Axios.POST(lineBase + 'linechannel/disconnectLineChannel', params, true);
|
|
},
|
|
|
|
|
|
|
|
/* 消息相關 */
|
|
sendMessage: params => {
|
|
return Axios.POST(lineBase + 'linemessage/sendMessage', params, true);
|
|
},
|
|
getAllContactFollowers: params => {
|
|
return Axios.POST(lineBase + 'linemessage/getAllContactFollowers', params, true);
|
|
},
|
|
getLineMessageListByUserId: params => {
|
|
return Axios.POST(lineBase + 'linemessage/getLineMessageListByUserId', params, true);
|
|
},
|
|
|
|
}
|
|
|