feat: user & article: dev complete
This commit is contained in:
14
utils/models.go
Normal file
14
utils/models.go
Normal file
@@ -0,0 +1,14 @@
|
||||
package utils
|
||||
|
||||
type UtilRequestInfo struct {
|
||||
Url string
|
||||
Header string
|
||||
Body string
|
||||
Timeout int
|
||||
}
|
||||
|
||||
type GinResponse struct {
|
||||
Code int `json:"code"`
|
||||
Msg interface{} `json:"msg"`
|
||||
Data interface{} `json:"data"`
|
||||
}
|
||||
Reference in New Issue
Block a user