server

package
v0.0.0-...-66c88e8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 15, 2019 License: MIT Imports: 5 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddDisease

func AddDisease(c *gin.Context)

func AddDiseaseFoodRec

func AddDiseaseFoodRec(c *gin.Context)

func AddFood

func AddFood(c *gin.Context)

func AddFoodKind

func AddFoodKind(c *gin.Context)

func AddQuestion

func AddQuestion(c *gin.Context)

func AddUser

func AddUser(c *gin.Context)

func CreateAllVoice

func CreateAllVoice(c *gin.Context)

更换所有音频

func UpdateDisease

func UpdateDisease(c *gin.Context)

func UpdateFood

func UpdateFood(c *gin.Context)

func UpdateFoodKind

func UpdateFoodKind(c *gin.Context)

func UpdateUser

func UpdateUser(c *gin.Context)

Types

type DiseaseFoodRecRequest

type DiseaseFoodRecRequest struct {
	DiseaseID int      `json:"disease_id"`
	FoodNames []string `json:"food_names"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL