记得上下班打卡 | git大法好,push需谨慎

Commit 33107bf5 authored by jiangxiulong's avatar jiangxiulong

prod platform才能正确的使用 redis 判断环境才算 db

parent f0c29780
......@@ -33,7 +33,7 @@ liquidnet:
redis:
queue:
database: 254
host: r-2zelzzxn2tq82o14g4.redis.rds.aliyuncs.com
host: r-2zelzzxn2tq82o14g4pd.redis.rds.aliyuncs.com
port: 6380
password: java:SfHY!Z3lW
kylin:
......
......@@ -6,7 +6,7 @@ liquidnet:
username: user
password: user123
eureka:
host: 172.17.207.189:7001
host: 127.0.0.1:7001
# end-prod-这里是配置信息基本值
spring:
......
# begin-test-这里是配置信息基本值
liquidnet:
cloudConfig:
profile: test
profile: prod
security:
username: user
password: user123
eureka:
host: 172.17.207.177:7001
host: 127.0.0.1:7001
# end-test-这里是配置信息基本值
spring:
......
......@@ -2,4 +2,4 @@ spring:
application:
name: liquidnet-service-platform
profiles:
active: dev
active: prod
......@@ -4,3 +4,8 @@ goblin_order.close.sku=UPDATE goblin_order_sku SET status = ? ,updated_at = ? WH
# ------------------------????----------------------------
kylin_camera_record.insert=INSERT INTO kylin_camera_record (camera_record_id, camera_id, person_num) VALUES (?,?,?)
adam_enters.edit=UPDATE adam_enters SET `type`=?, `name`=?, mobile=?, id_card=?, is_default=?, updated_at=? WHERE enters_id=?
......@@ -40,7 +40,9 @@ public class SweetMathUtil {
public static void main(String[] args) {
// 演出
getIndex("kylin:performances:id:3593259032328560647540949");
// getIndex("kylin:performances:id:3593259032328560647540949");
// getIndex("adam:info:enters:2028906701014466564961253");
getIndex("adam:info:certification:1450202200409261446");
// getIndex("kylin:performances:roadShowId:5936345");
// getIndex("kylin:performances:roadShowId:570");
......
......@@ -13,7 +13,7 @@ spring:
eureka:
instance:
hostname: 172.17.192.42
hostname: 127.0.0.1
preferIpAddress: true
health-check-url: http://localhost:${server.port}${server.servlet.context-path}/actuator/health
status-page-url: http://localhost:${server.port}${server.servlet.context-path}/actuator/info
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment