This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
AI开发
Register
Sign In
Gitlink
/
forgeplus
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
16
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
接入百度统计部分数据,按天存储,refresh_access_token
pull/345/head
xxq250
2 years ago
parent
fd62ffdee2
commit
3333e8c779
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
app/services/baidu/tongji_service.rb
+ 1
- 1
app/services/baidu/tongji_service.rb
View File
@@ -147,7 +147,7 @@ module Baidu
def access_token
access_token = Rails.cache.read("baidu_tongji_auth/access_token")
if access_token.blank?
if access_token.blank?
&& refresh_token.present?
refresh_access_token
access_token = Rails.cache.read("baidu_tongji_auth/access_token")
end
Write
Preview
Loading…
Cancel
Save