浏览代码

修改天翼平台地址配置

tags/v1.3.1
wanjing 1年前
父节点
当前提交
a1e988f931
共有 6 个文件被更改,包括 1 次插入24 次删除
  1. +0
    -15
      tuoheng-common/tuoheng-common-core/src/main/java/com/tuoheng/common/core/config/common/CommonConfig.java
  2. +1
    -1
      tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/CallTianYiPlatformService.java
  3. +0
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml
  4. +0
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/application-local.yml
  5. +0
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/application-prod.yml
  6. +0
    -2
      tuoheng-service/tuoheng-admin/src/main/resources/application-test.yml

+ 0
- 15
tuoheng-common/tuoheng-common-core/src/main/java/com/tuoheng/common/core/config/common/CommonConfig.java 查看文件

@@ -68,11 +68,6 @@ public class CommonConfig {
*/
public static String templateId;

/**
* 天翼星云地址
*/
public static String tianYiUrl;

/**
* 小程序 appId赋值
*
@@ -193,14 +188,4 @@ public class CommonConfig {
wechatURL = url;
}


/**
* 天翼url
* @param url
*/
@Value("${tuoheng.tianyi-url}")
public void tianYiUrl(String url) {
tianYiUrl = url;
}

}

+ 1
- 1
tuoheng-service/tuoheng-admin/src/main/java/com/tuoheng/admin/tzhl/service/CallTianYiPlatformService.java 查看文件

@@ -36,7 +36,7 @@ public class CallTianYiPlatformService {
throw new ServiceException(HttpStatus.BAD_REQUEST.value(), "token不能为空");
}

String url = CommonConfig.tianYiUrl + apiPath;
String url = TZHLConfig.tzhlURL + apiPath;
String properties = "Bearer " + token;
HttpHeaders headers = new HttpHeaders();
headers.add("Authorization", properties);

+ 0
- 2
tuoheng-service/tuoheng-admin/src/main/resources/application-dev.yml 查看文件

@@ -160,8 +160,6 @@ tuoheng:
airport-url: http://192.168.11.22:9060
#小程序配置地址
wechat-url: http://192.168.11.11:9151
#天翼星云配置地址
tianyi-url: http://221.230.150.241:8889
# 文件配置
uploads:
#上传的服务器上的映射文件夹

+ 0
- 2
tuoheng-service/tuoheng-admin/src/main/resources/application-local.yml 查看文件

@@ -172,8 +172,6 @@ tuoheng:
airport-url: http://192.168.11.22:9060
#小程序配置地址
wechat-url: http://192.168.11.11:9151
#天翼星云配置地址
tianyi-url: http://221.230.150.241:8889
# 文件配置
uploads:
#上传的服务器上的映射文件夹

+ 0
- 2
tuoheng-service/tuoheng-admin/src/main/resources/application-prod.yml 查看文件

@@ -161,8 +161,6 @@ tuoheng:
airport-url: https://airport.t-aaron.com
#小程序配置地址
wechat-url: https://telecomumale-miniprogram.t-aaron.com
#天翼星云配置地址
tianyi-url: http://221.230.150.241:8889
# 文件配置
uploads:
#上传的服务器上的映射文件夹

+ 0
- 2
tuoheng-service/tuoheng-admin/src/main/resources/application-test.yml 查看文件

@@ -161,8 +161,6 @@ tuoheng:
airport-url: https://airport-test.t-aaron.com
#小程序配置地址
wechat-url: https://telecomumale-miniprogram-test.t-aaron.com
#天翼星云配置地址
tianyi-url: http://221.230.150.241:8889
# 文件配置
uploads:
#上传的服务器上的映射文件夹

正在加载...
取消
保存