Commit 3b3461f2 authored by hujun's avatar hujun

parent ddfd0261
...@@ -42,7 +42,7 @@ class CallPhoneService ...@@ -42,7 +42,7 @@ class CallPhoneService
public function __construct(string $city = '上海市') public function __construct(string $city = '上海市')
{ {
$this->city = $city; $this->city = substr($city,0,strpos($city, '市')); //去市
$this->redis = RedisExt::getRedis(); $this->redis = RedisExt::getRedis();
$this->is_privacy = $this->redis->get('s_is_privacy'); $this->is_privacy = $this->redis->get('s_is_privacy');
$this->day_num = $this->redis->get('s_day_num'); $this->day_num = $this->redis->get('s_day_num');
......
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