Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
client
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
27d150ad
authored
Nov 10, 2026
by
renyizhao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改地址
parent
4efcf628
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
src/components/ModelUsageMethod.vue
+1
-1
src/views/console/components/token.vue
+3
-3
No files found.
src/components/ModelUsageMethod.vue
View file @
27d150ad
...
@@ -118,7 +118,7 @@ const props = defineProps({
...
@@ -118,7 +118,7 @@ const props = defineProps({
/** 网关 base URL,用于代码示例。生产环境填 NewAPI 实际域名 */
/** 网关 base URL,用于代码示例。生产环境填 NewAPI 实际域名 */
baseUrl
:
{
baseUrl
:
{
type
:
String
,
type
:
String
,
default
:
'http://phslgld.hnluchuan.com:3000'
,
default
:
'http
s
://phslgld.hnluchuan.com:3000'
,
},
},
})
})
...
...
src/views/console/components/token.vue
View file @
27d150ad
...
@@ -22,8 +22,8 @@
...
@@ -22,8 +22,8 @@
</el-button>
</el-button>
</el-form-item>
</el-form-item>
<el-form-item
label=
"服务地址:"
>
<el-form-item
label=
"服务地址:"
>
<el-tooltip
effect=
"dark"
content=
"http://phslgld.hnluchuan.com:3000/v1"
placement=
"top"
>
<el-tooltip
effect=
"dark"
content=
"http
s
://phslgld.hnluchuan.com:3000/v1"
placement=
"top"
>
<span
class=
"secret-text"
>
http://phslgld.hnluchuan.com:3000/v1
</span>
<span
class=
"secret-text"
>
http
s
://phslgld.hnluchuan.com:3000/v1
</span>
</el-tooltip>
</el-tooltip>
<el-button
<el-button
type=
"primary"
type=
"primary"
...
@@ -264,7 +264,7 @@ function maskKey(key) {
...
@@ -264,7 +264,7 @@ function maskKey(key) {
return
key
.
substring
(
0
,
6
)
+
"****"
+
key
.
substring
(
key
.
length
-
6
);
return
key
.
substring
(
0
,
6
)
+
"****"
+
key
.
substring
(
key
.
length
-
6
);
}
}
const
BASE_URL
=
"http://phslgld.hnluchuan.com:3000/v1"
;
const
BASE_URL
=
"http
s
://phslgld.hnluchuan.com:3000/v1"
;
function
copyApiKey
()
{
function
copyApiKey
()
{
if
(
!
apiKey
.
value
)
{
if
(
!
apiKey
.
value
)
{
...
...
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