...
|
...
|
@@ -52,7 +52,11 @@ class Client extends Api |
|
|
$time=time();
|
|
|
$where["closetime"] = [">", $time];
|
|
|
$where["verification_store_id"] = ["=", $this->store_id];
|
|
|
$activity=Db::name('verification_activity')->where($where)->find();
|
|
|
$activity=Db::name('verification_activity')
|
|
|
->alias('a')
|
|
|
->join('verification_store b','a.verification_store_id=b.id')
|
|
|
->field('a.*,b.address,b.name,b.phone')
|
|
|
->where($where)->find();
|
|
|
$this->success('活动获取成功', $activity);
|
|
|
}
|
|
|
/**
|
...
|
...
|
|