This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
<?php
namespace app\base\controller\wechat\platform;
use app\BaseController;
use think\App;
use think\facade\Request;
class Base extends BaseController
{
protected $weixinConfig; //公众平台配置
/**
* 公众平台配置
* @date 2020-07-23
*/
public function __construct(App $app)
parent::__construct($app);
// 不基于JWT,uid为推送时链接自带传参
$uid = input('param.uid');
defined('UID') || define('UID', $uid);
$weixin_param = get_weixin_config();
$this->weixinConfig = $weixin_param;
}