| | |
| | | * 向UAAS服务请求到的secret_key |
| | | */ |
| | | private String secretKey; |
| | | /** |
| | | * 场景编号 |
| | | */ |
| | | String sceneId; |
| | | |
| | | |
| | | public QianYunTongConfig getQianYunTongConfig() { |
| | |
| | | this.setAccount("d8bef0a04db511f0b79d01a3e2b7587e"); |
| | | this.setAccessKey("TYMFTFD5SIIT15DCCUD7"); |
| | | this.setSecretKey("AoI1dkH3yoAvXoaQlREO3ed9mwQJFluLTliS9T1z"); |
| | | this.sceneId = "1948289607125864448"; |
| | | } |
| | | if("test".equals(activeProfile)){ |
| | | this.setAppkey("10001104"); |
| | | this.setPrivateKeyPath("/root/server/app/key/private_key_test.pem"); |
| | | this.setPrivateKeyPath("/etraffic/server/private_key_test.pem"); |
| | | this.setUserName("xiaofei"); |
| | | this.setStatus("1"); |
| | | this.setApiUrl("https://test-zhongtai.stqcloud.com:10070"); |
| | | this.setBucketName("bucuTest0625"); |
| | | this.setAppId("wxcc3c9058e2b294db"); |
| | | this.setEndPoint("http://119.4.112.68:27741/v1"); |
| | | this.setEndPoint("http://10.30.52.45:27741/v1"); |
| | | this.setAccount("d8bef0a04db511f0b79d01a3e2b7587e"); |
| | | this.setAccessKey("TYMFTFD5SIIT15DCCUD7"); |
| | | this.setSecretKey("AoI1dkH3yoAvXoaQlREO3ed9mwQJFluLTliS9T1z"); |
| | | this.sceneId = "1948289607125864448"; |
| | | } |
| | | if("prod".equals(activeProfile)){ |
| | | this.setAppkey("10001104"); |
| | |
| | | this.setApiUrl("http://jjzhongtai.stqcloud.com:10010"); |
| | | this.setBucketName("qyt20250702"); |
| | | this.setAppId("wxcc3c9058e2b294db"); |
| | | this.setEndPoint("http://119.4.112.68:27741/v1"); |
| | | this.setEndPoint("http://10.30.52.45:27741/v1"); |
| | | this.setAccount("d8bef0a04db511f0b79d01a3e2b7587e"); |
| | | this.setAccessKey("TYMFTFD5SIIT15DCCUD7"); |
| | | this.setSecretKey("AoI1dkH3yoAvXoaQlREO3ed9mwQJFluLTliS9T1z"); |
| | | this.sceneId = ""; |
| | | } |
| | | return this; |
| | | } |