zwxi 10 months ago
parent
commit
8806cbb882
1 changed files with 1 additions and 1 deletions
  1. 1 1
      models/base_from_sh.go

+ 1 - 1
models/base_from_sh.go

@@ -294,7 +294,7 @@ type Position []struct {
 type SHMessage struct {
 	Position   Position `json:"o_cursor"`
 	Length     string   `json:"showlength"`
-	Code       int      `json:"o_code"`
+	Code       string   `json:"o_code"`
 	Msg        string   `json:"o_msg"`
 	ReportDate string   `json:"report_date"`
 	UpdateDate string   `json:"update_date"`