Skip to content
Snippets Groups Projects
Verified Commit 2c11dc31 authored by 宇涵 李's avatar 宇涵 李
Browse files

refactor:修改了apikey

parent 666e66ca
Branches development
No related tags found
No related merge requests found
Pipeline #118203 passed
......@@ -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";
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment