Browse Source

同花顺请求方式修改-体验版也走接口

genlong 1 year ago
parent
commit
acd88a4e4a
1 changed files with 3 additions and 3 deletions
  1. 3 3
      services/base_from_ths.go

+ 3 - 3
services/base_from_ths.go

@@ -26,9 +26,9 @@ type EdbDataFromThsInterface struct {
 }
 
 func GetEdbDataFromThs(edbCode, startDate, endDate string) (item models.EdbDataFromThs, err error) {
-	if utils.BusinessCode == utils.HZ_TRIAL_BUSSINESS_CODE { // 体验版也走客户端
-		return getEdbDataFromThsApp(edbCode, startDate, endDate, 0)
-	}
+	//if utils.BusinessCode == utils.HZ_TRIAL_BUSSINESS_CODE { // 体验版也走客户端
+	//	return getEdbDataFromThsApp(edbCode, startDate, endDate, 0)
+	//}
 	if utils.RunMode == `release` { // 生产环境走官方http请求,测试环境走终端
 		return getEdbDataFromThsHttp(edbCode, startDate, endDate)
 	} else {