You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

31 lines
602 B

This file contains ambiguous Unicode characters!

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);
// 不基于JWTuid为推送时链接自带传参
$uid = input('param.uid');
defined('UID') || define('UID', $uid);
$weixin_param = get_weixin_config();
$this->weixinConfig = $weixin_param;
}
}