restapi.js 3.74 KB
var t = function(t) {
    return t && t.__esModule ? t : {
        default: t
    };
}(require("../utils/restapi.js"));

require("../utils/util");

module.exports = {
    ADDADDRESS: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxAddAddress", e, {}, "POST", "json", "text", s, n);
    },
    GETADDRESSLIST: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxListAddress", e, {}, "POST", "json", "text", s, n);
    },
    WXREMOVEADDRESS: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxRemoveAddress", e, {}, "POST", "json", "text", s, n);
    },
    GETADDRESSINFO: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxGetAddress", e, {}, "POST", "json", "text", s, n);
    },
    EDITADDRESSINFO: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxUpdateAddress", e, {}, "POST", "json", "text", s, n);
    },
    PAGEPRODUCTBYSPACODE: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/pageProductBySpaCode", e, {}, "POST", "json", "text", s, n);
    },
    SUBGHMERCHANTORDER: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/subGhMerchantOrder", e, {}, "POST", "json", "text", s, n);
    },
    LISTGHSHOPPINGCART: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/listGhShoppingCart", e, {}, "POST", "json", "text", s, n);
    },
    UPDATEGHPRODUCTCONFIGCART: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/updateGhProductConfigCart", e, {}, "POST", "json", "text", s, n);
    },
    DELGHPRODUCTCONFIGCART: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/delGhProductConfigCart", e, {}, "POST", "json", "text", s, n);
    },
    ADDGHPRODUCTCONFIGCART: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/addGhProductConfigCart", e, {}, "POST", "json", "text", s, n);
    },
    GETGHPRODUCTCONFIGOTHER: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/getGhProductConfigOther", e, {}, "POST", "json", "text", s, n);
    },
    LISTYEARMODE: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/listYearMode", e, {}, "POST", "json", "text", s, n);
    },
    LISTAUDIINFO: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/listAudiInfo", e, {}, "POST", "json", "text", s, n);
    },
    PAGEMOTORCYCLE: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/pageMotorcycle", e, {}, "POST", "json", "text", s, n);
    },
    BATCHADDGHPRODUCTCONFIGCART: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/batchAddGhProductConfigCart", e, {}, "POST", "json", "text", s, n);
    },
    GETWXLISTMERCHANTORDERS: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxlistMerchantOrders", e, {}, "POST", "json", "text", s, n);
    },
    WXREMINDERORDER: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxReminderOrder", e, {}, "POST", "json", "text", s, n);
    },
    WXCANCELORDER: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/wxCancelOrder", e, {}, "POST", "json", "text", s, n);
    },
    GETLOGISTICSBYSPAPURCHASECODE: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/gh/getLogisticsBySpaPurchaseCode", e, {}, "GET", "json", "text", s, n);
    },
    GETLISTPROVINCES: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/address/listProvinces", e, {}, "POST", "json", "text", s, n);
    },
    GETLISTCITIES: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/address/listCities", e, {}, "POST", "json", "text", s, n);
    },
    GETLISTAREAS: function(e, s, n) {
        t.default.req("/webapp-supplychain-jst/address/listAreas", e, {}, "POST", "json", "text", s, n);
    }
};