作者 郭文星

'123123'

@@ -24,7 +24,7 @@ class Business extends Api @@ -24,7 +24,7 @@ class Business extends Api
24 $postParam = $this->request->param(); 24 $postParam = $this->request->param();
25 $this->postParam = $postParam; 25 $this->postParam = $postParam;
26 parent::_initialize(); 26 parent::_initialize();
27 - //$this->auth->id=3 ;//测试用 27 + $this->auth->id=3 ;//测试用
28 $postParam = $this->request->param(); 28 $postParam = $this->request->param();
29 $this->postParam = $postParam; 29 $this->postParam = $postParam;
30 if (empty($postParam['store_id'])) { 30 if (empty($postParam['store_id'])) {
@@ -11,7 +11,7 @@ use think\Exception; @@ -11,7 +11,7 @@ use think\Exception;
11 */ 11 */
12 class Client extends Api 12 class Client extends Api
13 { 13 {
14 - protected $noNeedLogin = ['getactivity','participate_activitie']; 14 + protected $noNeedLogin = ['*'];
15 protected $noNeedRight = ['*']; 15 protected $noNeedRight = ['*'];
16 protected $postParam; 16 protected $postParam;
17 protected $store_id; 17 protected $store_id;