1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-07-15 21:02:20 +08:00

!44 v1.2.1阶段性合并

* 优化开发登录逻辑
* Merge branches 'develop' and 'master' of https://gitee.com/koogua/cour…
* 优化开发登录,计划任务执行路径,周期
* !41 修复课程分类未过滤2
* !40 修复课程分类未过滤2
* !39 修复课程分类未过滤
* !38 修复课程分类未过滤
* Merge branch 'master' of https://gitee.com/koogua/course-tencent-cloud…
* !36 修复添加课程后进入列表500错误
* !35 修复腾讯云回调数据结构改变导致的错误
* !34 修复创建课时相关属性表数据未生成的问题 
* !23 修复添加课时后进入编辑页面500错误
This commit is contained in:
koogua 2020-12-09 19:31:42 +08:00
parent edf1074bec
commit 2927483017

View File

@ -117,7 +117,7 @@ class ConnectController extends Controller
$openUser = $service->getOpenUserInfo($code, $state, $provider); $openUser = $service->getOpenUserInfo($code, $state, $provider);
$connect = $service->getConnectRelation($openUser['id'], $openUser['provider']); $connect = $service->getConnectRelation($openUser['id'], $openUser['provider']);
if ($connect && $connect->deleted == 0) { if ($connect) {
if ($this->authUser->id > 0) { if ($this->authUser->id > 0) {
$service->bindUser($openUser); $service->bindUser($openUser);
return $this->response->redirect(['for' => 'home.uc.account']); return $this->response->redirect(['for' => 'home.uc.account']);