foodtextcheck

package
v0.0.0-...-905ac7b Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2024 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FoodTextCheckData

type FoodTextCheckData struct {
	/**
	 * 诊断结果
	 */
	Result string `json:"result"`
}

type FoodTextCheckRequest

type FoodTextCheckRequest struct {
	/**
	 * 需要诊断的内容(菜名或者菜品描述)
	 */
	Text string `json:"text"`
	/**
	 *  0:菜名诊断 1:菜品描述诊断
	 */
	Type string `json:"type"`
}

func (*FoodTextCheckRequest) DoInvoke

type FoodTextCheckResponse

type FoodTextCheckResponse struct {
	Code    string            `json:"code"`
	Msg     string            `json:"msg"`
	Data    FoodTextCheckData `json:"data"`
	TraceId string            `json:"traceId"`
}

func (*FoodTextCheckResponse) IsSuccess

func (response *FoodTextCheckResponse) IsSuccess() bool

Jump to

Keyboard shortcuts

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