fix: expose payment admin navigation
Deploy staging to test server / deploy (push) Successful in 2m59s
Deploy staging to test server / deploy (push) Successful in 2m59s
This commit is contained in:
@@ -2,8 +2,10 @@
|
||||
|
||||
import {
|
||||
AuditOutlined,
|
||||
CreditCardOutlined,
|
||||
GiftOutlined,
|
||||
MessageOutlined,
|
||||
SettingOutlined,
|
||||
TeamOutlined,
|
||||
TransactionOutlined,
|
||||
} from "@ant-design/icons";
|
||||
@@ -32,6 +34,8 @@ export function AdminApp({ children }: { children: ReactNode }) {
|
||||
notificationProvider={notificationProvider}
|
||||
resources={[
|
||||
{ name: "codes", list: "/admin/codes", meta: { label: "兑换码", icon: <GiftOutlined /> } },
|
||||
{ name: "payments", list: "/admin/payments", meta: { label: "支付记录", icon: <CreditCardOutlined /> } },
|
||||
{ name: "packages", list: "/admin/packages", meta: { label: "支付配置", icon: <SettingOutlined /> } },
|
||||
{ name: "users", list: "/admin/codes?resource=users", meta: { label: "用户资料", icon: <TeamOutlined /> } },
|
||||
{ name: "credit-transactions", list: "/admin/codes?resource=credit-transactions", meta: { label: "积分流水", icon: <TransactionOutlined /> } },
|
||||
{ name: "consultations", list: "/admin/codes?resource=consultations", meta: { label: "咨询请求", icon: <MessageOutlined /> } },
|
||||
|
||||
Reference in New Issue
Block a user