This website works better with JavaScript.
Home
Explore
Help
Sign In
huangjiajun
/
zyos_data_collect
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
更新蜜源数据采集
master
huangjiajun
10 months ago
parent
2d59d4c9c1
commit
f3473a95c2
1 changed files
with
2 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+2
-1
app/task/svc/svc_data_collect_cron_miyuan_real_news.go
+ 2
- 1
app/task/svc/svc_data_collect_cron_miyuan_real_news.go
View File
@@ -65,7 +65,8 @@ func DataCollectCronMiyuanRealNews(types int) {
}
func To(str, str1, str2 string) string {
tmp := strings.Split(str, str1)
if len(tmp) > 0 {
if len(tmp) > 1 {
tmp1 := strings.Split(tmp[1], str2)
if len(tmp1) > 0 {
return tmp1[0]
Write
Preview
Loading…
Cancel
Save