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

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

module.exports = {
    GETTYPELIST: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/listAttribInfo", e, {}, "POST", "json", "text", n, s);
    },
    GETWXLISTMERCHANTORDERS: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/wxlistMerchantOrders", e, {}, "POST", "json", "text", n, s);
    },
    ADDGHPRODUCTCONFIGCART: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/addGhProductConfigCart", e, {}, "POST", "json", "text", n, s);
    },
    WXREMINDERORDER: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/wxReminderOrder", e, {}, "POST", "json", "text", n, s);
    },
    WXCANCELORDER: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/wxCancelOrder", e, {}, "POST", "json", "text", n, s);
    },
    GETLOGISTICSBYSPAPURCHASECODE: function(e, n, s) {
        t.default.req("/webapp-supplychain-jst/gh/getLogisticsBySpaPurchaseCode", e, {}, "GET", "json", "text", n, s);
    }
};