Browse Source

调用图库项目查询平衡表

xyxie 10 tháng trước cách đây
mục cha
commit
2a82834de8
3 tập tin đã thay đổi với 4 bổ sung7 xóa
  1. 1 0
      config/config.go
  2. 1 0
      controller/chart/chart_info.go
  3. 2 7
      services/eta_chart_lib.go

+ 1 - 0
config/config.go

@@ -102,6 +102,7 @@ type Mongo struct {
 }
 
 type EtaChartLib struct {
+	ServerUrl string `mapstructure:"server_url" json:"server_url" yaml:"server_url" description:"项目请求地址"`
 	AppNameEn string `mapstructure:"app_name_en" json:"app_name_en" yaml:"app_name_en" description:"项目名称"`
 	Md5Key    string `mapstructure:"md5_key" json:"md5_key" yaml:"md5_key" description:"项目密钥"`
 }

+ 1 - 0
controller/chart/chart_info.go

@@ -99,6 +99,7 @@ func GetChartInfoDetail(c *gin.Context) {
 			return
 		}
 		chartInfo = chartDataResp.ChartInfo
+		chartInfo.ChartInfoId = chartInfoId
 		yDataList = chartDataResp.YDataList
 		edbList = chartDataResp.EdbInfoList
 		xEdbIdValue = chartDataResp.XEdbIdValue

Những thai đổi đã bị hủy bỏ vì nó quá lớn
+ 2 - 7
services/eta_chart_lib.go


Một số tệp đã không được hiển thị bởi vì quá nhiều tập tin thay đổi trong này khác