更新功能和文档: 增强支付系统、任务队列管理、用户作品管理等功能
This commit is contained in:
@@ -148,7 +148,7 @@ const getEmailCode = async () => {
|
||||
|
||||
try {
|
||||
// 调用后端API发送邮箱验证码
|
||||
const response = await fetch('/api/verification/email/send', {
|
||||
const response = await fetch('http://localhost:8080/api/verification/email/send', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
@@ -176,7 +176,7 @@ const getEmailCode = async () => {
|
||||
|
||||
// 开发模式:将验证码同步到后端
|
||||
try {
|
||||
await fetch('/api/verification/email/dev-set', {
|
||||
await fetch('http://localhost:8080/api/verification/email/dev-set', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
@@ -234,7 +234,7 @@ const handleLogin = async () => {
|
||||
|
||||
// 邮箱验证码登录
|
||||
try {
|
||||
const response = await fetch('/api/auth/login/email', {
|
||||
const response = await fetch('http://localhost:8080/api/auth/login/email', {
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json'
|
||||
|
||||
Reference in New Issue
Block a user