...
|
...
|
@@ -23,8 +23,7 @@ class Client extends Api |
|
|
$this->postParam = $postParam;
|
|
|
|
|
|
parent::_initialize();
|
|
|
print_r($this->auth->id);return;
|
|
|
$this->auth->id = 1;//测试用
|
|
|
$this->auth->id ;//测试用
|
|
|
$postParam = $this->request->param();
|
|
|
$this->postParam = $postParam;
|
|
|
if (empty($postParam['code'])) {
|
...
|
...
|
@@ -45,6 +44,8 @@ class Client extends Api |
|
|
* 1、获取活动
|
|
|
*/
|
|
|
public function getactivity(){
|
|
|
print_r($this->auth->id);
|
|
|
return;
|
|
|
//根据门店查询活动
|
|
|
$time=time();
|
|
|
$where["closetime"] = [">", $time];
|
...
|
...
|
|