暂存code
This commit is contained in:
+19
-2
@@ -1,8 +1,6 @@
|
||||
"use strict";
|
||||
const utils_request = require("../utils/request.js");
|
||||
const utils_config = require("../utils/config.js");
|
||||
function getUserList(data) {
|
||||
data.appId = utils_config.APPID;
|
||||
return utils_request.request({
|
||||
url: "/common/getSmsCode",
|
||||
method: "post",
|
||||
@@ -20,10 +18,29 @@ 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
|
||||
});
|
||||
}
|
||||
exports.checkAppVersion = checkAppVersion;
|
||||
exports.getCascadeCategory = getCascadeCategory;
|
||||
exports.getCascadeRegion = getCascadeRegion;
|
||||
exports.getSupportBank = getSupportBank;
|
||||
exports.getUserList = getUserList;
|
||||
exports.uploadImg = uploadImg;
|
||||
//# sourceMappingURL=../../.sourcemap/mp-weixin/api/common.js.map
|
||||
|
||||
Reference in New Issue
Block a user