|
|
|
@ -26,6 +26,8 @@ class Controller extends \think\Controller |
|
|
|
*/ |
|
|
|
public function _initialize() |
|
|
|
{ |
|
|
|
header('Access-Control-Allow-Origin: http://192.168.66.220:8080'); |
|
|
|
header('Access-Control-Allow-Credentials: true'); |
|
|
|
// 当前小程序id |
|
|
|
// $this->wxapp_id = $this->getWxappId(); |
|
|
|
// // 验证当前小程序状态 |
|
|
|
|