feat(api): 添加根据商品ID查询水票模板接口

- 新增 getGltTicketTemplateByGoodsId 函数用于查询水票模板
- 移除最低提现金额显示,保留手续费信息
- 隐藏订单确认页面中的配送范围设置区域
- 添加订单注意事项说明文本
This commit is contained in:
2026-02-07 12:40:53 +08:00
parent 9e780e369c
commit 50ffd2c9da
3 changed files with 22 additions and 2 deletions

View File

@@ -103,3 +103,16 @@ export async function getGltTicketTemplate(id: number) {
}
return Promise.reject(new Error(res.message));
}
/**
* 根据商品ID查询水票模板
*/
export async function getGltTicketTemplateByGoodsId(id: number) {
const res = await request.get<ApiResult<GltTicketTemplate>>(
'/glt/glt-ticket-template/getByGoodsId/' + id
);
if (res.code === 0 && res.data) {
return res.data;
}
return Promise.reject(new Error(res.message));
}

View File

@@ -394,7 +394,7 @@ const DealerWithdraw: React.FC = () => {
borderTop: '1px solid rgba(255, 255, 255, 0.3)'
}}>
<Text className="text-white text-opacity-80 text-xs">
¥100 |
</Text>
</View>
</View>

View File

@@ -656,7 +656,7 @@ const OrderConfirm = () => {
)}
</CellGroup>
<CellGroup>
<CellGroup className={'hidden'}>
<Cell
title={(
<View className="flex items-center gap-2">
@@ -789,6 +789,13 @@ const OrderConfirm = () => {
)}/>
</CellGroup>
<div className={'text-gray-400'}>
1.20
2.
3.
</div>
{/* 支付方式选择 */}
<ActionSheet
visible={isVisible}