This repository has been archived by the owner on Jun 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #16 from bypanghu/master
新增疫情信息查询
- Loading branch information
Showing
6 changed files
with
125 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package main | ||
package utils | ||
|
||
import ( | ||
"errors" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
package main | ||
package utils | ||
|
||
import "math/rand" | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
package yiqing | ||
|
||
type YiqingRes struct { | ||
Title string `json:"title"` | ||
Time string `json:"time"` | ||
IncrTime string `json:"incrTime"` | ||
logcation Logcation `json:"logcation"` | ||
Colums []Colums `json:"colums"` | ||
MainReport struct{ | ||
Id int `json:"id"` | ||
Area string `json:"area"` | ||
Report string `json:"report"` | ||
Dateline string `json:"dateline"` | ||
Date int64 `json:"date"` | ||
} `json:"mainReport"` | ||
ContryData struct{ | ||
SureCnt string `json:"sure_cnt"` | ||
SureNewCnt string `json:"sure_new_cnt"` | ||
RestSureCnt string `json:"rest_sure_cnt"` | ||
RestSureCntIncr string `json:"rest_sure_cnt_incr"` | ||
InputCnt string `json:"input_cnt"` | ||
HiddenCnt string `json:"hidden_cnt"` | ||
HiddenCntIncr string `json:"hidden_cnt_incr"` | ||
CureCnt string `json:"cure_cnt"` | ||
YstCureCnt string `json:"yst_cure_cnt"` | ||
YstDieCnt string `json:"yst_die_cnt"` | ||
YstLikeCnt string `json:"yst_like_cnt"` | ||
YstSureCnt string `json:"yst_sure_cnt"` | ||
YstSureHid string `json:"yst_sure_hid"` | ||
} | ||
} | ||
|
||
type Colums struct { | ||
Title string `json:"title"` | ||
List []List `json:"list"` | ||
} | ||
|
||
type List struct { | ||
Current int64 `json:"current"` | ||
Incr string `json:"incr"` | ||
} | ||
|
||
type Logcation struct{ | ||
Province string `json:"province"` | ||
City string `json:"city"` | ||
} |