Documentation ¶
Index ¶
- Variables
- func CollectDisease(c *gin.Context)
- func CollectFood(c *gin.Context)
- func GetCollectDisease(c *gin.Context)
- func GetCollectFood(c *gin.Context)
- func GetUserInfo(c *gin.Context)
- func UpdateUserInfo(c *gin.Context)
- func UploadUserImage(c *gin.Context)
- func UserLogin(c *gin.Context)
- type CollectDiseaseRequest
- type CollectFoodRequest
- type UpdateUserInfoRequest
- type UserCollectDiseaseInfo
- type UserCollectFoodInfo
- type WechatLoginReponseBody
Constants ¶
This section is empty.
Variables ¶
View Source
var (
WechatUrl = "https://api.weixin.qq.com/sns/jscode2session?appid=%v&secret=%v&js_code=%v&grant_type=authorization_code"
)
Functions ¶
func CollectDisease ¶
func CollectFood ¶
func GetCollectDisease ¶
func GetCollectFood ¶
func UploadUserImage ¶
Types ¶
type CollectDiseaseRequest ¶
type CollectDiseaseRequest struct {
DiseaseID int `json:"disease_id"`
}
type CollectFoodRequest ¶
type UpdateUserInfoRequest ¶
type UserCollectDiseaseInfo ¶
type UserCollectFoodInfo ¶
Click to show internal directories.
Click to hide internal directories.