Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
A
ai-astro-app
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
liubinyu
ai-astro-app
Commits
9a60819e
Commit
9a60819e
authored
Jun 19, 2025
by
liubinyu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug
parent
5dd20986
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
19 deletions
+4
-19
index.js
api/index.js
+3
-18
request.js
api/request.js
+1
-1
No files found.
api/index.js
View file @
9a60819e
...
@@ -2,32 +2,17 @@ import http from './interceptor.js'
...
@@ -2,32 +2,17 @@ import http from './interceptor.js'
// 游客选择星座字体查看今日所属星座运势
// 游客选择星座字体查看今日所属星座运势
export
function
findConstellation
(
data
)
{
export
function
findConstellation
(
data
)
{
return
http
.
request
({
return
http
.
request
({
url
:
'/system/chatCompletionsExample/findConstellation'
,
method
:
'GET'
,
data
})
url
:
'/system/chatCompletionsExample/findConstellation'
,
method
:
'GET'
,
data
,
loadingText
:
'转动星盘中...'
})
}
}
// 专属运程(免费)
// 专属运程(免费)
export
function
exclusiveItineraryFree
(
data
)
{
export
function
exclusiveItineraryFree
(
data
)
{
return
http
.
request
({
return
http
.
request
({
url
:
'/system/chatCompletionsExample/exclusiveItineraryFree'
,
method
:
'GET'
,
data
})
url
:
'/system/chatCompletionsExample/exclusiveItineraryFree'
,
method
:
'GET'
,
data
,
loadingText
:
'转动星盘中...'
})
}
}
// 解析用户输入的生日返回根据生日的星座信息(更详细)
// 解析用户输入的生日返回根据生日的星座信息(更详细)
export
function
analyzingBirthdays
(
data
)
{
export
function
analyzingBirthdays
(
data
)
{
return
http
.
request
({
return
http
.
request
({
url
:
'/system/chatCompletionsExample/analyzingBirthdays'
,
method
:
'GET'
,
data
})
url
:
'/system/chatCompletionsExample/analyzingBirthdays'
,
method
:
'GET'
,
data
,
loadingText
:
'转动星盘中...'
})
}
}
// 获取用户信息
// 获取用户信息
...
...
api/request.js
View file @
9a60819e
...
@@ -68,7 +68,7 @@ class Request {
...
@@ -68,7 +68,7 @@ class Request {
dataType
:
'json'
,
dataType
:
'json'
,
responseType
:
'text'
,
responseType
:
'text'
,
showLoading
:
true
,
showLoading
:
true
,
loadingText
:
'
请求
中...'
,
loadingText
:
'
转动星盘
中...'
,
loadingTime
:
100
,
loadingTime
:
100
,
timer
:
null
,
timer
:
null
,
originalData
:
false
,
originalData
:
false
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment