Browse Source

错误提示

kobe6258 5 days ago
parent
commit
812e9e0b3d
2 changed files with 1 additions and 2 deletions
  1. 0 1
      controllers/chart.go
  2. 1 1
      facade/instance/ht_mini_facade.go

+ 0 - 1
controllers/chart.go

@@ -35,7 +35,6 @@ func (this *ChartController) ChartInfoDetail() {
 		this.Data["json"] = br
 		this.ServeJSON()
 	}()
-
 	uniqueCode := this.GetString("UniqueCode")
 	token := this.GetString("Token")
 	source, _ := this.GetInt("Source")

+ 1 - 1
facade/instance/ht_mini_facade.go

@@ -62,7 +62,7 @@ func parseResult(resp string) (response HTResponse, err error) {
 	}
 	if !response.Success {
 		utils.FileLog.Error("收藏失败,应答结果:%d[%s]", response.ErrCode, response.ErrMsg)
-		err = errors.New(response.ErrMsg)
+		err = errors.New(response.Msg + response.ErrMsg)
 	}
 	return
 }