

一、大数据页面数据跟统计页面数据不一致

/root/redis-2.8.17/src/redis-cli -p 8293 -a 5gwW1hWM7xAtFdKxxbeAhzDpW50MOdimAMMw keys "usersInfo:counts:realsAll:*" | xargs /root/redis-2.8.17/src/redis-cli -p 8293 -a 5gwW1hWM7xAtFdKxxbeAhzDpW50MOdimAMMw  del



二、crm redis-db同步访问地址 5.1版本后

https://test216.ciopaas.com:81/crm/customer/synchroCustomerRedisData  （当前登录主账号下用户）

https://test216.ciopaas.com:81/crm/customer/synchroCustomerRedisData?sysAll=yxl  （全部）




psql -U postgres postgres < /opt/lampp/xiaoa/trunk/database/status_counts_init.sql



9503启动 netstat -tulnp |grep 9503
/opt/lampp/bin/php /opt/lampp/xiaoa/xiaoa/artisan Seating:action start



//获取重名信息   m-all  所有用户
/opt/lampp/bin/php /opt/lampp/xiaoa/xiaoa/artisan command:MigrationData verifyname yxl,fine
//获取所有主账号重名信息
/opt/lampp/bin/php /opt/lampp/xiaoa/xiaoa/artisan command:MigrationData verifyname m-all

//迁移指定主账号数据，逗号分隔
/opt/lampp/bin/php /opt/lampp/xiaoa/xiaoa/artisan command:MigrationData migration yxl,fine

//迁移所有账号数据
/opt/lampp/bin/php /opt/lampp/xiaoa/xiaoa/artisan command:MigrationData migration m-all


迁移配置，目标数据库连接信息，.env文件添加配置项

DB_CONNECTION_migration=pgsql
DB_HOST_migration=120.78.227.216
DB_PORT_migration=5432
DB_DATABASE_migration=postgres
DB_USERNAME_migration=postgres
DB_PASSWORD_migration=9FbATWj2wxIX

HTTP_DOMAIN_migration=test216.ciopaas.com
HTTP_SERVER_migration=120.78.227.216