增加客户端标识 & 套餐管理重置今日限额字段 &提取IP/IP管理模块新增字段
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
'use client'
|
||||
import {useEffect, useState} from 'react'
|
||||
import {Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogTitle, DialogTrigger} from '@/components/ui/dialog'
|
||||
import {Button} from '@/components/ui/button'
|
||||
|
||||
@@ -16,7 +16,6 @@ import {useRouter} from 'next/navigation'
|
||||
import {login} from '@/actions/auth'
|
||||
import {useProfileStore} from '@/components/stores-provider'
|
||||
import Captcha from './captcha'
|
||||
import {merge} from '@/lib/utils'
|
||||
|
||||
const smsSchema = zod.object({
|
||||
username: zod.string().length(11, '请输入正确的手机号码'),
|
||||
@@ -99,7 +98,7 @@ export default function LoginCard(props: {
|
||||
{...field}
|
||||
id={id}
|
||||
type="tel"
|
||||
placeholder={mode === 'phone_code' ? '请输入手机号' : '请输入用户名'}
|
||||
placeholder={mode === 'phone_code' ? '请输入手机号' : '请输入用户名/手机号/邮箱'}
|
||||
autoComplete="tel-national"
|
||||
/>
|
||||
)}
|
||||
@@ -170,9 +169,9 @@ export default function LoginCard(props: {
|
||||
</Button>
|
||||
<p className="text-xs text-center text-gray-500">
|
||||
登录即表示您同意
|
||||
<a href="#" className="text-blue-600 hover:text-blue-500">《用户协议》</a>
|
||||
<a href="/userAgreement" className="text-blue-600 hover:text-blue-500">《用户协议》</a>
|
||||
和
|
||||
<a href="#" className="text-blue-600 hover:text-blue-500">《隐私政策》</a>
|
||||
<a href="/privacyPolicy" className="text-blue-600 hover:text-blue-500">《隐私政策》</a>
|
||||
</p>
|
||||
</div>
|
||||
</Form>
|
||||
|
||||
Reference in New Issue
Block a user