-
Notifications
You must be signed in to change notification settings - Fork 0
/
mock_ordinarySet.go
36 lines (31 loc) · 1.21 KB
/
mock_ordinarySet.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
package mock
import (
"github.com/gin-gonic/gin"
"github.com/google/wire"
)
// OrdinarySet 注入Ordinary
var OrdinarySet = wire.NewSet(wire.Struct(new(Ordinary), "*"))
// Ordinary 普通克力金
type Ordinary struct {
}
// Query 查询插值生成的网格数据
// @Tags 普通克力金
// @Summary 查询插值生成的网格数据
// @Param body body schema.OrdinaryQueryGridParam true "请求参数"
// @Success 200 {object} schema.OrdinaryGridInfo "插值的网格数据"
// @Failure 400 {object} schema.ErrorResult "{error:{code:0,message:无效的请求参数}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/ordinary/grid [post]
func (a *Ordinary) Grid(c *gin.Context) {
}
// Get 查询插值生成的图片
// @Tags 普通克力金
// @Summary 查询插值生成图片
// @Produce png
// @Param body body schema.OrdinaryQueryGridPngParam true "请求参数"
// @Success 200 "文件图片"
// @Failure 400 {object} schema.ErrorResult "{error:{code:0,message:无效的请求参数}}"
// @Failure 500 {object} schema.ErrorResult "{error:{code:0,message:服务器错误}}"
// @Router /api/v1/ordinary/grid-png [post]
func (a *Ordinary) GridPng(c *gin.Context) {
}