feat(dealer): 调整分销商资金明细展示及提现逻辑- 交换订单编号与收益描述的显示位置

- 更新开发环境API基础URL
- 新增根据订单号查询分销商资金明细的方法
- 修改订单页面日期状态为月份格式- 将提现费率从16%调整为0%,保留固定费用3元
- 移除提现页面中关于费率的描述文字
This commit is contained in:
2025-10-14 00:26:00 +08:00
parent 6fbe339507
commit 0deb6c5b8a
5 changed files with 21 additions and 7 deletions

View File

@@ -16,9 +16,9 @@ interface OrderWithDetails extends ShopDealerOrder {
const DealerOrder: React.FC = () => {
const [loading, setLoading] = useState<boolean>(false)
const d = new Date()
const currDay = `${d.getFullYear()}${d.getMonth() + 1}`;
const currMonth = `${d.getFullYear()}${d.getMonth() + 1}`;
const currDate = `${d.getFullYear()}-${d.getMonth() + 1}-${d.getDate()}`;
const [date, setDate] = useState(currDay)
const [date, setDate] = useState(currMonth)
const [show1, setShow1] = useState(false)
const [refreshing, setRefreshing] = useState<boolean>(false)
const [loadingMore, setLoadingMore] = useState<boolean>(false)