|
|
@ -12,10 +12,8 @@ class Wxserver extends BaseController |
|
|
|
{ |
|
|
|
{ |
|
|
|
public function index() |
|
|
|
public function index() |
|
|
|
{ |
|
|
|
{ |
|
|
|
$ext_json['extAppid'] = '123456'; |
|
|
|
$obj = new \app\common\library\wxserver\Server(); |
|
|
|
$ext_json['ext']['attr']['store_id'] = 1001; |
|
|
|
$data = $obj->getAllCategory('wxe3ed157849bd07b5'); |
|
|
|
$ext_json['window'] = []; |
|
|
|
|
|
|
|
$data['ext_json'] = $ext_json; |
|
|
|
|
|
|
|
return $this->renderSuccess($data); |
|
|
|
return $this->renderSuccess($data); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|