dianzan icon indicating copy to clipboard operation
dianzan copied to clipboard

php、mysql和redis实现的点赞功能

Results 2 dianzan issues
Sort by recently updated
recently updated
newest added

这里描述应该是`post_{$post_id}_counts`吧

$config = require ZAN_APP . 'config/config.php'; $this->logName = $config['log']; $mysqlConfig = $config['mysql']; $redisConfig = $config['redis']; $dbTable = $config['dbTable']; $this->mysqli = new Db($mysqlConfig); $this->post_set = $redisConfig['post_set'] ? $redisConfig['post_set'] : 'post_set'; $redis_port...