就爱啪啪手机版Av免费,热の中文 热の国产二区,国产特黄AAAAAAA大片,久久久久婷婷国产综合青草,美乳无码中文不卡,跟踪邻居美丽人妻,伊人色综合久久天天,一本久久精品一区二区,国产又粗又大又长又爽视频,日本一级a爰片免费视频观看

小程序分銷接口使用說明

小程序分(fen)銷(xiao)接口(kou)使用(yong)說明(ming)


請先在config.js文件中找到config設(she)置,查看是否(fou)已(yi)定義(yi)接(jie)口(kou)路徑(jing)

// config.js 文件中的配(pei)置示(shi)例
var config = {
    // ... 其他配置 ...
    dealerActionUrl: getApiUrl('dealer_action', 'Users'),
};

如未定義,請先定義接口路徑保存文件:dealerActionUrl: getApiUrl('dealer_action', 'Users'),


接口名稱:App.globalData.config.dealerActionUrl


接口必要參數:action

action: 'getApply'                     獲取分銷商申(shen)請頁面(mian)數據

action: 'addApply'                    添加(jia)分銷商申請

action: 'getDealer'                   獲取分銷商信息

action: 'getPoster'                   獲取分銷商推(tui)廣(guang)海(hai)報(bao)

action: 'bindUsers'                   綁定(ding)成為分銷商下級(ji)

action: 'getCustomerList'         獲取分銷(xiao)商客戶列表(biao)

action: 'getSubordinateList'      獲取分銷(xiao)(xiao)商(shang)下(xia)級分銷(xiao)(xiao)商(shang)列表

action: 'getOrderList'              獲取分銷(xiao)商參與分傭的(de)訂單列(lie)表

action: 'getMoneyList'             獲取分銷商傭金明細列表(biao)

action: 'getWithdrawApply'     獲取分銷商提現申請頁面數(shu)據

action: 'addWithdrawApply'    添加分(fen)銷(xiao)商提現申請(qing)

action: 'getWithdrawList'        獲取分銷商提現申請列表


接口其他參(can)數:根據action參(can)數變化,請參(can)考指定(ding)接口


必要方法說明:App.dealerOpenHandle(res);

檢測分銷(xiao)功能是否開啟,當(dang)前(qian)登錄者的(de)分銷(xiao)商(shang)狀(zhuang)態(tai),如有異常則提示并跳轉(zhuan)到(dao)會員中心。


基礎代碼示例:

    getDealerxxxxx() {
        let _this = this;
        let postData = {
            action: 'xxxxx',
        };
        App._requestApi(_this, App.globalData.config.dealerActionUrl, postData, function (res) {
            // 分銷功能(neng)是(shi)否開(kai)啟(qi)(qi),未開(kai)啟(qi)(qi)則跳轉到指(zhi)定頁(ye)面
            App.dealerOpenHandle(res);
            // 接(jie)口數據
            let xxxxx = res.data;
        });
    },
文檔最后更新時間:2026-01-13 16:57:17

文檔
目錄

深色
模式(shi)

切換
寬度