PublicMethod/customerService/index.js
(完整代码) 1KBconst publicMethods = require('../public');
const NewApi = require('../../utils/NewApi');
const commonMethods = require('../../utils/CommonMethod');
const app = getApp();
import Notify from '../../miniprogram/miniprogram_npm/@vant/weapp/notify/notify';
// 获取关于我们
let getAbout = () => NewApi.api(0,"GET","soulide/wenzhang/common.aspx?b=aboutus",'')
//提交售前咨询
let setConsultingService = (service,name,phone,remark) =>NewApi.api(4,"GET","",{ busstype: 'insert_xunjia',userid: wx.getStorageSync('userInfo').id,service,name,phone,remark})
// 售前询价发送短信
let InquirySMS = (phone,content) => NewApi.api(1,"GET","",{busstype: 'sendsms_xunjia',class: '询价',phone: phone,xuqiu: content})
// 维保 提交后发送短信
let ConsultationMessage = (phone,content) => NewApi.api(1,"GET","",{busstype: 'sendsms_baodan',class: '维保',phone: phone,xuqiu: content})
// 维保提交
let Maintenance = (cname, uname, phone,remark) => NewApi.api(4,"GET","",{busstype:'insert_weibao',userid:wx.getStorageSync('userInfo').id, cname, uname, phone,remark})
module.exports = {
getAbout,
setConsultingService,
ConsultationMessage,
InquirySMS,Maintenance
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
