Initial project files: BESCMS full source
This commit is contained in:
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
/**
|
||||
* 微信会员登录插件
|
||||
*/
|
||||
|
||||
return [
|
||||
|
||||
'type' => 'url',
|
||||
'name' => '微信会员登录',
|
||||
|
||||
];
|
||||
@@ -0,0 +1,4 @@
|
||||
<?php
|
||||
/**
|
||||
* 后台配置控制器
|
||||
*/
|
||||
@@ -0,0 +1,8 @@
|
||||
<?php
|
||||
/**
|
||||
* 前端运行控制器
|
||||
*/
|
||||
|
||||
$url = 'https://open.weixin.qq.com/connect/oauth2/authorize?appid='.$this->weixin['account']['appid'].'&redirect_uri='.urlencode(ROOT_URL.'index.php?s=weixin&c=member').'&response_type=code&scope=snsapi_base&state=member#wechat_redirect';
|
||||
$txt = '小插件提醒:单击进入用户中心';
|
||||
$this->_to_weixin_text('<a href="'.$url.'">'.$txt.'</a>');
|
||||
Reference in New Issue
Block a user