免费国产欧美国日产_少妇AV一区二区三区无码_蜜桃精品av无码喷奶水小说_jk18禁网站视频_精产国品一二三级产品区别_被夫の上司に犯波多野结衣_78m成人手机免费看_最爽最刺激18禁视频_偷偷色噜狠狠狠狠的777米奇

留言成功發(fā)送郵件通知管理員

留言發(fā)送郵件標(biāo)簽

標(biāo)簽:sendemail
   描述:留言成功發(fā)送郵件通知管理員
   功能:用于發(fā)送郵件通知管理員有新的表單提交


快速開始(復(fù)制即用)

微信原生版

let that = this;
let apikey_token = App.getApikeyToken();

wx.request({
    url: App.globalData.config.apiSendemailUrl,
    header: {
        'content-type': 'application/x-www-form-urlencoded'
    },
    method: 'POST',
    data: {
        apikey_token: apikey_token,
        type: 'gbook_submit',
        typeid: typeid,
        aid: aid
    },
    success(res) {
        console.log(res.data);
    }
});

uni-app 版

let that = this;
let apikey_token = App.getApikeyToken();

uni.request({
    url: App.globalData.config.apiSendemailUrl,
    header: {
        'content-type': 'application/x-www-form-urlencoded'
    },
    method: 'POST',
    data: {
        apikey_token: apikey_token,
        type: 'gbook_submit',
        typeid: typeid,
        aid: aid
    },
    success(res) {
        console.log(res.data);
    }
});

全部參數(shù)

基礎(chǔ)參數(shù)

參數(shù)說明示例
apikey_token必填,一般使用 App.getApikeyToken() 獲取,與 setting.js 里的 apikey 配置同步App.getApikeyToken()
type必填,只有唯一值 "gbook_submit"type='gbook_submit'
typeid必填,對(duì)應(yīng)的欄目IDtypeid=2
aid必填,對(duì)應(yīng)的留言文檔IDaid=1


文檔最后更新時(shí)間:2026-01-13 16:23:19

文檔
目錄

深色
模式

切換
寬度