|
@@ -1,3 +1,4 @@
|
|
|
+import Global from '@/appConfig';
|
|
|
import darkcd from '@/assets/dark/application-two.png';
|
|
|
import badTwo from '@/assets/dark/bad-two-l.png';
|
|
|
import darkdz2 from '@/assets/dark/bad-two.png';
|
|
@@ -89,7 +90,8 @@ const Home: React.FC = () => {
|
|
|
*/
|
|
|
const getSpecialtySearchValue = async () => {
|
|
|
const resp = await fetch(
|
|
|
- `http://136.6.202.47:8888/ai/aiFactoryServer/v1/apis/1/nlp-llm-digital-cq-baichuan2-service:1.0@alpha.fixed/LLM4Writing`,
|
|
|
+ // `http://136.6.202.47:8888/ai/aiFactoryServer/v1/apis/1/nlp-llm-digital-cq-baichuan2-service:1.0@alpha.fixed/LLM4Writing`,
|
|
|
+ Global.Specialty,
|
|
|
{
|
|
|
method: 'post',
|
|
|
headers: {
|
|
@@ -155,7 +157,8 @@ const Home: React.FC = () => {
|
|
|
*/
|
|
|
const getLeisureSearchValue = async () => {
|
|
|
const resp = await fetch(
|
|
|
- `http://136.6.202.47:8888/ai/aiFactoryServer/v1/apis/1/nlp-llm-digital-cq-chat-service:1.0@alpha.fixed`,
|
|
|
+ // `http://136.6.202.47:8888/ai/aiFactoryServer/v1/apis/1/nlp-llm-digital-cq-chat-service:1.0@alpha.fixed`,
|
|
|
+ Global.LeisurePath,
|
|
|
{
|
|
|
method: 'post',
|
|
|
headers: {
|