完善支付功能,添加支付宝的准备与创建逻辑
This commit is contained in:
@@ -247,7 +247,7 @@ export default function BillsPage(props: BillsPageProps) {
|
||||
<div className={`flex flex-col gap-1`}>
|
||||
<span>{row.original.info}</span>
|
||||
|
||||
{row.original.type === 1 && (
|
||||
{row.original.type === 1 && row.original.trade.status === 1 && (
|
||||
<Link
|
||||
href={`/admin/resources?resource_no=${row.original.resource.resource_no}`}
|
||||
className={`text-sm text-blue-500 hover:underline`}>
|
||||
|
||||
@@ -270,7 +270,7 @@ export default function ResourcesPage(props: ResourcesPageProps) {
|
||||
<div className={`flex gap-1`}>
|
||||
{isAfter(row.original.pss.expire, new Date())
|
||||
? <span className={`text-green-500`}>正常</span>
|
||||
: <span className={`text-red-500`}>已过期</span>}
|
||||
: <span className={`text-red-500`}>过期</span>}
|
||||
<span>|</span>
|
||||
<span>今日限额:{row.original.pss.daily_used} / {row.original.pss.daily_limit}</span>
|
||||
<span>|</span>
|
||||
|
||||
Reference in New Issue
Block a user