正在显示
3 个修改的文件
包含
4 行增加
和
2 行删除
@@ -150,6 +150,7 @@ class Bind extends Api | @@ -150,6 +150,7 @@ class Bind extends Api | ||
150 | ->where('user_id', $user['id']) | 150 | ->where('user_id', $user['id']) |
151 | ->value('id'); | 151 | ->value('id'); |
152 | $data = \db('study_score_log l') | 152 | $data = \db('study_score_log l') |
153 | + ->distinct('campus_id') | ||
153 | ->join('campus c','c.id = l.campus_id') | 154 | ->join('campus c','c.id = l.campus_id') |
154 | ->where('study_id',$sid) | 155 | ->where('study_id',$sid) |
155 | ->field('campus_id,c.title as campus_title') | 156 | ->field('campus_id,c.title as campus_title') |
@@ -247,7 +247,8 @@ class User extends Api | @@ -247,7 +247,8 @@ class User extends Api | ||
247 | */ | 247 | */ |
248 | public function gettoken() | 248 | public function gettoken() |
249 | { | 249 | { |
250 | - $this->auth->direct(2); | 250 | + \app\common\library\Token::clear(11); |
251 | + $this->auth->direct(11); | ||
251 | $token = $this->auth->getToken(); | 252 | $token = $this->auth->getToken(); |
252 | return $token; | 253 | return $token; |
253 | } | 254 | } |
@@ -5754,7 +5754,7 @@ | @@ -5754,7 +5754,7 @@ | ||
5754 | 5754 | ||
5755 | </div> | 5755 | </div> |
5756 | <div class="col-md-6" align="right"> | 5756 | <div class="col-md-6" align="right"> |
5757 | - Generated on 2023-03-28 15:47:18 <a href="./" target="_blank">校园活动</a> | 5757 | + Generated on 2023-03-28 17:56:39 <a href="./" target="_blank">校园活动</a> |
5758 | </div> | 5758 | </div> |
5759 | </div> | 5759 | </div> |
5760 | 5760 |
-
请 注册 或 登录 后发表评论