切换导航条
此项目
正在载入...
登录
anyv
/
xkeasy
·
提交
转到一个项目
GitLab
转到仪表盘
项目
活动
文件
提交
管道
0
构建
0
图表
里程碑
问题
0
合并请求
0
成员
标记
维基
派生
网络
创建新的问题
下载为
邮件补丁
差异文件
浏览文件
作者
anyv
6 years ago
提交
b75c39f0054357236a1776205fe531c19b550ca5
1 个父辈
732aebc9
1 个管道 的构建
通过
耗费 21 秒
5
变更
2
构建
1
隐藏空白字符变更
内嵌
并排对比
正在显示
2 个修改的文件
包含
2 行增加
和
1 行删除
app/user/controller/IndexController.php
simplewind/cmf/controller/WeChatBaseController.php
app/user/controller/IndexController.php
查看文件 @
b75c39f
...
...
@@ -58,6 +58,7 @@ class IndexController extends HomeBaseController
* @param $appId
*/
protected
function
wechatUserLogin
(
$wechat_user
,
$findThirdPartyUser
,
$openid
,
$appId
){
dump
(
$wechat_user
);
$currentTime
=
time
();
$ip
=
$this
->
request
->
ip
(
0
,
true
);
$token
=
cmf_generate_user_token
(
$findThirdPartyUser
[
'user_id'
],
'public'
);
...
...
simplewind/cmf/controller/WeChatBaseController.php
查看文件 @
b75c39f
...
...
@@ -204,7 +204,7 @@ class WeChatBaseController extends BaseController
*/
public
function
checkWeChatUserLogin
()
{
/*$user = Db::name('user')->where('id',
6
)->find();
/*$user = Db::name('user')->where('id',
158
)->find();
cmf_update_current_user($user);*/
$userId
=
cmf_get_current_user_id
();
if
(
empty
(
$userId
))
{
...
...
请
注册
或
登录
后发表评论