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