71 lines
1.7 KiB
JavaScript
71 lines
1.7 KiB
JavaScript
"use strict";
|
|
const utils_request = require("../utils/request.js");
|
|
function getUserList(data) {
|
|
return utils_request.request({
|
|
url: "/common/getSmsCode",
|
|
method: "post",
|
|
data
|
|
});
|
|
}
|
|
function getCascadeRegion(data) {
|
|
return utils_request.request({
|
|
url: "/common/getCascadeRegion",
|
|
method: "get",
|
|
data
|
|
});
|
|
}
|
|
function getCascadeCategory(data) {
|
|
return utils_request.request({
|
|
url: "/common/getCascadeCategory",
|
|
method: "get",
|
|
data,
|
|
isShowLoading: false
|
|
});
|
|
}
|
|
function getSupportBank(data) {
|
|
return utils_request.request({
|
|
url: "/common/getSupportBank",
|
|
method: "get",
|
|
data
|
|
});
|
|
}
|
|
const uploadImg = "/common/upload/image";
|
|
function checkAppVersion(data) {
|
|
return utils_request.request({
|
|
url: "/common/checkAppVersion",
|
|
method: "post",
|
|
data
|
|
});
|
|
}
|
|
function getSharePoster(data) {
|
|
return utils_request.request({
|
|
url: "/common/getSharePoster",
|
|
method: "get",
|
|
data
|
|
});
|
|
}
|
|
function generateSharePoster(data) {
|
|
return utils_request.request({
|
|
url: "/common/generateSharePoster",
|
|
method: "get",
|
|
data
|
|
});
|
|
}
|
|
function getCarouselImage(data) {
|
|
return utils_request.request({
|
|
url: "/common/getCarouselImage",
|
|
method: "get",
|
|
data
|
|
});
|
|
}
|
|
exports.checkAppVersion = checkAppVersion;
|
|
exports.generateSharePoster = generateSharePoster;
|
|
exports.getCarouselImage = getCarouselImage;
|
|
exports.getCascadeCategory = getCascadeCategory;
|
|
exports.getCascadeRegion = getCascadeRegion;
|
|
exports.getSharePoster = getSharePoster;
|
|
exports.getSupportBank = getSupportBank;
|
|
exports.getUserList = getUserList;
|
|
exports.uploadImg = uploadImg;
|
|
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/common.js.map
|