Browse Source

更新蜜源数据采集

master
huangjiajun 10 months ago
parent
commit
f3473a95c2
1 changed files with 2 additions and 1 deletions
  1. +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]


Loading…
Cancel
Save