diff --git a/src/api/mall/trade/config/index.ts b/src/api/mall/trade/config/index.ts
index 3a1771d8..66a81147 100644
--- a/src/api/mall/trade/config/index.ts
+++ b/src/api/mall/trade/config/index.ts
@@ -4,13 +4,13 @@ export interface ConfigVO {
brokerageEnabled: boolean
brokerageEnabledCondition: number
brokerageBindMode: number
- brokeragePostUrls: string
+ brokeragePosterUrls: string
brokerageFirstPercent: number
brokerageSecondPercent: number
brokerageWithdrawMinPrice: number
brokerageBankNames: string
brokerageFrozenDays: number
- brokerageWithdrawType: string
+ brokerageWithdrawTypes: string
}
// 查询交易中心配置详情
diff --git a/src/views/mall/trade/config/index.vue b/src/views/mall/trade/config/index.vue
index 6fa41cad..c43940a8 100644
--- a/src/views/mall/trade/config/index.vue
+++ b/src/views/mall/trade/config/index.vue
@@ -66,7 +66,7 @@
-
+
个人中心分销海报图片,建议尺寸600x1000
@@ -121,8 +121,8 @@
提现手续费百分比,范围0-100,0为无提现手续费,例:设置10,即收取10%手续费,提现100元,到账90元,10元手续费
-
-
+
+
{
formLoading.value = true
try {
const data = formData.value as unknown as ConfigApi.ConfigVO
- data.brokeragePostUrls = formData.value.brokeragePostUrls.map((item: any) => {
+ data.brokeragePosterUrls = formData.value.brokeragePosterUrls.map((item: any) => {
return item?.url ? item.url : item
})
await ConfigApi.saveTradeConfig(data)
@@ -228,7 +228,7 @@ const getConfig = async () => {
try {
const data = await ConfigApi.getTradeConfig()
if (data != null) {
- data.brokeragePostUrls = data.brokeragePostUrls.map((url) => ({ url }))
+ data.brokeragePosterUrls = data.brokeragePosterUrls.map((url) => ({ url }))
formData.value = data
}
} finally {