feat:0820需求

This commit is contained in:
2026-08-21 14:10:43 +08:00
parent 619c0cacc5
commit e8d4fd6cd4
31 changed files with 9112 additions and 3658 deletions
+50 -50
View File
@@ -6,38 +6,38 @@ import request from '@/utils/request.js'; // 引入封装的方法
export function getUserList(data) {
// data.appId = APPID;
return request({
url: "/common/getSmsCode",
method: "post",
data,
});
url: "/common/getSmsCode",
method: "post",
data,
});
}
// 查询级联地区
export function getCascadeRegion(data) {
return request({
url: "/common/getCascadeRegion",
method: "get",
data,
});
url: "/common/getCascadeRegion",
method: "get",
data,
});
}
// 查询级联类目
export function getCascadeCategory(data) {
return request({
url: "/common/getCascadeCategory",
method: "get",
data,
isShowLoading:false,
});
}
// 查询级联类目
export function getCascadeCategory(data) {
return request({
url: "/common/getCascadeCategory",
method: "get",
data,
isShowLoading: false,
});
}
// 查询支持的银行
export function getSupportBank(data) {
return request({
url: "/common/getSupportBank",
method: "get",
data,
url: "/common/getSupportBank",
method: "get",
data,
});
}
@@ -46,7 +46,7 @@ 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);
return request.post('/common/upload/image', formData);
}
export const uploadImg = "/common/upload/image";
@@ -59,9 +59,9 @@ export const uploadImg = "/common/upload/image";
*/
export function getSharePoster(data) {
return request({
url: "/common/getSharePoster",
method: "get",
data,
url: "/common/getSharePoster",
method: "get",
data,
});
}
@@ -71,9 +71,9 @@ export function getSharePoster(data) {
*/
export function generateSharePoster(data) {
return request({
url: "/common/generateSharePoster",
method: "get",
data,
url: "/common/generateSharePoster",
method: "get",
data,
});
}
@@ -83,43 +83,43 @@ export function generateSharePoster(data) {
*/
export function getCarouselImage(data) {
return request({
url: "/common/getCarouselImage",
method: "get",
data,
url: "/common/getCarouselImage",
method: "get",
data,
});
}
export function getWithdraw(data) {
return request({
url: "/withdrawAccount/getWithdrawAccountsList",
method: "get",
data,
url: "/withdrawAccount/getWithdrawAccountsList",
method: "get",
data,
});
}
export function bindWithdraw(data) {
return request({
url: "/withdrawAccount/bindWithdrawAccount",
method: "post",
data,
cha:1
url: "/withdrawAccount/bindWithdrawAccount",
method: "post",
data,
cha: 1
});
}
export function unbindWithdraw(data) {
return request({
url: "/withdrawAccount/unbindWithdrawAccount",
method: "get",
data,
url: "/withdrawAccount/unbindWithdrawAccount",
method: "get",
data,
});
}
export function sendWithdraw(data) {
return request({
url: "/withdraw/withdraw",
method: "post",
data,
cha:1
url: "/withdraw/withdraw",
method: "post",
data,
cha: 1
});
}
@@ -129,9 +129,9 @@ export function sendWithdraw(data) {
*/
export function checkAppVersion(data) {
return request({
url: "/common/checkAppVersion",
method: "post",
data,
url: "/common/checkAppVersion",
method: "post",
data,
});
}