Browse Source

no message

xingzai 3 năm trước cách đây
mục cha
commit
3ceb3fee97
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      services/chart.go

+ 1 - 1
services/chart.go

@@ -264,7 +264,7 @@ func AddCollectionChart(mobile string, chartId int) (err error) {
 	url := "https://vmp.hzinsights.com/v2api/charts/favorites"
 	method := "POST"
 	payload := strings.NewReader(`{
-    "chart_id":5120
+    "chart_id":` + strconv.Itoa(chartId) + `
 }`)
 	client := &nhttp.Client{}
 	req, err := nhttp.NewRequest(method, url, payload)