ucenter整合登陆慢
用户登陆每次都要卡很长时间才能登陆,后来一行行代码查看,发现$ucsynlogin = uc_user_synlogin($uid);这一行代码特别慢,网上搜索uc_user_synlogin很慢,没什么结果,后来在网上有人说,把配置文件中的UC_API配置中的域名,直接用ip代替就会快些,尝试了下,果真好了
define('UC_API', 'http://192.168.193.102/ucenter');