Browse Source

切换线上环境

xueyiming 6 months ago
parent
commit
9cc02e985b

+ 3 - 3
long-article-server/src/main/java/com/tzld/piaoquan/longarticle/service/remote/impl/AigcServiceImpl.java

@@ -170,7 +170,7 @@ public class AigcServiceImpl implements AigcService {
         }
         int retey = 0;
         while (retey < 3) {
-            String apiUrl = "http://aigc-api.cybertogether.net/aigc//publish/LongArticleSystem/uploadMiniprogramCover";
+            String apiUrl = "http://aigc-api.cybertogether.net/aigc/publish/LongArticleSystem/uploadMiniprogramCover";
             try {
                 JSONObject param = new JSONObject();
                 param.put("coverUrl", coverUrl);
@@ -192,7 +192,7 @@ public class AigcServiceImpl implements AigcService {
     }
 
     public List<PushRecordVO> getTodayPushRecords(PushRecordParam param) {
-        String apiUrl = "http://aigc-api.cybertogether.net//aigc/publish/LongArticleSystem/getTodayPushRecords";
+        String apiUrl = "http://aigc-api.cybertogether.net/aigc/publish/LongArticleSystem/getTodayPushRecords";
         try {
             String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(apiUrl, JSONObject.toJSONString(param));
             JSONObject jsonObject = JSON.parseObject(res);
@@ -212,7 +212,7 @@ public class AigcServiceImpl implements AigcService {
     }
 
     public List<SpecialSettingVO> getSpecialSetting() {
-        String apiUrl = "http://aigc-testapi.cybertogether.net/aigc/publish/LongArticleSystem/getSpecialSettingList";
+        String apiUrl = "http://aigc-api.cybertogether.net/aigc/publish/LongArticleSystem/getSpecialSettingList";
         try {
             String res = HTTP_POOL_CLIENT_UTIL_DEFAULT.post(apiUrl);
             JSONObject jsonObject = JSON.parseObject(res);