Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
2
2024seiiiServer
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to JiHu GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
宇涵 李
2024seiiiServer
Commits
2c11dc31
Verified
Commit
2c11dc31
authored
7 months ago
by
宇涵 李
Browse files
Options
Downloads
Patches
Plain Diff
refactor:修改了apikey
parent
666e66ca
Branches
development
No related tags found
No related merge requests found
Pipeline
#118203
passed
7 months ago
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/com/seiii/server/service/Impl/MiniMax6ServiceImpl.java
+4
-5
4 additions, 5 deletions
...va/com/seiii/server/service/Impl/MiniMax6ServiceImpl.java
src/main/resources/application.properties
+1
-0
1 addition, 0 deletions
src/main/resources/application.properties
with
5 additions
and
5 deletions
src/main/java/com/seiii/server/service/Impl/MiniMax6ServiceImpl.java
+
4
−
5
View file @
2c11dc31
...
...
@@ -22,13 +22,12 @@ import java.util.Map;
@Service
public
class
MiniMax6ServiceImpl
implements
MiniMax6Service
{
@Value
(
"${api.key}"
)
private
String
API_KEY
;
// @Value("${api.key}")
private
String
API_KEY
=
"eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.eyJHcm91cE5hbWUiOiLlrovmr4XmgZIiLCJVc2VyTmFtZSI6IuWui-avheaBkiIsIkFjY291bnQiOiIiLCJTdWJqZWN0SUQiOiIxNzkzMjYyMTIwMDA4MTcyMDY5IiwiUGhvbmUiOiIxNTA1MDE5NjkxMCIsIkdyb3VwSUQiOiIxNzkzMjYyMTE5OTk5NzgzNDYxIiwiUGFnZU5hbWUiOiIiLCJNYWlsIjoiIiwiQ3JlYXRlVGltZSI6IjIwMjQtMDYtMTAgMjE6Mjg6MjYiLCJpc3MiOiJtaW5pbWF4In0.GeWLqrHPC_voS4z1kr7ZEH_WHVDhOgOSOi-vk0zAnBW9Ub5BXDABdrdUMStgg-JGGZedJSIGMFQcgWSjHV7FWvhy6XPmSjmjZ0e9msX7_xo6qv2ZmKLLhSI4hbSWcnCBXG_ebzpEldkBblXOUwHd44JdxGTAgPkgCakGrmh_JgRqJHTsvFFTKKJejRmPpkVuHeSJzzNarns2_nmKlJ-WacdH45w3_JuOisK_0jvKQx8nU4GvhuEl6K8GBGlXvwtVqLUHzRIEj6bACqSVA56wAi2JfQEJQp-O-GxWMbmXDCUOdIRtKPlX22ak2jth6OMD_iqrBsMfqVphQ4wV33pYVA"
;
private
static
final
String
API_URL
=
"https://api.minimax.chat/v1/text/chatcompletion_pro?GroupId="
;
@Value
(
"${api.groupid}"
)
private
String
GROUP_ID
;
//
@Value("${api.groupid}")
private
String
GROUP_ID
=
"1793262119999783461"
;
private
static
final
String
CONTENT_TYPE
=
"application/json"
;
...
...
This diff is collapsed.
Click to expand it.
src/main/resources/application.properties
+
1
−
0
View file @
2c11dc31
...
...
@@ -17,6 +17,7 @@ spring.rabbitmq.port=5672
spring.rabbitmq.username
=
guest
spring.rabbitmq.password
=
guest
spring.neo4j.uri
=
bolt://60.205.128.92:7687
spring.neo4j.authentication.username
=
neo4j
spring.neo4j.authentication.password
=
12345678
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment