12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697 |
- import request from '@/utils/request'
- // 查询公司短信列表
- export function listCompanySms(query) {
- return request({
- url: '/company/companySms/list',
- method: 'get',
- params: query
- })
- }
- // 查询公司短信详细
- export function getCompanySms(smsId) {
- return request({
- url: '/company/companySms/' + smsId,
- method: 'get'
- })
- }
- // 新增公司短信
- export function addCompanySms(data) {
- return request({
- url: '/company/companySms',
- method: 'post',
- data: data
- })
- }
- export function sendCustomerMsg(data) {
- return request({
- url: '/company/companySms/sendCustomerMsg',
- method: 'post',
- data: data
- })
- }
- export function sendStoreOrderMsg(data) {
- return request({
- url: '/company/companySms/sendOrderMsg',
- method: 'post',
- data: data
- })
- }
- export function sendPackageOrderMsg(data) {
- return request({
- url: '/company/companySms/sendPackageOrderMsg',
- method: 'post',
- data: data
- })
- }
-
- export function sendCustomerBatchMsg(data) {
- return request({
- url: '/company/companySms/sendCustomerBatchMsg',
- method: 'post',
- data: data
- })
- }
- export function getCompanySmsCount() {
- return request({
- url: '/company/companySms/getCompanySmsCount',
- method: 'get'
- })
- }
- // 修改公司短信
- export function updateCompanySms(data) {
- return request({
- url: '/company/companySms',
- method: 'put',
- data: data
- })
- }
- // 删除公司短信
- export function delCompanySms(smsId) {
- return request({
- url: '/company/companySms/' + smsId,
- method: 'delete'
- })
- }
- // 导出公司短信
- export function exportCompanySms(query) {
- return request({
- url: '/company/companySms/export',
- method: 'get',
- params: query
- })
- }
|