...
|
...
|
@@ -22,6 +22,8 @@ class Client extends Api |
|
|
$postParam = $this->request->param();
|
|
|
$this->postParam = $postParam;
|
|
|
|
|
|
$res=$this->request->header();
|
|
|
print_r($res);
|
|
|
parent::_initialize();
|
|
|
$this->auth->id ;//测试用
|
|
|
$postParam = $this->request->param();
|
...
|
...
|
@@ -36,7 +38,8 @@ class Client extends Api |
|
|
}
|
|
|
$this->store = $store;
|
|
|
if (empty($this->auth->id)) {
|
|
|
$this->error("暂无权限!");
|
|
|
print_r([$this->auth->id,$this->auth->getUserinfo()]);
|
|
|
return;
|
|
|
}
|
|
|
|
|
|
}
|
...
|
...
|
@@ -44,8 +47,7 @@ class Client extends Api |
|
|
* 1、获取活动
|
|
|
*/
|
|
|
public function getactivity(){
|
|
|
print_r($this->auth->id);
|
|
|
return;
|
|
|
|
|
|
//根据门店查询活动
|
|
|
$time=time();
|
|
|
$where["closetime"] = [">", $time];
|
...
|
...
|
|