| | |
| | | } |
| | | } |
| | | } |
| | | String address = LocalKeyStorageAESUtil.loadAndDecrypt("url"); |
| | | siteInfo.setOnlineService("https://lin.ee/XRcXr7I"); |
| | | // String address = LocalKeyStorageAESUtil.loadAndDecrypt("url"); |
| | | return ServerResponse.createBySuccess(siteInfo); |
| | | } |
| | | return ServerResponse.createByErrorMsg("设置信息info不存在"); |
| | |
| | | |
| | | @Override |
| | | public ServerResponse getIndexData() { |
| | | Object object = HttpUtil.get("http://api-jp.js-stock.top/indices?country_id=35&key=k281ultTZyeN7mdUFyZL"); |
| | | Object object = HttpUtil.get("http://api-jp.js-stock.top/indices?country_id=35&key="+PropertiesUtil.getProperty("JP_KEY")); |
| | | Gson gson = new Gson(); |
| | | List<IndexDateBo> dataList = gson.fromJson(object.toString(), new TypeToken<List<IndexDateBo>>(){}.getType()); |
| | | List<String> targetIds = Arrays.asList("535569508", "535569510", "535658223"); |
| | |
| | | |
| | | private static HttpPost httpPost; |
| | | static { |
| | | httpPost = new HttpPost("http://127.0.0.1:8008/api/sendNotification"); // 初始化 HttpPost |
| | | httpPost = new HttpPost("http://127.0.0.1:8001/api/sendNotification"); // 初始化 HttpPost |
| | | } |
| | | |
| | | @Override |
| | |
| | | ftp.user=ftp_stock |
| | | ftp.pass=123456 |
| | | ftp.address =/www/wwwroot/ftp_stock/ |
| | | ftp.server.http.prefix=https://img.stcarlyle.com/ |
| | | ftp.server.http.prefix=https://img.yanshiz.com/ |
| | | |
| | | redis1.ip=localhost |
| | | redis1.port=6379 |
| | | redis1.port=6380 |
| | | redis1.pwd= |
| | | redis1.timeout=10000 |
| | | redis.max.total=50 |
| | |
| | | #HK_KEY = QgiqrYYZem1WWXWbHeT7 |
| | | JP_HTTP_API = http://api-jp.js-stock.top/ |
| | | JP_WS_URL = ws://api-jp-ws.js-stock.top |
| | | JP_KEY = k281ultTZyeN7mdUFyZL |
| | | JP_KEY = 8Dm3QCKZN98ScJCauWgt |
| | | |
| | | |
| | | #HG_HTTP_API = http://test.js-stock.top/ |
| | |
| | | # 地址 |
| | | host: localhost |
| | | # 端口,默认为6379 |
| | | port: 6379 |
| | | port: 6380 |
| | | # 数据库索引 |
| | | database: 0 |
| | | # 密码 |
| | |
| | | datasource: |
| | | type: com.alibaba.druid.pool.DruidDataSource |
| | | driverClassName: com.mysql.cj.jdbc.Driver |
| | | url: jdbc:mysql://127.0.0.1:3306/stock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | url: jdbc:mysql://127.0.0.1:6306/stock-rg?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | # url: jdbc:mysql://127.0.0.1:3306/cgstock?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8 |
| | | username: root |
| | | password: 4MTAJYFJX5as5Xsd |
| | | password: Err;2[eoGFUriwdgr |
| | | druid: |
| | | # 初始连接数 |
| | | initialSize: 5 |