增减用户列表页面,修改crud部分代码,修改店铺列表页面增加三方配置弹窗

This commit is contained in:
2025-02-18 15:27:07 +08:00
parent 964aab217d
commit ef45206230
18 changed files with 1271 additions and 105 deletions

View File

@@ -0,0 +1,55 @@
import request from "@/utils/request";
import { Account_BaseUrl } from "@/api/config";
const baseURL = Account_BaseUrl + "/admin/shopMerchant";
const API = {
get(shopId: string | number) {
return request({
url: `${baseURL}`,
method: "get",
headers: {
shopId: shopId
}
});
},
edit(shopId: string | number, data: shopMerchantType) {
return request({
url: `${baseURL}`,
method: "put",
data: data,
headers: {
shopId: shopId
}
});
}
}
export default API;
/**
* ShopMerchantEditDTO
*/
export interface shopMerchantType {
/**
* 支付宝appid
*/
alipaySmallAppid: null | string;
/**
* 商户应用id
*/
appId: null | string;
/**
* 商户秘钥
*/
appSecret: null | string;
/**
* 支付密码
*/
payPassword: null | string;
/**
* 支付系统商户id
*/
storeId: null | string;
/**
* 微信appid
*/
wechatSmallAppid: null | string;
[property: string]: any;
}