暂存code

This commit is contained in:
hejiangming
2025-05-07 09:54:33 +08:00
parent 78270eeda0
commit 007b002b81
403 changed files with 14507 additions and 6320 deletions
+37 -4
View File
@@ -1,11 +1,10 @@
import request from '@/utils/request.js'; // 引入封装的方法
import { APPID } from '@/utils/config.js';
// import { APPID } from '@/utils/config.js';
// 获取短信验证码
export function getUserList(data) {
// return request.post('/common/getSmsCode',qs.stringify(params));
data.appId = APPID;
// data.appId = APPID;
return request({
url: "/common/getSmsCode",
method: "post",
@@ -28,5 +27,39 @@ export function getCascadeRegion(data) {
url: "/common/getCascadeCategory",
method: "get",
data,
isShowLoading:false,
});
}
}
// 查询支持的银行
export function getSupportBank(data) {
return request({
url: "/common/getSupportBank",
method: "get",
data,
});
}
// 获取短信验证码
export function uploadImage(params) {
const formData = new FormData();
formData.append("file", params.file);
formData.append("type", params.type);
return request.post('/common/upload/image',formData);
}
export const uploadImg = "/common/upload/image";
/**
* 检查版本更新
* @param {Object} data
*/
export function checkAppVersion(data) {
return request({
url: "/common/checkAppVersion",
method: "post",
data,
});
}